PHP InformPHP Information & Web Hosting
|
|||
Get real IP address if user has transportent proxy<?PHP function getip () elseif ( getenv ( "HTTP_X_ FORWARDED_FOR" ) && strcasecmp ( getenv ( "HTTP_X_ FORWARDED_FOR" ), "unknown" )) elseif ( getenv ( "REMOTE_ADDR" ) && strcasecmp ( getenv ( "REMOTE_ ADDR" ), "unknown" )) elseif (!empty( $_SERVER [ ' REMOTE_ADDR' ]) && strcasecmp ( $_SERVER [ 'REMOTE_ ADDR' ], "unknown" )) else return( $ip ); |
Tutorials: Find all positions of needle in a stringPHP function to strip javascriptPHP function to strip html CDATAFunction that strips both – tags and atributesVerify if in a string have broken HTML tagsStrip html tags atributesPHP Class/function to dynamically create a zip fileGet real IP address if user has transportent proxyGet MAC address in PHPThumbnails PHP function to create small imagesHow to send mail with phpPHP RSS to Array functionGoogle PageRank PHP source scriptStrip tag function – cuts all HTML tags from stringPHP function to check email addressSimple file uploads scriptFunction to create small icons from imagePHP function to get PageRank |