View Single Post
Old 09-25-2007, 01:39 AM   #1 (permalink)
clookid
The Wanderer
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
clookid is on a distinguished road
Default Proxifying file_get_contents [URGENT!]

PHP Code:
<?php

//Enter Password:

$password "passwordgoeshere";

//Enter Submission Information:

$url "http://www.ihowd.com";
$description "I%20Howd";
$note "The%20only%20resource%20you'll%20ever%20need.%20I%20Howd%20is%20jam%20packed%20full%20of%20how%20to%20articles.<br />";
$tags "how%20to,%20articles";

//Edit Usernames:

echo file_get_contents("https://clooscript01:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes");
echo 
"<a href='$url' alt='$description'>$description</a> has successfully been submitted to <a href='http://del.icio.us/clooscript01'>clooscript01</a>.<br />";
echo 
file_get_contents("https://clooscript02:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes");
echo 
"<a href='$url' alt='$description'>$description</a> has successfully been submitted to <a href='http://del.icio.us/clooscript02'>clooscript02</a>.<br />";
echo 
file_get_contents("https://clooscript03:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes");
echo 
"<a href='$url' alt='$description'>$description</a> has successfully been submitted to <a href='http://del.icio.us/clooscript03'>clooscript03</a>.<br />";
echo 
file_get_contents("https://clooscript04:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes");
echo 
"<a href='$url' alt='$description'>$description</a> has successfully been submitted to <a href='http://del.icio.us/clooscript04'>clooscript04</a>.<br />";
echo 
file_get_contents("https://clooscript05:$password@api.del.icio.us/v1/posts/add?url=$url&description=$description&extended=$note&tags=$tags&shared=yes");
echo 
"<a href='$url' alt='$description'>$description</a> has successfully been submitted to <a href='http://del.icio.us/clooscript05'>clooscript05</a>.<br />";

and 
so on...

?>
I am looking at using del.icio.us's API to make a mass del.icio.us submission script. Unfortunately, I am unsure of how to use a proxy server on top of the file_get_contents() function. If anyone were willing to help me, that would be great!
clookid is offline  
Reply With Quote