PHP not working on _my computerS
Posted by: janHolland (---.cable.casema.nl)
Date: April 17, 2010 10:52AM

index.php and
the [index2.php] copied below
do not let the php-function start (ie the <? ?>winking smiley
on the two computers in my house but
they do work with my programmer!

Anyone any idea what can be the cause?

<html><head>
<title>title</title>
</head>
<body>
all errors should be published
with [PHP]
<?PHP
echo "Hello World!";

?>
</body>
</html>
]

(de)activating the error-functions in Apache is dead also ..:-(
]

Re: PHP not working on _my computerS
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: April 17, 2010 11:55AM

Make sure wamp is running and you're save all your .php files in WAMPs www folder (eg C:/wamp/www). When running your php scripts you need to open your browser and go to [localhost]

Opening php files directly into your web browser will not work as web browsers do not understand PHP code.

Sorry, only registered users may post in this forum.