Page 1 of 1

[SOLVED] Easy question for new programmer

Posted: Tue Feb 08, 2005 1:34 pm
by Perryl7
I am having trouble viewing a php website that I wrote. I am running windows
xp professional with service pack 2. I have IIS services installed and the
default web site is running. To get to the site I use the
//localhost/wrestling/handle.php. Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<body>

<b> Thank you for registering! </b>

<p />

<?php

print 'Test Done';

?>

</body>
</html>

Does anyone know why this is not working? Thanks for the help.

-Cam

Posted: Tue Feb 08, 2005 1:52 pm
by djot
-
Do you have php installed properly?
What is the output of the page?

djot
-

Posted: Tue Feb 08, 2005 1:57 pm
by Perryl7
PHP was installed properly before because I have run a page with a loop. That page no longer works either. The output for this particular page is just the "Thank you for registering"

-Cam

Posted: Tue Feb 08, 2005 2:57 pm
by Perryl7
Got it, thanks for the help. I had to reinstall PHP for some reason
-Cam