iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2006, 05:17 PM
WebProWorld New Member
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 14
randomness0 RepRank 0
Default Internet Explorer Question - opening .php files for editing.

Not sure if this is the most suitable forum for asking this question but I will anyway.

I have just bought a new pc and am trying to modify my web pages. It was straightforward on my old pc - just click on the relevant .php file on the hard disk, the Internet Explorer browers would open and I would just go to View - Source to edit the page.

On the new PC when I go to open the file from the hard disk - nothing. I have registered .php files to be open with internet explorer There is a slight pause but the file doesn't open up. I looked in the help, searched online but am feeling really dumb.

All I can think of is there is some kind of compatibility issue - .html files open ok. If I open the .php with notepad then the code is there but I just can't view the webpage.

The old pc was Windows 2000 and the new one runs XP. Both are using Internet Explorer 6.0 (the old one with update SP1, the new one with SP2).

Any help would be gratefully appreciated.

Regards
Richard
Reply With Quote
  #2 (permalink)  
Old 06-20-2006, 03:38 PM
stymiee's Avatar
WebProWorld Veteran
 
Join Date: May 2006
Location: New Jersey
Posts: 429
stymiee RepRank 0
Default

PHP files cannot be opened by browsers because they can only display HTML. You need to have the PHP page served up by a web server so it can parse the PHP and generate the HTML if you wish to view it in a web browser.
__________________
John Conde
Brainyminds Merchant Account Services eBook Giant
Reply With Quote
  #3 (permalink)  
Old 06-20-2006, 06:56 PM
Jabber_uk's Avatar
WebProWorld Pro
 
Join Date: Jun 2004
Location: Plymouth UK
Posts: 206
Jabber_uk RepRank 0
Default

Agreed, you could install a web server on your machine.
__________________
Jabbs
"The More I Know, The Less I Seem To Know!"
Anything IT & Support Forums
Reply With Quote
  #4 (permalink)  
Old 06-20-2006, 07:06 PM
WebProWorld New Member
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 14
randomness0 RepRank 0
Default

Thanks for the replies - not sure I understand them but fixed the problem I was having by adjusting one of the security check boxes in the Advanced section of I.E options. Can now open and view the .php files as before.

Cheers
Richard

btw Jabber - how's Plymouth these days(my home town!)
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:52 AM.



Search Engine Optimization by vBSEO 3.3.0