note 8890 added to Session handling functions

From: Date: Wed, 04 Oct 2000 13:11:21 +0000
Subject: note 8890 added to Session handling functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-6007@lists.php.net to get a copy of this message
session handling is really cool. but sometimes , you may need to override the session registered variables with some post or get vars. there is a directive in php.ini (gpc_order) that should do that , but it doesn't for me so i wrote that : (isset($HTTP_POST_VARS))?$postget=$HTTP_POST_VARS:$postget=$HTTP_GET_VARS; while (list($key,$val)=each($postget)){ $$key=$val; } that could be useful.. http://www.php.net/manual/ref.session.php

« previous php.notes (#6007) next »