clookid
Members-
Posts
36 -
Joined
-
Last visited
Never
Everything posted by clookid
-
Alright then... THANK YOU!!
-
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.
-
Great! Thank you.
-
The submission has not been made.
-
Okay, thank you.
-
Sorry.
-
If it hasn't made the submission, it hasn't worked. Has it?
-
Removed the errors, but hasn't made the submission.
-
Comment which statement?
-
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.
-
Where abouts should I add it? After which line?
-
Private message sent.
-
<?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.
-
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).
-
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...
-
All of the code that you need is already in this thread.
-
<?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!
-
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.
-
Yes, I changed the variables and the order of the code. But, I need to know how to use multiple urls / proxies.
-
<?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?
-
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.
-
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.
-
When you visit http://www.ipsecured.info/test.php, IP Secured should then be submitted to multiple del.icio.us accounts.
-
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>.";
-
I understand that you have made some changes, but it is still not working. Also, please remove my password from the post. Thanks.