ok, here is the problem, i am using the file exist function in php and it works part of the time. Basically it works fine in the same directory but if I use it to find a file in another domain on my server, it doesn't work.
Here is what I mean
$p = "image/test.jpg";
if(file_exists($p)){
echo "found";
} else {
echo "??";
}
// The one above works perfect
$p = "http://myOwnDomain.com/image/test.jpg";
if(file_exists($p)){
echo "found";
} else {
echo "??";
}
// this one doesn't work
Any ideas on why the second one doesn't work?
I checked the permissions and looks like I have all permissions except write capabilities
Thanks for your help