Is there a way I can open a file like this
$test = "http://www.mydomain.com/file.php";
$fp = fopen($test, "r")
Or is there a way using the $DOCUMENT_ROOT or anything? I need to be able to dynamically open any file that is on my server, so I can't use a realative path. Any help would be appreciated.