Hello,
Is there any way I can creat my very own super global variables?
- Sid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 17:07 24.02.2003, Siddharth Hegde spoke out and said:
[snip]
Hello,
Is there any way I can creat my very own super global variables?
[snip]
No. If you have scalar variables you may define() them, but define()
Is there any way I can creat my very own super global variables?
You can assign values directly to $_POST, $_COOKIE, etc arrays and reference
them wherever you want later. It's just for the duration of the script,
though.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
On Tuesday 25 February 2003 00:07, Siddharth Hegde wrote:
Is there any way I can creat my very own super global variables?
All variables defined in the global scope can be accessed via $GLOBALS.
So:
$my_very_own_variable = 'whatnot';
can be accessed anywhere as:
At 17:54 24.02.2003, Jason Wong spoke out and said:
[snip]
On Tuesday 25 February 2003 00:07, Siddharth Hegde wrote:
Is there any way I can creat my very own super global variables?
All variables defined in the global scope can be accessed via $GLOBALS.
U'r 100% right Mr Ernest.
- Siddharth
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Creating my own super global variables
At 17:54 24.02.2003, Jason Wong spoke out
(the slashes are here
to escape content filters)
This caused me a reply from somewhere like this:
[snip]
Trend SMEX Content Filter has detected sensitive content.
Place = [EMAIL PROTECTED]; ;
Sender = Ernest E Vogelsinger
Subject = Re: [PHP] Creating my own super
7 matches
Mail list logo