[SOLVED] Easy question for new programmer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Perryl7
Forum Newbie
Posts: 11
Joined: Tue Feb 08, 2005 1:32 pm

[SOLVED] Easy question for new programmer

Post 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
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post by djot »

-
Do you have php installed properly?
What is the output of the page?

djot
-
Perryl7
Forum Newbie
Posts: 11
Joined: Tue Feb 08, 2005 1:32 pm

Post 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
Perryl7
Forum Newbie
Posts: 11
Joined: Tue Feb 08, 2005 1:32 pm

Post by Perryl7 »

Got it, thanks for the help. I had to reinstall PHP for some reason
-Cam
Post Reply