How To Display Show Current File Name Get Working File Name


How To Display Show Current File Name Get Working File Name
  Forums Index
      » PHP Forums
        » » how to display show current file name get working file name



How To Display Show Current File Name Get Working File Name
Post Description:
Post Tags: how, to, display, show, current, file, name, get, working, file, name, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 83 Times Since Fri Feb 29, 2008 9:47 pm Posted By hostman with 0 replies
Next Post »» how to get file name only without the path slashes in PHP
How To Display Show Current File Name Get Working File Name
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";
?>

Leave Your Comments
* Your Name

  * Your Email Address (Will Not Be Published)

* Your Comments


Add Picture To Comments
Yes No             upload
Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

     




Comments and replies About How To Display Show Current File Name Get Working File Name






(0) Comments