Re: 'superglobal'
| From: | Brian V Bonini | Date: | Thu, 06 Feb 2003 00:10:59 +0000 |
| Subject: | Re: 'superglobal' | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134517@lists.php.net to get a copy of this message | ||
On Wed, 2003-02-05 at 19:04, Kevin Waterson wrote:
> This one time, at band camp,
> Brian V Bonini <b-bonini@cox.net> wrote:
>
> > What is it that has to be set in php.ini for a superglobal to work?
>
> You dont need to set anything, they work out-of-the-box
>
> just try something like this...
>
> <?php echo $_SERVER['SCRIPT_FILENAME']; ?>
>
They're not working, that's why I ask... Is my PHP version too old?
PHP Version 4.0.6
'./configure' '--with-apxs=/usr/local/www/bin/apxs'
'--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--with-gd=/usr/local' '--with-freetype-dir=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib'
'--with-imap=/usr/local' '--with-mysql=/usr/local'
'--with-imap=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'