MapTools.org

[maplab-users] problem

ronny mamwake@yahoo.com
Sat, 27 Sep 2003 02:09:00 -0700 (PDT)
thanks for the info but it didn't help,,still that
problem is there..someone pls help me before i scream
*smile*.
--- woodbri@swoodbridge.com wrote:
> Actually this was a problem with PHP 4.3.0
> 
> On 26 Sep 2003 at 12:17, Stephen Woodbridge wrote:
> 
> > It is more likely that you are using PHP 4.3.1
> (IIRC) that has a bug
> > that mangles the $PHP_SELF in the CGI version.
> There is a simple fix
> > if this is the problem: create an auto_prepend.php
> file and configure
> > php to use it then put the following in it>
> > 
> > <?php
> > ///// Quick fix until the PHP guys fix
> $_SERVER['PHP_SELF'] /////
> > $_SERVER['SCRIPT_NAME'] =
> substr($_SERVER['PATH_TRANSLATED'],
> > strlen($_SERVER['DOCUMENT_ROOT']));
> > 
> > if (substr($_SERVER['SCRIPT_NAME'], 0, 2) == '//')
> {
> >    $_SERVER['SCRIPT_NAME'] =
> substr($_SERVER['SCRIPT_NAME'], 1);
> > }
> > 
> > $PHP_SELF = $SCRIPT_NAME = $_SERVER['PHP_SELF'] =
> > $_SERVER['SCRIPT_NAME'];
> >
>
/////////////////////////////////////////////////////////////////
> ?>
> > 
> > -Steve


=====
ronny

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


This archive was generated by Pipermail.