Ravens PHP Scripts: Forums
 

 

Search found 1 match
Author Message
 Topic: SCRIPT_NAME vs PHP_SELF-You can't access this file directly
incandescent

Replies: 10
Views: 27983

PostForum: Raven's Customized Distribution Packs   Posted: Thu May 12, 2005 10:05 am   Subject: SCRIPT_NAME vs PHP_SELF-You can't access this file directly
It certainly works.

If you reverse the below:
$_SERVER['SCRIPT_NAME'] = $_SERVER['PHP_SELF'];

into => $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'];

and subsequently add it to the bottom ...
 

 Jump to:   

Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©