You are here: Problem running PHP on localhost « PHP Programming Language « IT news, forums, messages
Problem running PHP on localhost

Posted by Phil Preen on 06/12/07 20:51

I have installed Apache and PHP (and MySQL) on my own computer so that I can
test
out my scripts without having to keep uploading them to my ISP.
I have created a very simple php script (below) just to test out my set-up.
This works fine when I upload it to the server at my ISP (when I type
something
in the box, it is displayed back to me) but when I run it on my own system,
I get nothing. I can see the value in the querystring in the address bar of
my browser, but the $eek variable does not seem to be being set. Is there
something I need to enable in PHP or Apache to make this work?
TIA
Phil.

<HTML>
<BODY>
<?php
echo $eek;
?>
<FORM>
<INPUT name=eek>
</FORM>
</BODY>
</HTML>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация