cant get the wanp to work
Posted by: yopser (---.bb.netvision.net.il)
Date: April 21, 2010 06:37PM

i have win 7 32bit and i install the wamp2.0i
now the problem is that the wamp is ONline and i can go to the index.php in the locolhost and see all the files i put there but when i enter a php file its like it is dont run the code.
like when i run this code:

<? echo("hello" ); ?>
its just show me a blank page.

and is i run a come whit some html in it, like:

<table bordr=1>
<th><? echo("hello" ) ;?></th>
</table>

i can see the table and all ok but still the php come dont work and i dont see the "hello"

its wird problem coz its like the wamp is on but not working..

any1 have any idea waht can be the problem?



Edited 2 time(s). Last edit at 04/21/2010 06:47PM by yopser.

Options: ReplyQuote
Re: cant get the wanp to work
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: April 21, 2010 06:58PM

Problem is by default short tags are disabled (tags such as <? ?> and <?= ?>winking smiley. To enable these left click wamp tray icon and choose PHP > Settings > short open tag.

Options: ReplyQuote
Re: cant get the wanp to work
Posted by: yopser (---.bb.netvision.net.il)
Date: April 21, 2010 07:58PM

lol y isnt that on -.-'' nvm ty,
and is there any more setting that i would like to turn on?

Options: ReplyQuote
Re: cant get the wanp to work
Posted by: yfastud (Moderator)
Date: April 22, 2010 12:21AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.