How can I get the current path of the script executing without getting the file name.
ex: my path would be www.homepage.com/se/file.php
I want to get the www.homepage.com/se/ part. I tried a bunch of ways but couldn't get the path without the file name. How do I get that? Thanks.
[man]getcwd[/man] will do it for you.
cool, thank you.