The Joomla! Forum ™



Forum rules


Please submit all new Tips and Tricks to: http://docs.joomla.org/Category:Tips_and_tricks



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Tue Aug 23, 2005 12:32 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Aug 18, 2005 2:06 pm
Posts: 622
Location: México
Little script to know your Absolute Path:

copy this script in any text editor and save as:

anyname.php

Code:
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>


then upload this little script to yor root folder and point the browser to it...

cheers

EDIT:
Atached: Module Admin Info, install as any module and give the position cpanel then publish...



DISCUSSION HERE: http://forum.joomla.org/index.php/topic,36486.0.html


You do not have the required permissions to view the files attached to this post.

_________________
Tutoriales Joomla! - http://www.joomlamania.org


Last edited by mcsmom on Fri Sep 28, 2007 10:40 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jan 25, 2006 3:53 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Aug 18, 2005 10:27 am
Posts: 4180
Location: Sunny City Cebu, Philippines!
you may want to check also the attached file. path plus phpinfo. just a quickie info for those on the go.

same, upload in your ftp, then call via browser.

- guilliam


You do not have the required permissions to view the files attached to this post.

_________________
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.

http://www.joomlaconsultancy.net


Last edited by guilliam on Wed Jan 25, 2006 7:08 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Oct 03, 2007 5:09 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Sep 25, 2005 3:57 pm
Posts: 118
Location: Atlanta, GA
Thanks for this it was just what the doctor ordered!

You saved me some headaches!

_________________
http://www.intownwebdesign.com


Top
 Profile  
 
PostPosted: Sat Nov 17, 2007 9:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Sep 01, 2007 1:46 am
Posts: 29
hi ...

thanks for code/solution ...

When I did this, I got: "Your Absoluthe Path is: /"

This clearly is not the total path ... what is causing only "/" to display?

thanks!

D


Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 6:56 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jan 15, 2008 6:43 pm
Posts: 1
Location: London
You can also check the predefined server variables for example:

$_SERVER['DOCUMENT_ROOT'] will return your root directory

$_SERVER['SERVER_NAME'] will return your domain name

_________________
http://www.bluemedia.co.uk


Last edited by mikeedy on Tue Jan 15, 2008 7:00 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group