Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-10-02, 12:07 PM   #1
Xallow
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
 
Join Date: May 2006
Location: Denmark
Posts: 447
Send a message via ICQ to Xallow
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
__________________
Porn Safe Submit Free Sites
Porn Party Porn Submit Free Sites
Xallow is offline   Reply With Quote
Old 2006-10-02, 12:29 PM   #2
Satan
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Sep 2006
Posts: 30
Quote:
Originally Posted by Xallow View Post
satan I need Your help,

I dont have a clue what to do about it
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
Satan is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:05 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc