Doug,
I would suggest doing a post insted of a get for your form method.
then in the second script you can access the variables passed by using $HTTP_POST_VARS and assigning it to a new variable in the current script.
example:
$variable = $HTTP_POST_VARS['variablename'];
hope this helps,
Jake
Doug wrote:
hey there, well I've got PHP up and running on my computer. when I perform
some simple code like :
<?php
echo $HTTP_USER_AGENT;
?>
everything works fine.
But as soon as i try to get data from the client, ie: using a 'FORM', and
a "response" page. i can't get that info to 'echo'.
in my html page, I have
<head></head>
<body>
<FORM METHOD="get" ACTION="testing.php">
who is your favorite author?
<INPUT NAME="author" TYPE="Text">
<INPUT TYPE="Submit">
</FORM>
</body>
and in my 'testing.php' page, I have
<head></head>
<body>
your favorite author is:
<?php
echo $author;
?>
</body>
but it won't show the variable $author !!!
I tried both 'post' and 'get'
anyone help, please!!
thanks in advance!
Doug