|
|
|
|
|
|
|
![]() |
#1 |
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
|
satan I need Your help, I am trying to set up a site to promote livejasmin, but when I try to use the perflister.php, I get this error
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.fluffee/xallow/netcamperformers.com/livejasmin/perflister.php on line 21 Warning: file_get_contents(http://www.livesexbar.com/xml/jsm.xml) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/.fluffee/xallow/netcamperformers.com/livejasmin/perflister.php on line 21 Error while trying to open the XML file. I dont have a clue what to do about it |
![]() |
![]() |
![]() |
#2 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: Sep 2006
Posts: 30
|
Well if God wont help you then I suppose praying to Satan is the next best thing. Problem is your host is not allowing easy file access via the File command but I bet they have CURL installed. So you can edit the code and instead of using a simple file("$xml_source") use:
if (!function_exists("curl_init")) { echo ("No PHP Curl installed"); exit; } //use curl to get a cache file $ch = curl_init("$xml_source"); $fp = fopen("pcache.txt", "w"); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); fclose($fp); then where you have the if file("$xml_source") put if file("pcache.txt") Note you will probably need to create a text file called pcache.txt and set permissions to 777 first.
__________________
Satan ![]() |
![]() |
![]() |
![]() |
|
|