Zubrag.com
May 20, 2012, 11:29:02 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: I need help with BASE_DIR path on Linux server/thanks  (Read 2411 times)
rdcode
Newbie
*
Posts: 3


« on: August 05, 2007, 01:17:36 am »

Hi. I need help on knowing the path structure to Linux server. User newbie_questions asked in a post here and Zubrag replied with 2 examples of path for Unix and Windows server, but Linux server was not included and I realized my server is Linux. Thanks

Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #1 on: August 06, 2007, 08:01:32 am »

Hi. Save following as php file (ex: server_path.php), save it on your server, and open in browser (http://example.com/server_path.php). It will show the path.

<?php

echo __FILE__;

?>
Logged
Pages: [1]
  Print  
 
Jump to:  

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