What am I missing here?
| From: | Rick Dwyer | Date: | Sat, 19 Jun 2010 17:21:02 +0000 |
| Subject: | What am I missing here? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306272@lists.php.net to get a copy of this message | ||
Hello List.
I am completely at a loss for why the line of code below returns the desired value:
$PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI
PT_NAME']), strlen($_SERVER['REQUEST_URI']));
BUT, putting the same line of code on 1 line fails to return anything:
$PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRIPT_NAME']), strlen($_SERVER['REQUEST_URI']));
--Rick