note 29750 added to function.header

From: Date: Mon, 24 Feb 2003 08:09:37 +0000
Subject: note 29750 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-44419@lists.php.net to get a copy of this message
Help!!! There must be a very simple secret to use redirects or pass global variables from file.php to file.php. This would seem to be a basic thing to do? But how? The header feature does not work to do a redirect. Setting a cookie gets a similar error? Warning: Cannot modify header information - headers already sent by (output started at C:\BSOL\Info Vending\Vendor Sft\PHP Tools\BPM_TOOL_MENU.php:2) in C:\BSOL\Info Vending\Vendor Sft\PHP Tools\BPM_TOOL_MENU.php on line 3 I am trying to pass a passwd around from file to file without having to declare it in each file ... Is there not some global function .... this globals only seems to work inside of a single file.php Help -- http://www.php.net/manual/en/function.header.php http://master.php.net/manage/user-notes.php?action=edit+29750 http://master.php.net/manage/user-notes.php?action=delete+29750 http://master.php.net/manage/user-notes.php?action=reject+29750

« previous php.notes (#44419) next »