[PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock

I'm having a problem with $PHP_SELF being cut down to 17 characters, for
instance 

/Scripts/php/phpscript.php?value=123
would be cut down to
/Scripts/php/phps

There was a bug opened up on bugs.php.net, id number 5380, but I can't
find a solution in the comments listed there. I was wondering if anyone
knew how to solve this problem?

I'm using the Zeus web server and PHP is set up as an ISAPI module.
Thanks!

-- 

Shawn Blaylock, ClipperNet Software Engineer
[EMAIL PROTECTED]
http://www.clipper.net/
Eugene OR  541-431-3360 x406
Toll Free  866-673-6260 x406

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand

I'm not aware of this bug, but temporarily you might consider using
the $SCRIPT_NAME variable.  The same values is stored in it AFAIK.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   http://www.JEEP-FOR-SALE.com/ -- I need a buyer
  Get your own Free, Private email at http://www.smackdown.com/

On Thu, 18 Jan 2001, Shawn Blaylock wrote:

 Date: Thu, 18 Jan 2001 15:03:39 -0800
 From: Shawn Blaylock [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP] $PHP_SELF truncated to 17 chars
 
 I'm having a problem with $PHP_SELF being cut down to 17 characters, for
 instance 
 
 /Scripts/php/phpscript.php?value=123
 would be cut down to
 /Scripts/php/phps
 
 There was a bug opened up on bugs.php.net, id number 5380, but I can't
 find a solution in the comments listed there. I was wondering if anyone
 knew how to solve this problem?
 
 I'm using the Zeus web server and PHP is set up as an ISAPI module.
 Thanks!
 
 -- 
 
 Shawn Blaylock, ClipperNet Software Engineer
 [EMAIL PROTECTED]
 http://www.clipper.net/
 Eugene OR  541-431-3360 x406
 Toll Free  866-673-6260 x406
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock

Unfortunately, it's hacking off the last few characters in SCRIPT_NAME,
too. 

--Shawn

jeremy brand wrote:
 
 I'm not aware of this bug, but temporarily you might consider using
 the $SCRIPT_NAME variable.  The same values is stored in it AFAIK.
 
 Jeremy
 
 Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
 http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 "LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.JEEP-FOR-SALE.com/ -- I need a buyer
   Get your own Free, Private email at http://www.smackdown.com/
 
 On Thu, 18 Jan 2001, Shawn Blaylock wrote:
 
  Date: Thu, 18 Jan 2001 15:03:39 -0800
  From: Shawn Blaylock [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: [PHP] $PHP_SELF truncated to 17 chars
 
  I'm having a problem with $PHP_SELF being cut down to 17 characters, for
  instance
 
  /Scripts/php/phpscript.php?value=123
  would be cut down to
  /Scripts/php/phps
 
  There was a bug opened up on bugs.php.net, id number 5380, but I can't
  find a solution in the comments listed there. I was wondering if anyone
  knew how to solve this problem?
 
  I'm using the Zeus web server and PHP is set up as an ISAPI module.
  Thanks!
 
  --
 
  Shawn Blaylock, ClipperNet Software Engineer
  [EMAIL PROTECTED]
  http://www.clipper.net/
  Eugene OR  541-431-3360 x406
  Toll Free  866-673-6260 x406
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 

-- 

Shawn Blaylock, ClipperNet Software Engineer
[EMAIL PROTECTED]
http://www.clipper.net/
Eugene OR  541-431-3360 x406
Toll Free  866-673-6260 x406

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand

Then it is something else, not those variables themselves.  Do you
have a configuration issue?  Are you running on Windows; do you need
to reboot?

check phpinfo(); and see if all your variables are truncated.

Just a few thought.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   http://www.JEEP-FOR-SALE.com/ -- I need a buyer
  Get your own Free, Private email at http://www.smackdown.com/

On Thu, 18 Jan 2001, Shawn Blaylock wrote:

 Date: Thu, 18 Jan 2001 15:19:37 -0800
 From: Shawn Blaylock [EMAIL PROTECTED]
 To: jeremy brand [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] $PHP_SELF truncated to 17 chars
 
 Unfortunately, it's hacking off the last few characters in SCRIPT_NAME,
 too. 
 
 --Shawn
 
 jeremy brand wrote:
  
  I'm not aware of this bug, but temporarily you might consider using
  the $SCRIPT_NAME variable.  The same values is stored in it AFAIK.
  
  Jeremy
  
  Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
  http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  "LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 http://www.JEEP-FOR-SALE.com/ -- I need a buyer
Get your own Free, Private email at http://www.smackdown.com/
  
  On Thu, 18 Jan 2001, Shawn Blaylock wrote:
  
   Date: Thu, 18 Jan 2001 15:03:39 -0800
   From: Shawn Blaylock [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: [PHP] $PHP_SELF truncated to 17 chars
  
   I'm having a problem with $PHP_SELF being cut down to 17 characters, for
   instance
  
   /Scripts/php/phpscript.php?value=123
   would be cut down to
   /Scripts/php/phps
  
   There was a bug opened up on bugs.php.net, id number 5380, but I can't
   find a solution in the comments listed there. I was wondering if anyone
   knew how to solve this problem?
  
   I'm using the Zeus web server and PHP is set up as an ISAPI module.
   Thanks!
  
   --
  
   Shawn Blaylock, ClipperNet Software Engineer
   [EMAIL PROTECTED]
   http://www.clipper.net/
   Eugene OR  541-431-3360 x406
   Toll Free  866-673-6260 x406
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
  
  
 
 -- 
 
 Shawn Blaylock, ClipperNet Software Engineer
 [EMAIL PROTECTED]
 http://www.clipper.net/
 Eugene OR  541-431-3360 x406
 Toll Free  866-673-6260 x406
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock

I've checked phpinfo(); and none of the other vars are truncated. I
think I just solved the problem! It's a crude hack though =( I set
$PHP_SELF = $HTTP_SERVER_VARS['PATH_INFO'] at the beginning of the
script, and that seems to have solved it. In the bug info they said it
might be related to the Zeus ISAPI, however, they didn't confirm nor
deny this, so I was still left hanging.

jeremy brand wrote:
 
 Then it is something else, not those variables themselves.  Do you
 have a configuration issue?  Are you running on Windows; do you need
 to reboot?
 
 check phpinfo(); and see if all your variables are truncated.
 
 Just a few thought.
 
 Jeremy
 
 Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
 http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 "LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.JEEP-FOR-SALE.com/ -- I need a buyer
   Get your own Free, Private email at http://www.smackdown.com/
 
 On Thu, 18 Jan 2001, Shawn Blaylock wrote:
 
  Date: Thu, 18 Jan 2001 15:19:37 -0800
  From: Shawn Blaylock [EMAIL PROTECTED]
  To: jeremy brand [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: [PHP] $PHP_SELF truncated to 17 chars
 
  Unfortunately, it's hacking off the last few characters in SCRIPT_NAME,
  too.
 
  --Shawn
 
  jeremy brand wrote:
  
   I'm not aware of this bug, but temporarily you might consider using
   the $SCRIPT_NAME variable.  The same values is stored in it AFAIK.
  
   Jeremy
  
   Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
   http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   "LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  http://www.JEEP-FOR-SALE.com/ -- I need a buyer
 Get your own Free, Private email at http://www.smackdown.com/
  
   On Thu, 18 Jan 2001, Shawn Blaylock wrote:
  
Date: Thu, 18 Jan 2001 15:03:39 -0800
From: Shawn Blaylock [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] $PHP_SELF truncated to 17 chars
   
I'm having a problem with $PHP_SELF being cut down to 17 characters, for
instance
   
/Scripts/php/phpscript.php?value=123
would be cut down to
/Scripts/php/phps
   
There was a bug opened up on bugs.php.net, id number 5380, but I can't
find a solution in the comments listed there. I was wondering if anyone
knew how to solve this problem?
   
I'm using the Zeus web server and PHP is set up as an ISAPI module.
Thanks!
   
--
   
Shawn Blaylock, ClipperNet Software Engineer
[EMAIL PROTECTED]
http://www.clipper.net/
Eugene OR  541-431-3360 x406
Toll Free  866-673-6260 x406
   
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
   
   
 
  --
 
  Shawn Blaylock, ClipperNet Software Engineer
  [EMAIL PROTECTED]
  http://www.clipper.net/
  Eugene OR  541-431-3360 x406
  Toll Free  866-673-6260 x406
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Shawn Blaylock, ClipperNet Software Engineer
[EMAIL PROTECTED]
http://www.clipper.net/
Eugene OR  541-431-3360 x406
Toll Free  866-673-6260 x406

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]