GuppY Help Center, help online, documentation and tutorials

 
Search
 
Close
GuppY 5.02

telecharger.png

logo_nuxit_guppy.png
You are here :   Welcome » Finding the absolute path of a directory.
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...
FAQ GuppY <= 4.6.xx

In this menu you will find all the FAQs on earlier versions of GuppY.

 ↑  
FAQ GuppY v 5.01.xx

Here you will find FAQs on Guppy version 5.01.xx.

 ↑  
FAQ system

These FAQs address issues related to hosting and the system in general.

Documentation
Legal

Here you will find important information regarding regulations and copyright

 ↑  
rss This article is available in the standard RSS format for publication on your website :
https://ghc.freeguppy.org/data/en-articles.xml

In case of problems with the path in htaccess and htpasswd, if you need to know the absolute path of a directory, it is quite simple: the realpath() function does just that.



Just create a php file that can be called e.g. absolute-path.php and will contain:


<?php echo realpath ('absolute-path.php');>



This file will be placed in the folder where the htpasswd is. In our example, we use the admin folder but this can be done to any other folder to protected.



To get the result - i.e. the path you need to know - simply type : http://name_of_your_site.ext/admin/absolute-path.php into  the address bar of your browser.



You will of course replace "name_of_your_site.ext " by the actual name of your site. For example here freeguppy.org: www.freeguppy.org .
 


Creation date : 2014.02.10 @ 21:58
Category : - Htaccess
Page read 8792 times

You are here :   Welcome » Finding the absolute path of a directory.
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...
Visits

 1666846 visitors

 7 visitors online

Webmaster - Infos
Help

aide_help.png
On each page in admin, if you click on this icon, you get the online help page.

Site registered in the CNIL under agrément 1040387.
You have a right of access, modification, rectification and deletion
of the data according to the Computer law and Freedom (article 34) of January 6th, 1978.

 

The FreeGuppY.org hosting is provided by Nuxit.com our partner