> -----Original Message-----
> From: Chris W. Parker [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 12:01 PM
> To: Jake McHenry; [EMAIL PROTECTED]
> Subject: RE: [PHP] Sessions Question
> 
> 
> 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
> 
> 

Do I need to add the start_session() function to my config.php and
time.php? Do I need to change any variables in those files?

Thanks,


Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

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

Reply via email to