Thread: split an url
View Single Post
Old 2008-08-01, 07:45 PM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Depends on the server config. There are so many possible answers and configurations that you might need to check with your host. They could be restricting opens, you might be served from two different fileservers, so, while the path may look identical, you could be on two totally different paths, or many other possibilities.

You might do something like:

Code:
echo getcwd();
on each of your sites so that you can get the 'absolute' path. Though this might show you a chrooted path and not give you the true result. Your host should be able to help.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote