Pixelated a phpBB Template by SkaidonDesigns
 
Kaktusan Corp. Support Area Forum Index
www.kaktusancorp.com
www.cheapestadultscripts.com
Play with the Best, be the Best!
Special Offer
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Blogs Automater
Blogs Automater
Cheapest Adult Scripts
Cheapest Adult Scripts
Links Organizer
Links Organizer
Kaktusan Cash
Kaktusan Cash

Haven't registered yet? Do it here now!
help required if possible please!

 
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Gallery Scraper
View previous topic :: View next topic  
Author Message
mpk11



Joined: 23 Nov 2007
Posts: 24

PostPosted: Tue Jan 15, 2008 11:46 pm    Post subject: help required if possible please! Reply with quote
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?
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Wed Jan 16, 2008 9:32 am    Post subject: Reply with quote
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.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
mpk11



Joined: 23 Nov 2007
Posts: 24

PostPosted: Wed Jan 16, 2008 5:48 pm    Post subject: Reply with quote
thanks for the reply kaktus, much appreciated

I have passed that onto my hosters
Back to top
View user's profile Send private message

Author Message
mpk11



Joined: 23 Nov 2007
Posts: 24

PostPosted: Fri Jan 18, 2008 8:06 am    Post subject: Reply with quote
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
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Fri Jan 18, 2008 2:16 pm    Post subject: Reply with quote
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..
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
mpk11



Joined: 23 Nov 2007
Posts: 24

PostPosted: Fri Jan 18, 2008 2:45 pm    Post subject: Reply with quote
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
Back to top
View user's profile Send private message

Display posts from previous:   
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Gallery Scraper All times are GMT
Page 1 of 1

 
Jump to:  
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