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 example if on one page you have a form for a user
> signup and <input type=text name='userName'> on the next page
> $_POST['userName'] should be checked for things like quotes and other
> characters that will alter your SQL statement before you actually INSERT
> that value into your table.
>
>
> "Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> 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 PROTECTED]
> > Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
> > $_POST arrays do not seem to be working, I am Sure I am spelling them
> > right,
> > but i keep getting the errors:
> > **
> > *Notice*: Undefined index: Username in *
> > D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *3*
> >
> > *Notice*: Undefined index: Password in *
> > D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *4*
> >
> > *Notice*: Undefined index: EMail in *
> > D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *5*
> >
> > Is this a problem with configuration or is there a bug in PHP, thanks in
> > advance
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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

Reply via email to