What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » get URI folder for executing PHP script

get URI folder for executing PHP script
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. get URI folder for executing PHP script
basically, I am looking for a method to obtain the directory where the current script is running. I do know that $_SERVER['REQUEST_URI'] contains the full url, but it is not cross platform. (*cough* IIS *cough*)

so for any url, http://subdomain.domain.tld/folder/folder2/file.php, i need http://subdomain.domain.tld/folder/folder2/ to be returned

help please? anyone?
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
08-28-2007 11:49 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
get URI folder for executing PHP script - by MeEtc on 08-28-2007 at 11:49 PM
RE: get URI folder for executing PHP script - by WDZ on 08-29-2007 at 12:27 AM
RE: get URI folder for executing PHP script - by MeEtc on 08-29-2007 at 12:37 AM
RE: get URI folder for executing PHP script - by roflmao456 on 08-29-2007 at 12:40 AM
RE: get URI folder for executing PHP script - by WDZ on 08-29-2007 at 12:58 AM
RE: get URI folder for executing PHP script - by MeEtc on 08-29-2007 at 02:41 AM
RE: get URI folder for executing PHP script - by roflmao456 on 08-29-2007 at 03:27 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On