xtort0
07-02-2002, 03:29 PM
here is a test script i ran from my server;
<?php
// test to try and fin working php_self! //
echo "<b>php_self test:</b><br>";
echo "phpself1: {$_SERVER['PHPSELF']}<br>";
echo "phpself2: $PHP_SELF<br>";
echo "phpself3: {$_SERVER["PHPSELF"]}<br>";
echo ("$PHP_SELF");
print ("$PHP_SELF");
echo $PHP_SELF;
echo "$SCRIPT_NAME";
?>
after running the script i still got a blank page.
im running php 4.21 with iis5/win2k
-register_globals= off ...
anyone have any ideas why this isnt working? any input would be appreciated. thanks,
keith
<?php
// test to try and fin working php_self! //
echo "<b>php_self test:</b><br>";
echo "phpself1: {$_SERVER['PHPSELF']}<br>";
echo "phpself2: $PHP_SELF<br>";
echo "phpself3: {$_SERVER["PHPSELF"]}<br>";
echo ("$PHP_SELF");
print ("$PHP_SELF");
echo $PHP_SELF;
echo "$SCRIPT_NAME";
?>
after running the script i still got a blank page.
im running php 4.21 with iis5/win2k
-register_globals= off ...
anyone have any ideas why this isnt working? any input would be appreciated. thanks,
keith