I am at the point where I don't know if it's just me, or the PHP configuration. I can not get variables to pass between pages, for example:
This code:
I've been upgraded to version 2 and my request for PHP version 3 was denied. I know that this code should work sinse I have a working copy at my old host that I'm trying to leave (http://nexzign.com/phptest.php).
What is the problem I'n running into here????
This code:
<?
echo $EnteredText;
print "<form method=\"POST\" action=\"$PHP_SELF\">
<input type=\"text\" name=\"EnteredText\" size=\"20\">
<input type=\"submit\" value=\"Submit\">
</form>";
?>
is currently in a php file at http://scottyb.pcriot.com/phptest.php. When something is entered in the form field and submit is pressed the entered text is placed in the $EnteredText variable and printed above the form when the page reloads. Why does this not work on this host?echo $EnteredText;
print "<form method=\"POST\" action=\"$PHP_SELF\">
<input type=\"text\" name=\"EnteredText\" size=\"20\">
<input type=\"submit\" value=\"Submit\">
</form>";
?>
I've been upgraded to version 2 and my request for PHP version 3 was denied. I know that this code should work sinse I have a working copy at my old host that I'm trying to leave (http://nexzign.com/phptest.php).
What is the problem I'n running into here????