On Sunday 29 June 2003 05:07 pm, Sparky Kopetzky wrote: > OK, I see that I have to use $_POST['user_name'] or can I just use the > variable passed back $user_name which would be a heck of a lot simpler??
If you have register_globals set to "on" in php.ini, then yes, you can use $user_name. Otherwise, no. Default is register_globals= Off for PHP >= 4.2.0 http://us2.php.net/register_globals RDB > Sparky > ----- Original Message ----- > From: "Jason Wong" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, June 29, 2003 14:56 > Subject: Re: [PHP] ARGHHH!!! POST variable problem > > > On Monday 30 June 2003 04:38, Sparky Kopetzky wrote: > > > I can click links and they work but when I enter data in a form and try > > to > > > > send it to the next php script to process the data, nothing happens. Is > > > there a simple way I can see what is returning from the browser to see > > if > > > > what I expect is actually getting there?? I think > > $_SERVER['QUERY_STRING'] > > > > should do it but I get nothing with that one... > > > > Stick in phpinfo() at the top of your script. > > > > -- > > Jason Wong -> Gremlins Associates -> www.gremlins.biz > > Open Source Software Systems Integrators > > * Web Design & Hosting * Internet & Intranet Applications Development * > > ------------------------------------------ > > Search the list archives before you post > > http://marc.theaimsgroup.com/?l=php-general > > ------------------------------------------ > > /* > > A real person has two reasons for doing anything ... a good reason and > > the real reason. > > */ > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. ------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php