|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-10 17:31 UTC] bs_php at infeer dot com
[2002-01-10 17:35 UTC] derick@php.net
[2002-01-10 17:39 UTC] jan@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
session_register() doesnt seem to save anything in functions, eg. session_start(); function bob() { $var = "somethinghere"; session_register("var"); } bob(); echo session_encode(); the above only registers the var name, not the data in it. if it helps theres a way around it, all you gota do is make the $var global so instead of having $var have $GLOBALS['var'] and it works fine. might be little bug, but it stuffed me up 4 nights in a row. oh and the way i compiled php was just with apt-get install php4 in debian, (newbie here)