VolkNet
06-09-2005, 05:26 PM
Hey I have a script that installs a .htaccess file for the client but I have a small problem.
How can I determine the name of a subdirectory a script resides in?
For example script is at: http://mysite.com/resources/myscript.php
How could I find that it's at resources/ ?
Thank you very much.
How can I determine the name of a subdirectory a script resides in?
For example script is at: http://mysite.com/resources/myscript.php
How could I find that it's at resources/ ?
Thank you very much.
