how to display show current file name get working file name

RegisterLogin
how to display show current file name get working file name
Post Description: how to display show current file name get working file name
Tags: how, to, display, show, current, file, name, get, working, file, name
This Post Was Posted On Oct 07, 2010 By web hosting #1318
if i have a filename called gallery.php and i want to get that file name with a script how can i do that?

well, the answer is simple you can use this with php

PHP CODE:
<?
print $_SERVER['REQUEST_URI'];
echo"<br>";
print $_SERVER['PHP_SELF'];
echo"<br>";

print $_SERVER['PHP_SELF'];
echo"<br>";
print $PHP_SELF;
echo"<br>";
print $_SERVER['REQUEST_URI'];
echo"<br>";
print $_SERVER['SCRIPT_NAME'];

echo"<br>";
$page = $_GET['page'];
echo"<br>";
echo "$page";
?>
©2012 Webune Forums - Sun Dec 16, 2012 8:20 am
Powered by: Webune Forums V3