Ok, I lost my previous post so I?m writing again, I was trying to upload file using Example scripts and obliviously I got permission error, because I?m using Win XP as host. Ok I went and add permissions to temp_folder , it supposed to work but I have SP2 installed and that one was blocking me from moving file so I have to add Modify permission for IUSER in my permanent upload directory? Any was that is just a comment of SP2
The question is what is the name of environmental variable that reruns patch to my website? (in my case should be ?c:/interbub/wwwroot/eShot/?
If you want to know what environemental variables are set, you can do the following:
Click Start, click Control Panel, and then double-click System. On the Advanced tab, then click Environment Variables. There is your list. Find the one you are looking for.
So I am thinking that maybe your variable you are looking for is a Function that checks the available globals and uses what it can.
You mentioned that you would have to strip off the script name off of the PATH_TRANSLATED Variable. Well all you would have to do is use the PHP_SELF which identifies the script, relative to the document root.
I know it’s not what you are looking for, but I don’t know what else to tell you on the subject. Document Root is something that is a Webserver thing so perhaps you need to check an IIS (or Microsoft) newsgroup/forum to see if there is a way to get IIS to send that info.
as for the double slashes… That’s a windows. Because windows uses the back slash as opposed to the unix/linux forward slash, they have to “Escaped” thus the double backslash.