RE: [PHP] $PHP_SELF in Netscape PART 2
| From: | Maxim Maletsky | Date: | Fri, 16 Feb 2001 03:18:31 +0000 |
| Subject: | RE: [PHP] $PHP_SELF in Netscape PART 2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40071@lists.php.net to get a copy of this message | ||
This is not browser problem ...
here:
echo "<BR><A
HREF=\"$PHP_SELF?mode=sub_category&category=$category&sub_category=" .
urlencode($subcategories[$index]) . "\">" . $subcategories[$index]
."</A>';
This will always work.
Cheers,
Maxim Maletsky
-----Original Message-----
From: John Vanderbeck [mailto:agathorn@cfl.rr.com]
Sent: Wednesday, February 14, 2001 11:54 PM
To: php-general@lists.php.net
Subject: [PHP] $PHP_SELF in Netscape PART 2
Ok, I made all the changes from $PHPSELF to $PHP_SELF, and i'm further along
with Netscape than before. However, it now seems that there are still some
statements that $PHP_SELF isn't evaluated in. However, now I can narrow it
down to certain statements:
WORKS:
echo "<P CLASS=Normal><A
HREF=$PHP_SELF?mode=index&category=root>Main</A> -> $category</P>";
DOES NOT WORK:
echo '<BR><A HREF="', $PHP_SELF,
'?mode=sub_category&category=',
$category, '&sub_category=', urlencode($subcategories[$index]),
'">',
$subcategories[$index], '</A>';
- John Vanderbeck
- Admin, GameDesign
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net