PHP not working
Posted by: phpfreak (---.247.251.167.ahmedabad-dynamic-bb.vsnl.net.in)
Date: July 06, 2007 03:46PM

Hi

I have installed new WAMP and its not working. Its not echoing any values. Please any one can help me on this ASAP.



Hemal Jivani
Web Developer
hemal.jivani@gmail.com

Options: ReplyQuote
Re: PHP not working
Posted by: 0ff (---.fbx.proxad.net)
Date: July 06, 2007 11:17PM

copy paste the beginning of your code

do you use <?php or <?

Options: ReplyQuote
Re: PHP not working
Posted by: yfastud (---.mia.bellsouth.net)
Date: July 06, 2007 11:48PM

By default, short_open_tag in php.ini is off, and you MUST restart your wamp if you switch it to on in order to use <? instead <?php. Also, you MUST access your php/html files through your document_root which by default is c:/wamp/www, so if you save your_file.php in c:/wamp/www/your_folder, then access it as follows:

[localhost]

Have fun,

[www.jlbn.net]




Post Edited (07-07-07 06:49)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.