Hiring Coder to do some quick and cheap code

Status
Not open for further replies.

SplitIce

Active Member
2,474
2008
240
0
Need someone to write classes to upload a given file to various filehosts (members accounts, collectors accounts or whatever they are called must be utilised).

Looking to get around 10 written. Will pay $10 each. $100 in total for about 4-8 hours work depending on your skill.

An example is given below, can use rapidleech implementation as a guideline if you wish, infact all of mine including the one below where made using rl.
PHP:
class rs {
        public function Upload($file) {
            if (! file_exists ( $file )) {
                die ( "The file <b>$file</b> does not exist" );
            }
            $matches = array();
            $rsrv = file_get_contents ( 'http://rapidshare.com/cgi-bin/rsapi.cgi?sub=nextuploadserver_v1' );
            $url = "http://rs{$rsrv}.rapidshare.com/cgi-bin/upload.cgi";;
            $postData = array ();
            //simulates <input type="file" name="filecontent">
            $postData ['filecontent'] = "@$file";
            $postData ['submit'] = "Upload!";
                $postData ['freeaccountid'] = 'splitice4';
                $postData ['password'] = '-';
            $postData ['rsapi_v1'] = "1";
            $ch = curl_init ();
            curl_setopt ( $ch, CURLOPT_URL, $url );
            curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
            curl_setopt ( $ch, CURLOPT_POST, 1 );
            curl_setopt($ch, CURLOPT_NOPROGRESS, true);
            echo("Sending <b>$file</b> to RapidShare.com\r\n");
            curl_setopt ( $ch, CURLOPT_POSTFIELDS, $postData );
            $response = curl_exec ( $ch );
            if (strstr ( $response, "http://rapidshare.com/files/" )) {
                $url = strstr ( $response, "http://rapidshare.com/files/" );
                $url = substr ( $url, 0, strpos ( $url, "\n" ) );
                return $url;
            }
            return false;
        }
    }
Input: File
Output: false on failure
URL (string) on success.

Hosts needed:
FileServe
Hotfile
SendSpace
FileFactory
Badongo
Load.to
SharedZilla
NetLoad
EasyShare
FlyUpload


Interested? Add me on MSN: splitice [spam.AT.spam] hotmail.com

And if you do good I have more code needing to be done :P
 
5 comments
I can code if you just do the analysis part like what POST fields to send, on which link, what to return and all these shits..
 
Sorry guys hired someone for the first set now, Ill have more to do in the next couple of days though + if he doesnt work out Ill still award it to someone who posts so post away :P
 
Status
Not open for further replies.
Back
Top