Getting posted variable
| From: | Stéphane Tirard | Date: | Sun, 12 May 2002 22:21:54 +0000 |
| Subject: | Getting posted variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83949@lists.php.net to get a copy of this message | ||
Hello,
I would like to know how I can reach the posted variables , the one
included in the HTTP_POST_VARS array, outside the php page.
In fact I would like to do something like : MyPhpPbject
->getPostedVar();
The getPostedVars would be located in an included file.
instead of MyVar->var1 = HTTP_POST_VARS["field1"] and so on.
Thank you