We would have to see the script. You can use a little script like this to test:
<body>
<?php
if (!isset($username)) {
echo('<form action="formget.php" method="GET">');
echo(' Name: <input type="text" name="username"><br>');
echo(' Company: <input type="text" name="company">');
echo(' <input type="submit" value="Go!">');
echo('</form>');
} else {
$aVar = "<b>Hello ".$username."</b>...<br>";
echo($aVar);
echo("Your IP address is ".$REMOTE_ADDR."<br>");
echo("Today is ".date("F j, Y, g:i:s a")."<br>");
echo("Your company is ".$company."<br>");
}
?>
</body>
If you still have problems with PWS, try BadBlue at http://badblue.com - free small footprint web server for PHP. It can be downloaded and configured for PHP in a minute or two. See if that helps.
http://badblue.com/helpphps.htm is the PHP quick start page.
Let me know if you have any problems.