note 17530 added to function.import-request-variables
| From: | jfl at sharksforum dot com | Date: | Thu, 13 Dec 2001 00:26:45 +0000 |
| Subject: | note 17530 added to function.import-request-variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22564@lists.php.net to get a copy of this message | ||
I tried the above but it didn't work outside my functions, so I did this :
import_request_variables("p", "o_");
// should do the same as the one above
while (list($key, $val) = each($_POST)) {
if (substr($key, 0, 2) == "o_") {
$$key = $val;
}
}
--
http://www.php.net/manual/en/function.import-request-variables.php
http://master.php.net/manage/user-notes.php?action=edit+17530
http://master.php.net/manage/user-notes.php?action=delete+17530
http://master.php.net/manage/user-notes.php?action=reject+17530