Zubrag.com
October 21, 2019, 04:52:27 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to detect absolute file path on the server  (Read 10030 times)
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« on: November 08, 2006, 08:47:30 AM »

Code:
<?php 

// this statement will show you absolute file path
echo __FILE__;

// this statement will show the folder where file resides
echo dirname(__FILE__);

?>

Logged
basheer
Newbie
*
Posts: 6


« Reply #1 on: August 27, 2009, 11:15:44 PM »

there is any way to find the path of file which is in internet or another folder.....
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC