note 38991 added to function.import-request-variables

From: Date: Wed, 14 Jan 2004 10:07:02 +0000
Subject: note 38991 added to function.import-request-variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-63497@lists.php.net to get a copy of this message
if you're stuck using a pre-4.10 version of php, this can do in a pinch (so you don't have to change all of your code) import_request_variables("gp", "foo_"); can be replaced with extract($HTTP_GET_VARS, EXTR_PREFIX_ALL, "foo"); extract($HTTP_POST_VARS, EXTR_PREFIX_ALL, "foo"); ---- Manual Page -- http://www.php.net/manual/en/function.import-request-variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38991 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38991&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38991&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63497) next »