473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

problems getting my code running in Explorer 6.

Hi, I am trying to learn PHP but am having some problems getting my code
running in Explorer 6.

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

outputs a blank page. So I done the 'associate .php file extension with the
PHP script interpreter' and now it runs the script in the interpreter.

By the way I don't have the Internet at home or a server installed, is this
the problem?
Jul 17 '05 #1
9 2030
In article <87**************************@posting.google.com >, leke wrote:
Hi, I am trying to learn PHP but am having some problems getting my code
running in Explorer 6.

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

outputs a blank page. So I done the 'associate .php file extension with the
PHP script interpreter' and now it runs the script in the interpreter.

By the way I don't have the Internet at home or a server installed, is this
the problem?


I don't see a problem?

If you want to be able to browse to your pages/scripts you'll have to
install a webserver. Can find a free one at http://httpd.apache.org.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
Jul 17 '05 #2
While the city slept, leke (le**@merseymail.com) feverishly typed...
Hi, I am trying to learn PHP but am having some problems getting my
code running in Explorer 6. [...]
By the way I don't have the Internet at home
No, you won't have. It's at my house at the moment. Pop round sometime and
borrow it if you want. Just be sure to bring it back though! ;-)
or a server installed,
is this the problem?


Yup! You need to install a server on your PC (eg. Apache), download and
install PHP from http://www.php.net, and then it should work. Just remember
that you can't just open "C:\My websites\phptestpage.php" like you could do
with an ordinary html page, it must be opened through the server, so
something like http://localhost/phptestpage.php... If you have any probs
with the installation, there is extensive documentation at the php website.
If that fails you, I'm sure someone here will guide you through! :-)

You can save all this hassle by getting on the internet at home and then
ftp'ing your pages to some php-enabled web space if it is at all possible.

Cheers,
Nige

--
Nigel Moss
http://www.nigenet.org.uk
Mail address not valid. ni***@DOG.nigenet.org.uk, take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!
Jul 17 '05 #3
leke scratched out in the sand
Hi, I am trying to learn PHP but am having some problems getting my code
running in Explorer 6.

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

outputs a blank page. So I done the 'associate .php file extension with
the PHP script interpreter' and now it runs the script in the interpreter.

By the way I don't have the Internet at home or a server installed, is
this the problem?

What OS are you running? If you're running Linux or Mac you should have a
webserver built in.

If you're running some flavor of windows, then go grab either IIS (for
NT/2K/XP) or Apache (for all) web server and install. Then you need to
configure said web server to parse PHP files. There's loads of tutorials
out there on how to do this, just use my friend, Google.
--
kai - kai at 3gproductions dot com
www.gamephreakz.com || www.filesite.org
"friends don't let friends use windows xp"
Jul 17 '05 #4
nice.guy.nige wrote:
While the city slept, leke (le**@merseymail.com) feverishly typed...

or a server installed,
is this the problem?


Yup! You need to install a server on your PC (eg. Apache), download
and install PHP from http://www.php.net, and then it should work.

I used the all-in-one package of PHP/Apache/MySQL from EasyPHP. Setup
wasn't too bad. You have to load an English overlay for some of the
menus and stuff, I think one of them is still in French.

Brian

Jul 17 '05 #5
nice.guy.nige wrote:
While the city slept, leke (le**@merseymail.com) feverishly typed...
Hi, I am trying to learn PHP but am having some problems getting my
code running in Explorer 6.

[...]

By the way I don't have the Internet at home


No, you won't have. It's at my house at the moment. Pop round
sometime and borrow it if you want. Just be sure to bring it back
though! ;-)

Nige, I urgently need the Internet tomorrow, can you send it over for a day
or two ? I'll cover the postage fee of course.
THANX!
Pjotr
Jul 17 '05 #6
While the city slept, Pjotr Wedersteers (x3****@westerterp.com) feverishly
typed...
nice.guy.nige wrote:
While the city slept, leke (le**@merseymail.com) feverishly typed...
By the way I don't have the Internet at home


No, you won't have. It's at my house at the moment. Pop round
sometime and borrow it if you want. Just be sure to bring it back
though! ;-)

Nige, I urgently need the Internet tomorrow, can you send it over for
a day or two ? I'll cover the postage fee of course.


Even better, I'll fax it too you! Just make sure you've got a fresh roll of
paper in the fax machine - it's quite big! ;-)

Cheers,
Nige

--
Nigel Moss
http://www.nigenet.org.uk
Mail address not valid. ni***@DOG.nigenet.org.uk, take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!
Jul 17 '05 #7
>
What OS are you running? If you're running Linux or Mac you should have a
webserver built in.

I am running XP. Didn't know it had a built in web server. I will try
and get it running.
I remember trying to install Apache from a comp mag cd but it required
something else to install itself on XP (Can't remember what).
Will get back to you if I have any problems.
Jul 17 '05 #8
Don't waste your time with IIS, use Apache. Download it from
http://httpd.apache.org/

--
Tony Marston

http://www.tonymarston.net

"leke" <le**@merseymail.com> wrote in message
news:87**************************@posting.google.c om...

What OS are you running? If you're running Linux or Mac you should have a
webserver built in.

I am running XP. Didn't know it had a built in web server. I will try
and get it running.
I remember trying to install Apache from a comp mag cd but it required
something else to install itself on XP (Can't remember what).
Will get back to you if I have any problems.

Jul 17 '05 #9
nice.guy.nige wrote:
While the city slept, Pjotr Wedersteers (x3****@westerterp.com)
feverishly typed...
nice.guy.nige wrote:
While the city slept, leke (le**@merseymail.com) feverishly typed...
By the way I don't have the Internet at home

No, you won't have. It's at my house at the moment. Pop round
sometime and borrow it if you want. Just be sure to bring it back
though! ;-)

Nige, I urgently need the Internet tomorrow, can you send it over for
a day or two ? I'll cover the postage fee of course.


Even better, I'll fax it too you! Just make sure you've got a fresh
roll of paper in the fax machine - it's quite big! ;-)

Cheers,
Nige


If you really want to have fun, try faxing someone a copy of a necktie. Then
call them and yell : help, I'm stuck in the faxmachine!
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Grant | last post by:
Ok I have XP Pro and recently upgraded to SP2 but after doing so one of my favorite webpages to check daily does not respond the same as before. It used to be (pre SP2) that I could when visiting...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
3
by: Martin | last post by:
Hi I am attempting to write a small application that will allow users to manage the AddressBar entries within Internet Explorer. The typed URLs in the AddressBar can be found at...
5
by: tshad | last post by:
I am trying to access my log files and am running into a permissions problem. I am doing the following: ****************************************************************** private void...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
4
by: Chris | last post by:
This is a bit of an IIS question but I am not sure if this is related to my installation of VS Pro. I usually use Visual Studio 2005, which has it's own built in web server. I want to start...
0
by: kjit | last post by:
I have a Web Based Application running on Windows 2003 with Oracle 9.0 Database & Visual Basic at the back-end and ASP in the front end. Internet Explorer on the Server is 6.0 version. Some of the...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
I am using VS2003 to create a C# dll that uses shell namespace extensions. I need to debug my code but it is running in the explorer.exe process and when I open my namespace extension from My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.