Hello !
Why this script prints an empty string(it prints nothing) as the value of
the variable "u" ?
This happens even if $REQUEST_URI or PHP_SELF is used instead of
SCRIPT_FILENAME .
Thanks...
<?
function menu( $theurl)
{
//global $u ;
$u = $SCRIPT_FILENAME;
echo $u;
echo $theurl;
}
?>
Hello there !!!
<? menu(hoho.com) ?>
--
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 or REQUEST_URI within Function ? Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Function... Jack Dempsey
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Function... Alexander Skwar
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Jason Murray
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Alexander Skwar
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Alexander Skwar
- Re: [PHP] PHP_SELF or REQUEST_URI within ... Arcadius A.

