PHP Page Loading Problem
Posted by: starship (---.plus.com)
Date: October 29, 2006 08:13PM

I have recently installed Wamp on an XP Pro machine and have a problem when loading a php page.

I have copied my applications .php files to my www/myApplication directory, but when trying to open a .php file in my browser, the browser attempts to save the file - rather than it being processed.

Can anyone guide me as to why this should happen?

Options: ReplyQuote
Re: PHP Page Loading Problem
Posted by: yfastud (---.cable.mindspring.com)
Date: October 29, 2006 08:19PM

Did you save it in wamp/www/your_new_folder and open it like this?

[loclahost]

Options: ReplyQuote
Re: PHP Page Loading Problem
Posted by: starship (---.plus.com)
Date: October 29, 2006 08:43PM

Oh dear - I did indeed save to "wamp/www/your_new_folder". However, i navigated to and opened the file from windows explorer, so the path was wrong, e.g. file:///C:/wamp/www/your_new_folder/your_file.php

Works fine when done correctly. Thanks for your prompt reply.


Options: ReplyQuote
Re: PHP Page Loading Problem
Posted by: CyberSpatium (71.237.217.---)
Date: October 30, 2006 10:44PM

if your website files are in www\myApplication then to access them in your webbroser user:
[localhost]


CyberSpatium
WAMP English Forum Administrator

Options: ReplyQuote
Re: PHP Page Loading Problem
Posted by: maveric100 (---.dyn.embarqhsd.net)
Date: November 01, 2006 12:05AM

I am also having a problem I don't not see what was written in php. I get the code. Default install. No edits other that to allow others to see page in httpd.conf. maveric100.ath.cx
Any ideas?

Options: ReplyQuote
Re: PHP Page Loading Problem
Posted by: roms (65.91.54.---)
Date: November 01, 2006 12:07AM

do you use <? tags?

if yes, try using <?php instead (or activate the short_open_tags in php).



Romain

Options: ReplyQuote


Sorry, only registered users may post in this forum.