Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread Unknown Unknown
Thank you, my login script started to work and i'l find some functions to clean data properly

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread John Nichel
> On Saturday 26 November 2005 02:45, John Nichel wrote: >> If you have a form like this one one page... >> >> >> >> >> >> > [snip] > > Dear John > > Please go all the way when providing an example. To prevent errors and > unpredictable behaviour, ALWAYS add encoding to the form tag. > > nam

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread Andy Pieters
On Saturday 26 November 2005 02:45, John Nichel wrote: > If you have a form like this one one page... > > > > > > [snip] Dear John Please go all the way when providing an example. To prevent errors and unpredictable behaviour, ALWAYS add encoding to the form tag. Systematically adding na

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Matt Monaco
Well, I turned them off and it worked as it apparently should. It was just a setting I read I had to make for globals to work the first time I install PHP. I've made that change ever since. I've always wondered why these variables - which I consider really important, need to be turned on. Mat

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread John Nichel
Matt Monaco wrote: I apologize, but I've never been able to access $_POST and $_GET in any context whatsoever without first turning on the register globals. If you have a form like this one one page... And this on page2.php... And the output on page2.php is not 'bar' when you submit th

Re[2]: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Richard Davey
Hi Matt, Saturday, November 26, 2005, 12:42:16 AM, you wrote: > I apologize, but I've never been able to access $_POST and $_GET in > any context whatsoever without first turning on the register > globals. You have a seriously foobared installation of PHP then! :) Cheers, Rich -- Zend Certifi

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Matt Monaco
I apologize, but I've never been able to access $_POST and $_GET in any context whatsoever without first turning on the register globals. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Matt Monaco wrote: >> Somewhat, but its what you need to do for the post and get

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread John Nichel
Matt Monaco wrote: Somewhat, but its what you need to do for the post and get arrays to work. No. Things like $_POST and $_GET are global arrays and work regardless of the register_globals setting. The information you're handing out above is wrong and dangerous. What you need to do is m

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
I used SQLyog and it's formated corectly though when i release it i will do that Also i have a login script, same same problem i'l see what will work On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote: > > Somewhat, but its what you need to do for the post and get arrays to work. > What you need t

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread adriano ghezzi
could you give us all source lines, just cut and paste ? hy ag. 2005/11/26, Matt Monaco <[EMAIL PROTECTED]>: > Somewhat, but its what you need to do for the post and get arrays to work. > What you need to do is make sure check the values in the global variables > before you use them. For exampl

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Matt Monaco
Somewhat, but its what you need to do for the post and get arrays to work. What you need to do is make sure check the values in the global variables before you use them. For example if on one page you have a form for a user signup and on the next page $_POST['userName'] should be checked for

Re: Re[2]: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
Wow somehow I fixed the error, I don't really know how... oh well

Re[2]: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Richard Davey
Hi, Friday, November 25, 2005, 10:43:20 PM, you wrote: > Doesn't that cause security problems? Yes. Post your *whole* code, not just snippets of it. Cheers, Rich -- Zend Certified Engineer PHP Development Services http://www.corephp.co.uk -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
Doesn't that cause security problems? On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote: > > In php.ini (most likely located in your windows directory) look for the > globals section and turn register_globals = on > > Matt > > > "Unknown Unknown" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL

[PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Matt Monaco
In php.ini (most likely located in your windows directory) look for the globals section and turn register_globals = on Matt "Unknown Unknown" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and $_POST arrays do not