Welcome! Log In Create A New Profile

Advanced

Re: PHP_SELF not set

September 11, 2009 06:10PM
vesperto Wrote:
-------------------------------------------------------
> > I can make cacti work by replacing all
> references to PHP_SELF with REQUEST_URI, but
> that's not a very maintainable solution.
>
> I have PHP_SELF in some parts of some sites (none
> i can find right
> now...), anyway, i tried a simple
> <?php echo $_SERVER['PHP_SELF'] ?>
> in the index.php of a site's docroot and it
> outputed /index.php, as
> expected. What's your php and php-cgi version?

I am using the current Ubuntu jaunty packages:

ii php5-cgi 5.2.6.dfsg.1-3ubuntu4.2 server-side, HTML-embedded scripting languag
ii php5-cli 5.2.6.dfsg.1-3ubuntu4.2 command-line interpreter for the php5 script
ii php5-common 5.2.6.dfsg.1-3ubuntu4.2 Common files for packages built from the php
ii php5-gd 5.2.6.dfsg.1-3ubuntu4.2 GD module for php5
ii php5-mysql 5.2.6.dfsg.1-3ubuntu4.2 MySQL module for php5
ii php5-snmp 5.2.6.dfsg.1-3ubuntu4.2 SNMP module for php5
Subject Author Posted

PHP_SELF not set

durist September 11, 2009 04:15PM

Re: PHP_SELF not set

vesperto September 11, 2009 04:52PM

Re: PHP_SELF not set

durist September 11, 2009 05:13PM

Re: PHP_SELF not set

vesperto September 11, 2009 05:40PM

Re: PHP_SELF not set

durist September 11, 2009 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready