Jake McHenry <mailto:[EMAIL PROTECTED]>
    on Tuesday, October 14, 2003 7:00 PM said:

> Mainly what my problem is, is that when I turn Register_Globals = Off,
> then my scripts stop working. I can't even get past the page I showed
> you, the login page. No errors, it's just like I didn't enter any
> data.

Doesn't that just mean that instead of retrieving form variables by
their name you need to grab them from $_POST or $_GET?

Here is an example of what you should be doing to retrieve the values
sent from a form:

<form method="post" action="nextpage.php">
 <input type="text" name="name"/>
 <input type="submit" value="Submit"/>
</form>

nextpage.php:

<?php

        $name = $_POST['name'];

?>



HTH,
Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to