Posted by JDS on 07/19/05 18:41
On Tue, 19 Jul 2005 17:31:28 +0200, Josef Blösl wrote:
> hi,
>
> how must i declare a variable in php to get access from another php file
> who is later called?
One of several ways
1) Pass the variable value along from page to page in the URL or via an
http POST form
2) use SESSIONS
3) use COOKIES
4) include() the file inside another file and most gloabl variables are
maintained within the scope of the included file
5) possibly other ways.
Now, what are you trying to do?
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
[Back to original message]
|