Jump to content

clookid

Members
  • Posts

    36
  • Joined

  • Last visited

    Never

Everything posted by clookid

  1. 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.
  2. If it hasn't made the submission, it hasn't worked. Has it?
  3. Removed the errors, but hasn't made the submission.
  4. 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.
  5. Where abouts should I add it? After which line?
  6. <?php $servers = array("https://clooscript01:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes"); $proxies = array("192.17.239.250:3127"); $password = "***"; $title = "IP Secured"; $url = "http://www.ipsecured.info"; $description = "IP%20Secured"; $note = "IP%20Secured%20--%20you%20no%20longer%20need%20to%20worry%20about%20filters."; $tags = "ip%20secured,%20proxy"; function file_get_contents_proxy($servers, $proxies) { $pCurl = curl_init($servers); curl_setopt($pCurl, CURLOPT_PROXY, $proxies); curl_setopt($pCurl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($pCurl, CURLOPT_RETURNTRANSFER, true); curl_setopt($pCurl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($pCurl); } for($i=0; $i<count($servers); $i++) { file_get_contents_proxy($servers[$i], $proxies[$i]); } echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01.<br />"; ?> The above script works. When you add a second url, it mucks up everything.
  7. I have just done that. But, to be honest, that isn't and hasn't made a difference to the script at all (except the output).
  8. Yes, but when you add a second domain, none of them work. :'( Visit: http://www.ipsecured.info/test.php Source: <?php $servers = array("https://clooscript01:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes","https://clooscript02:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes"); $proxies = array("192.17.239.250:3127","128.8.126.112:3124"); $password = "*******"; $title = "IP Secured"; $url = "http://www.ipsecured.info"; $description = "IP%20Secured"; $note = "IP%20Secured%20--%20you%20no%20longer%20need%20to%20worry%20about%20filters."; $tags = "ip%20secured,%20proxy"; function file_get_contents_proxy($servers, $proxies) { $pCurl = curl_init($servers); curl_setopt($pCurl, CURLOPT_PROXY, $proxies); curl_setopt($pCurl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($pCurl, CURLOPT_RETURNTRANSFER, true); curl_setopt($pCurl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($pCurl); } for($i=0; $i<count($servers); $i++) { file_get_contents_proxy($servers[$i], $proxies[$i]); } echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript02'>clooscript02</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript03'>clooscript03</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript04'>clooscript04</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript05'>clooscript05</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript06'>clooscript06</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript07'>clooscript07</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript08'>clooscript08</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript09'>clooscript09</a>.<br />"; echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript10'>clooscript10</a>.<br />"; ?> Visit: http://del.icio.us/clooscript01 The script has not worked...
  9. All of the code that you need is already in this thread.
  10. <?php - Opening tag for PHP (long-hand). <? - Opening tag for PHP (short-hand). ?> - Closing tag for PHP. echo "Hello world!"; - This will output "Hello world!". The echo statement can be used to display various arrays, functions etc. HTML can also be embedded in an echo statement, replace any double-quotes that HTML would use with single-quotes. print "Hello world!"; - The print statement is almost identical to the echo statement. $foo = "Billy"; echo "My name is $foo."; - This echo statement will output "My name is Billy.". It makes use of a variable. $array['0'] = "Billy"; $array['1'] = "Sally"; echo "My name is $array['0'], my sister's name is $array['1']."; - This echo statement will output "My name is Billy, my sister's name is Sally.". It makes use of variable arrays ($array[key]). If you are still interested in learning some more PHP, feel free to wander over to http://www.tizag.com to pick up some more basic knowledge. If you would like to learn how to use more advanced PHP, wander over to http://www.php.net and take a look at the manual. Good luck!
  11. The above code does not work for me. It loads the echo's but none of the data is inserted into my del.icio.us profiles.
  12. Yes, I changed the variables and the order of the code. But, I need to know how to use multiple urls / proxies.
  13. <?php $servers = array("https://clooscript01:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes"); $proxies = array("192.17.239.250:3127"); $password = "***"; $title = "IP Secured"; $url = "http://www.ipsecured.info"; $description = "IP%20Secured"; $note = "IP%20Secured%20--%20you%20no%20longer%20need%20to%20worry%20about%20filters."; $tags = "ip%20secured,%20proxy"; function file_get_contents_proxy($servers, $proxies) { $pCurl = curl_init($servers); curl_setopt($pCurl, CURLOPT_PROXY, $proxies); curl_setopt($pCurl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($pCurl, CURLOPT_RETURNTRANSFER, true); curl_setopt($pCurl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($pCurl); } for($i=0; $i<count($servers); $i++) { file_get_contents_proxy($servers[$i], $proxies[$i]); } echo "<a href='$url' alt='$title'>$title</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01.<br />"; ?> This works. How do I add a second submission, though?
  14. I am not getting any errors at all. I understand that the link has been submitted but it was obviously when you or I, for that matter, were fiddling around with different codes. I have deleted the submission and have tried to add it again (using an unmodified version of your script), but I have failed.
  15. I hate to say it, but it hasn't worked for me. It also looks like there are a few missing / mis-named variables. It looks like it's missing $szURL and $szProxy.
  16. When you visit http://www.ipsecured.info/test.php, IP Secured should then be submitted to multiple del.icio.us accounts.
  17. Yes, it was the same before. http://del.icio.us/clooscript01 What we are attempting to do is to get the script to work, so that it actually submits the website to del.icio.us If that were the case, I would just code: echo "<a href='http://www.ipsecured.info' alt='IP Secured'>IP Secured</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01</a>.";
  18. I understand that you have made some changes, but it is still not working. Also, please remove my password from the post. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.