note 71304 deleted from function.get-current-user by vrana

From: Date: Wed, 21 Apr 2010 16:28:56 +0000
Subject: note 71304 deleted from function.get-current-user by vrana
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168477@lists.php.net to get a copy of this message
Note Submitter: tmacedo at linux dot ime dot usp br ---- <?php /** * addendum to 'SiliconExpress at Techie dot com' post: * at Win32 enviroment, you have: **/ var_dump(strcmp($_SERVER['SCRIPT_FILENAME'], __FILE__)); // output: int(0) /** * but you can use, instead: **/ var_dump(strcmp(realpath($_SERVER['SCRIPT_FILENAME']), __FILE__)); // output: int(-1) ?>

« previous php.notes (#168477) next »