WampServer2.0i dont work PHP
Posted by: wolfox (---.Red-83-37-10.dynamicIP.rima-tde.net)
Date: September 03, 2009 04:24PM

Hi.
I have wamp installation in my computer, I have WinXP SP3 and firefox
I have created a index.php file in "C:/wmap/www/" and not running wamp php code. Just run the HTML code

Why?

Options: ReplyQuote
Re: WampServer2.0i dont work PHP
Posted by: toumimi (---.68.113-78.rev.gaoland.net)
Date: September 03, 2009 06:04PM

You should use full php tags : <?php ?> instead of <? ?>.
Then you should load it from 'http://localhost/', and you should not add files directly under www.
Create a folder and create an index.php file in it to don't override wamp index.php file.

Then your folder (project) will appear on wamp homepage 'http://localhost/'.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: WampServer2.0i dont work PHP
Posted by: yfastud (Moderator)
Date: September 04, 2009 12:28AM


Options: ReplyQuote
Re: WampServer2.0i dont work PHP
Posted by: manoj (117.201.96.---)
Date: September 04, 2009 09:42AM

Hi.
I have wamp installation in my computer, I have WinXP SP3 and firefox
I have created a index.php file in "C:/wmap/www/" and not running wamp php code. Just run the HTML code

Why?

Options: ReplyQuote
Re: WampServer2.0i dont work PHP
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: September 04, 2009 06:43PM

All php code must be saved in .php files not .html files.

Never open your .php files directly within a web browser. It wont understand the php code. You must go to [localhost]

Options: ReplyQuote


Sorry, only registered users may post in this forum.