my situation:
is
common.function.php
function_abc()
{
$return_string = basename($PHP_SELF);
return $return_string;
}
un ir
listing.php
{
include("common.functions.inc.php");
<? echo function_abc(); ?>
}
and there function () returns empty string ...
Only under Netscape Communicator 4.76
and NT4 un Win2k
IE55 or NC601 works fine
server - RH62, Apache+PHP4+MySQL
Bug Database wrote:
>
> ID: 9931
> Updated by: sniper
> Reported By: [EMAIL PROTECTED]
> 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
>
> . '"><<Previous</a> " : "' ;
>
>
>
> echo $retStr;
>
> ?>
>
> And I don't know how used browser would matter on this.
>
> --Jani
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2001-03-22 11:35:59] [EMAIL PROTECTED]
> from phorSale//common/common.functions.php
>
> {
>
> $retStr .= "<a href=" . basename($PHP_SELF) . "?lo=" . ( $lo -
>$recordsPerPage ) . "&" . $xtraQuery . "><< Previous</a> " : "" ;
>
> }
>
> 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
--
PHP Development 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]