PHP 4.0 Bug #9931 Updated: under Communicator 4.76 {basename(PHP_SELF) doesn't return value}

From: Date: Fri, 23 Mar 2001 13:23:22 +0000
Subject: PHP 4.0 Bug #9931 Updated: under Communicator 4.76 {basename(PHP_SELF) doesn't return value}
Groups: php.dev 
Request: Send a blank email to php-dev+get-49810@lists.php.net to get a copy of this message
ID: 9931 Updated by: sniper Reported By: ieleja@arc.lv Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: Your example code doesn't work. This works for me just fine: (of course the undefined vars don't work..) <?php $retStr= '<a href="' . basename($PHP_SELF) . "?lo=" . ($lo - $recordsPerPage ) . "&" . $xtraQuery . '">&lt;&lt;Previous</a>&nbsp;" : "' ; echo $retStr; ?> And I don't know how used browser would matter on this. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-22 11:35:59] ieleja@arc.lv from phorSale//common/common.functions.php { $retStr .= "<a href=" . basename($PHP_SELF) . "?lo=" . ( $lo - $recordsPerPage ) . "&" . $xtraQuery . ">&lt;&lt; Previous</a>&nbsp;" : "" ; } It's happens only under Netscape 4.76 Under IE 5.5, 6.01 all works fine --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9931&edit=2

« previous php.dev (#49810) next »