eL_NiNo
Sep 23rd, 2002, 08:35 AM
Once again, more questions :
What's wrong with this code :
$strPage = $_SERVER("PHP_SELF"); /*** Error here ***/
$strScript;
if($strScript = strstr($strPage, '/'))
{
$strPage = $strScript;
};
return $strPage;
it gives me :
Notice: Array to string conversion in file.php on line X
Fatal error: Call to undefined function: array() in file.php on line X
Thanks in advance !
What's wrong with this code :
$strPage = $_SERVER("PHP_SELF"); /*** Error here ***/
$strScript;
if($strScript = strstr($strPage, '/'))
{
$strPage = $strScript;
};
return $strPage;
it gives me :
Notice: Array to string conversion in file.php on line X
Fatal error: Call to undefined function: array() in file.php on line X
Thanks in advance !