i just got easyphp working...and i tried to test this little script i found going through a tutorial, and it doesn't work.
here's the code:
test.htm
<html>
<head>
<title>My Form</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>
bad_words.php
<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>
and here's the output after i push the submit button on test.htm
Hi
Notice: Undefined variable: YourName in c:\documents and settings\administrator\my documents\www\bad_words.php on line 10
You like the word
Notice: Undefined variable: FavoriteWord in c:\documents and settings\administrator\my documents\www\bad_words.php on line 13
!?!
You oughta be ashamed of yourself!
i uploaded it to my webspace, and it worked fine, giving the right output that i want. is this a configuration problem??