clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Where abouts should I add it? After which line? Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 After curl_exec($pCurl); Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ipsecure/public_html/test.php on line 19 Â Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ipsecure/public_html/test.php on line 19 Â IP Secured has successfully been submitted to clooscript01. IP Secured has successfully been submitted to clooscript02. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 ok comment the statement ad try it Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Comment which statement? Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 //curl_setopt($pCurl, CURLOPT_FOLLOWLOCATION, true); Â :'( Like this Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Removed the errors, but hasn't made the submission. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 I askked whether the code is working .. because here i am behind proxy and having problems testing ur code. Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 If it hasn't made the submission, it hasn't worked. Has it? Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 Dont put a question to me buddy .. I just wanted to whether it worked or not.. Â I am not a freelancer and I dont work for money here. Â I just want to help you guys out.. thats it. Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Sorry. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 I will send a new code try that. Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Okay, thank you. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 I have tried with a new curl opt... Â Check whether this thing works.. Â <?php $servers = array("https://api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes"); $proxies = array("192.17.239.250:3127");//192.17.239.250:3127"); $usernames=array("clooscript01"); $password = "*******"; //Password Shadowed $title = "IP Secured Test By Shankar"; $url = "http://www.ipsecured.info"; $description = "IP%20Secured"; $note = "IP%20Secured%20--%20you%20no%20longer%20need%20to%20worry%20about%20filters."; $tags = "ip%20secured,%20proxy"; for($i=0; $i<count($servers); $i++) { $var=$usernames[$i].":".$password; //echo $var; $pCurl = curl_init($servers[$i]); curl_setopt($pCurl, CURLOPT_PROXY, $proxies[$i]); curl_setopt($pCurl, CURLOPT_HTTPAUTH,CURLAUTH_ANY); curl_setopt($pCurl,CURLOPT_USERPWD,$var); curl_setopt($pCurl, CURLOPT_RETURNTRANSFER, true); curl_setopt($pCurl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($pCurl); curl_close($pCurl); } //https://clooscript02:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes //128.8.126.112:3124 echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01.<br />"; ?> Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 The submission has not been made. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 26, 2007 Share Posted September 26, 2007 I found out where the problem is.. Â Â I will send the code soon. Â Quote Link to comment Share on other sites More sharing options...
clookid Posted September 26, 2007 Author Share Posted September 26, 2007 Great! Thank you. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 27, 2007 Share Posted September 27, 2007 Here is the code clookid ! Â <?php $proxies = array("192.17.239.250:3127","128.8.126.112:3124","192.17.239.250:3127"); $usernames=array("clooscript01","clooscript02","clooscript03"); $password = "******"; $title = "IP Secured Test"; $url = "http://www.ipsecured.info"; $description = "IP%20Secured%20Final"; $note = "IP%20Secured%20--%20you%20no%20longer%20need%20to%20worry%20about%20filters."; $tags = "ip%20secured,%20proxify"; for($i=0; $i<count($usernames); $i++) { $var=$usernames[$i].":".$password; $pCurl = curl_init("https://api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes"); curl_setopt($pCurl, CURLOPT_HTTPAUTH,CURLAUTH_ANY); curl_setopt($pCurl, CURLOPT_USERPWD,$var); curl_setopt($pCurl, CURLOPT_RETURNTRANSFER, true); curl_setopt($pCurl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($pCurl); curl_close($pCurl); echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/$usernames[$i]'>$usernames[$i].<br />"; } ?> Quote Link to comment Share on other sites More sharing options...
clookid Posted September 27, 2007 Author Share Posted September 27, 2007 THAT ROCKS!! Thank you soooo much!! What's your PayPal Email, I would like to send you a little bonus for all of your help and as an apology for my attitude. Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 27, 2007 Share Posted September 27, 2007 No buddy i dont need anything. I wish you luck in your future coding. ;D Quote Link to comment Share on other sites More sharing options...
clookid Posted September 27, 2007 Author Share Posted September 27, 2007 Alright then... THANK YOU!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.