|
Haven't registered yet? Do it here now!
|
mpk11
Joined: 23 Nov 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Tue Jan 15, 2008 11:46 pm Post subject: help required if possible please! |
|
|
|
|
|
|
|
|
|
|
My hosters have moved over the past few days causing a few issues
when i click my manual update button gs redirects itself and shows one of the images from the gallery.
it shows an update in the list, but no images are in the feed
any ideas? |
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Wed Jan 16, 2008 9:32 am Post subject: |
|
|
|
|
|
|
|
|
|
|
they have some weird setting in the php curl library which causes any content directly to be output, not to be kept in variable as needed by the script. _________________
|
|
|
|
|
|
|
|
mpk11
Joined: 23 Nov 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Wed Jan 16, 2008 5:48 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
thanks for the reply kaktus, much appreciated
I have passed that onto my hosters |
|
|
|
|
|
|
|
mpk11
Joined: 23 Nov 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Fri Jan 18, 2008 8:06 am Post subject: |
|
|
|
|
|
|
|
|
|
|
kaktus, my hoster is currently looking into this, could you possibly give any more details so I can pass it on, as they seem to be having some trouble?
They are also saying the script keeps setting of their norton anti-virus...
any help would be very appreciated |
|
|
|
|
|
|
|
|
|
|
kaktus Owner
Joined: 22 May 2004 Posts: 1576 Location: CheapestAdultScripts.com
|
|
|
|
|
|
|
Posted: Fri Jan 18, 2008 2:16 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, tell them a function like this should save the image in a file, but the curl statements doesn't save the content in a variable so the script can save it to the file, but directly outputs the requested image or webpage
here's the function
Code: |
function grab_picture($image="",$image_name="",$referer="",$thedir="")
{
if(empty($thedir))
$thedir='thumbs';
$fp=fopen("$thedir/$image_name","w");
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$image);
curl_setopt($ch, CURLOPT_FILE,$fp);
curl_setopt($ch,CURLOPT_TIMEOUT,30);
curl_setopt($ch, CURLOPT_REFERER,$referer);
curl_setopt($ch, CURLOPT_HEADER,0);
curl_exec($ch);
fclose($fp);
chmod("$thedir/$image_name",0777);
if(!curl_errno($ch))
{
curl_close($ch);
return TRUE;
}
else
{
curl_close($ch);
return FALSE;
}
}
|
i don't know anything about norton anti-virus and my script. it is normal php/java/css/html script, don't see any problems it could cause.. _________________
|
|
|
|
|
|
|
|
mpk11
Joined: 23 Nov 2007 Posts: 24
|
|
|
|
|
|
|
Posted: Fri Jan 18, 2008 2:45 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
thank you very much
I have passed this on, my hosters moved server and it seems to have caused a few head-aches
thanks very much for your time |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
phpBB Template designed by SkaidonDesigns |
|
| |