Connecting Tech Pros Worldwide Forums | Help | Site Map

problems getting my code running in Explorer 6.

leke
Guest
 
Posts: n/a
#1: Jul 17 '05
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?

Tim Van Wassenhove
Guest
 
Posts: n/a
#2: Jul 17 '05

re: problems getting my code running in Explorer 6.


In article <87728764.0409100535.5002c30d@posting.google.com >, leke wrote:[color=blue]
> 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?[/color]

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>
nice.guy.nige
Guest
 
Posts: n/a
#3: Jul 17 '05

re: problems getting my code running in Explorer 6.


While the city slept, leke (leke@merseymail.com) feverishly typed...
[color=blue]
> Hi, I am trying to learn PHP but am having some problems getting my
> code running in Explorer 6.[/color]
[...][color=blue]
>
> By the way I don't have the Internet at home[/color]

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! ;-)
[color=blue]
> or a server installed,
> is this the problem?[/color]

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. nigel@DOG.nigenet.org.uk, take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!


filesiteguy
Guest
 
Posts: n/a
#4: Jul 17 '05

re: problems getting my code running in Explorer 6.


leke scratched out in the sand
[color=blue]
> 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?[/color]


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"
Default User
Guest
 
Posts: n/a
#5: Jul 17 '05

re: problems getting my code running in Explorer 6.


nice.guy.nige wrote:
[color=blue]
> While the city slept, leke (leke@merseymail.com) feverishly typed...[/color]
[color=blue][color=green]
> > or a server installed,
> > is this the problem?[/color]
>
> 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.[/color]


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

Pjotr Wedersteers
Guest
 
Posts: n/a
#6: Jul 17 '05

re: problems getting my code running in Explorer 6.


nice.guy.nige wrote:[color=blue]
> While the city slept, leke (leke@merseymail.com) feverishly typed...
>[color=green]
>> Hi, I am trying to learn PHP but am having some problems getting my
>> code running in Explorer 6.[/color]
> [...][color=green]
>>
>> By the way I don't have the Internet at home[/color]
>
> 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! ;-)
>[/color]
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


nice.guy.nige
Guest
 
Posts: n/a
#7: Jul 17 '05

re: problems getting my code running in Explorer 6.


While the city slept, Pjotr Wedersteers (x33159@westerterp.com) feverishly
typed...
[color=blue]
> nice.guy.nige wrote:[color=green]
>> While the city slept, leke (leke@merseymail.com) feverishly typed...[color=darkred]
>>> By the way I don't have the Internet at home[/color]
>>
>> 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! ;-)
>>[/color]
> 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.[/color]

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. nigel@DOG.nigenet.org.uk, take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!


leke
Guest
 
Posts: n/a
#8: Jul 17 '05

re: problems getting my code running in Explorer 6.


>[color=blue]
> What OS are you running? If you're running Linux or Mac you should have a
> webserver built in.
>[/color]
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.
Tony Marston
Guest
 
Posts: n/a
#9: Jul 17 '05

re: problems getting my code running in Explorer 6.


Don't waste your time with IIS, use Apache. Download it from
http://httpd.apache.org/

--
Tony Marston

http://www.tonymarston.net



"leke" <leke@merseymail.com> wrote in message
news:87728764.0409130016.17056747@posting.google.c om...[color=blue][color=green]
>>
>> What OS are you running? If you're running Linux or Mac you should have a
>> webserver built in.
>>[/color]
> 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.[/color]


Pjotr Wedersteers
Guest
 
Posts: n/a
#10: Jul 17 '05

re: problems getting my code running in Explorer 6.


nice.guy.nige wrote:[color=blue]
> While the city slept, Pjotr Wedersteers (x33159@westerterp.com)
> feverishly typed...
>[color=green]
>> nice.guy.nige wrote:[color=darkred]
>>> While the city slept, leke (leke@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! ;-)
>>>[/color]
>> 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.[/color]
>
> 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[/color]

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!


Closed Thread