Can't pass variables with HTTP_POST_VARS

Dan Healy dfhealy at gmail.com
Tue Sep 21 02:24:42 BST 2010


$_POST did it.  Now I have to find them all and make the change.  That I can
do.

Thank you very much.

Dan H.

On Mon, Sep 20, 2010 at 4:53 PM, Stuart Stegall <keltor at keltor.org> wrote:

> Use $_POST instead.  http://php.net/manual/en/reserved.variables.post.php
>
> $HTTP_POST_VARS was deprecated in PHP 4.1.  Also you'll probably want
> to wrap it in htmlspecialchars() or something your roll yourself, to
> make sure they don't do something like "); drop db users; as their
> entry.
>
> On Mon, Sep 20, 2010 at 4:38 PM, Dan Healy <dfhealy at gmail.com> wrote:
> >
> > I have just updated to Ubuntu 10.04 from Ubuntu 8.04 and am trying to run
> my
> > web applications.  Passing input parameters from a form using
> HTTP_POST_VARS
> > doesn't seem to be working.  My forms and php code has not changed.  Any
> > ideas on how I might run down that problem?  Is there something I have to
> > install that did not get installed with the upgrade?
> >
> > I have run apt-get update and apt-get upgrade.  That did not seem to
> help.
> >
> > Dan H
> >
> > --
> > Ubuntu-us-tx mailing list
> > Ubuntu-us-tx at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-tx
> >
> >
>
> --
> Ubuntu-us-tx mailing list
> Ubuntu-us-tx at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-tx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-tx/attachments/20100920/2ff13e32/attachment.htm 


More information about the Ubuntu-us-tx mailing list