<?php
$host_path = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - strpos(strrev($_SERVER['SCRIPT_FILENAME']),"/")); $http_path ="http://". $_SERVER['HTTP_HOST'] . substr($_SERVER['PHP_SELF'],0, strlen($_SERVER['PHP_SELF']) - strpos(strrev($_SERVER['PHP_SELF']),"/"));
?>
0 comments:
Post a Comment