Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | PC World Online Healthcheck

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

php webpages i made do not open in internet explorer - help plz
Reply
 
Thread Tools
Old 28-07-2004, 19:23   #1
heyyo
Inactive
 
Join Date: Feb 2004
Posts: 382
heyyo is an unknown quantity at this point
php webpages i made do not open in internet explorer - help plz

I have made some webpage when i save them as html they open fine in i.e, but when i save them as .php, it doesnt open...

Does anyone know what the problem could be....it used to work a few months back....

i am using windows xp service pack 2 with latest i.e. build...
heyyo is offline   Reply With Quote
Advertisement
Old 28-07-2004, 19:31   #2
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: php webpages i made do not open in internet explorer - help plz

It displays the source code, correct?
You need to have a webserver with PHP to use .php pages.
If you are not using anything with <?php and ?> tags in them, just use .html files.
Richard M is offline   Reply With Quote
Old 28-07-2004, 19:45   #3
heyyo
Inactive
 
Join Date: Feb 2004
Posts: 382
heyyo is an unknown quantity at this point
Re: php webpages i made do not open in internet explorer - help plz

It works when i upload the files online, but if i want to preview the files from my computer, internet explorer doesnt open the files..unless i am mistaken and it shouldnt anyway.
heyyo is offline   Reply With Quote
Old 28-07-2004, 19:56   #4
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: php webpages i made do not open in internet explorer - help plz

Quote:
Originally Posted by heyyo
It works when i upload the files online, but if i want to preview the files from my computer, internet explorer doesnt open the files..unless i am mistaken and it shouldnt anyway.
Unless you have a web server and PHP running locally, it won't display them if you preview them locally.
Bifta is offline   Reply With Quote
Old 28-07-2004, 19:57   #5
Rough.D
Inactive
 
Rough.D's Avatar
 
Join Date: Nov 2003
Location: In the Dragons Lair Swindon Wilts
Posts: 573
Rough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful one
Re: php webpages i made do not open in internet explorer - help plz

Dam you beat me bifta
Rough.D is offline   Reply With Quote
Old 28-07-2004, 20:00   #6
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: php webpages i made do not open in internet explorer - help plz

Quote:
Originally Posted by Rough.D
Dam you beat me bifta
Heh, richard beat use both ...
Bifta is offline   Reply With Quote
Old 28-07-2004, 20:20   #7
Rough.D
Inactive
 
Rough.D's Avatar
 
Join Date: Nov 2003
Location: In the Dragons Lair Swindon Wilts
Posts: 573
Rough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful one
Re: php webpages i made do not open in internet explorer - help plz

Quote:
Heh, richard beat use both ...
True but you beat me by a minute on the webserver bit

Anyway I use Appserv for most of my local previews with .php and mysql

Appserv will install php, mysql and apache onto your machine.
Rough.D is offline   Reply With Quote
Old 29-07-2004, 16:07   #8
heyyo
Inactive
 
Join Date: Feb 2004
Posts: 382
heyyo is an unknown quantity at this point
Re: php webpages i made do not open in internet explorer - help plz

i have downloaded and installed appserv, and then i tried to preview locally a php file, the same problem occured. how do i set it up (appserv) so i can view files locally, thanks
heyyo is offline   Reply With Quote
Old 29-07-2004, 16:20   #9
poolking
Inactive
 
Join Date: Jun 2003
Location: Stafford
Age: 52
Services: Sky World 300k BB NTL Phone
Posts: 2,399
poolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant future
Send a message via AIM to poolking Send a message via MSN to poolking Send a message via Yahoo to poolking
Re: php webpages i made do not open in internet explorer - help plz

I wouldn't try to use PHP5 at the moment as it is still going through release candidate stages. Your best bet is PHP4.3.x, x being whatever the latest stable version of PHP is.
poolking is offline   Reply With Quote
Old 29-07-2004, 16:25   #10
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: php webpages i made do not open in internet explorer - help plz

Quote:
Originally Posted by heyyo
i have downloaded and installed appserv, and then i tried to preview locally a php file, the same problem occured. how do i set it up (appserv) so i can view files locally, thanks
You should have a www or htdocs or similar folder specified when you set it up, save the document in that folder then go to http://127.0.0.1/whatever.php
Bifta is offline   Reply With Quote
Old 29-07-2004, 16:32   #11
Rough.D
Inactive
 
Rough.D's Avatar
 
Join Date: Nov 2003
Location: In the Dragons Lair Swindon Wilts
Posts: 573
Rough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful oneRough.D is the helpful one
Re: php webpages i made do not open in internet explorer - help plz

Now you should have appserv in your program listing's

to start appserv
goto appserv / apache control server / start.

To view the files you will need to put them into the www folder as you would on your web space.

once you have done this in the ie addy type localhost/"name of file".php or htm

"name of file" = index.php or test.php without the quotes.

so if you typed in localhost/index.php
you will see the appserv info page.
hope this helps.
Rough.D is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum