I am actually just using a websites tutorial to try my server. The address for the actual code I used is:
http://webmonkey.wired.com/webmonkey/01/48/index2a_page5.html?tw=programming
[http://localhost/~woz/test/badwords_form.html] - is the form page.
[<html>
<head>
<title>Perv</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>
Hi <?php print $YourName; ?>
<p>
You like the word <b> <?php print $FavoriteWord; ?> !?! </b>
<p>You oughta be ashamed of yourself!
</body>
</html>]
[http://localhost/~woz/test/bad_words.php] - is the respose page.
[<html>
<head>
<title>Words</title>
</head>
<body>
_<form action="bad_words.php" method=post>
My name is:
<br> <input type="text" name="YourName">
<p> My favorite dirty word is:
<br><input type="text" name="FavoriteWord">
<p>
<input type="submit" name="submit" value="Enter My Data!">
</form>
</body>
</html> ]
I also created a simple script:
[<?
$test = "hello";
print $test;
?>]
And I get the same results. Nothing prints on my localhost, but works on the ISPs machine. That's why I believe it's a setting on my computer.
Thanks,
Dmacman