Jump to content

abdulsamad

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

abdulsamad's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. THx a zillion dude you have made my work so very easy i owe you one...
  2. Can somebody please make it more flexible? I tried but was not able to do it Here is the html page and 2 posts before is the php coding can somebody make it like i enter the pure rs links and it changes them into the list of ones with serverid in them?? <html> <body> <center><img src=rslogo.gif></center> <form name=form1 action=linkready.php method=post> Username: <input type=text name="us" /> Password: <input type=text name="us" /> Your RS LINKS:<br><textarea name=rsurls cols=100 rows=30></textarea><br><br> <input type=submit value=Submit> <input type=reset value=Reset> </center> </form> </body> </html>
  3. well i don't entirely get what you are trying to say since i am new. Somewhere i saw coding in which for logging in he used setcookie() function. Do you think this will do the work here?
  4. BUMP
  5. Ok guys here is the thing, i am trying to make a script which would first login into the syt bitroad.net and then would give a link in a field for remote uploading this is the script i have made but its not working... can anybody correct the script? remote upload text box is in "files" tab after logging in i have also cre8ed a fake id on tht site just for you guyz to see nd help login: noobster password: noob <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'http://bitroad.net'); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POSTFIELDS,"login=username&password=password"); $page = curl_exec($ch); preg_match('/;(.*)\"/',$page,$matches); curl_setopt($ch, CURLOPT_URL,'http://bitroad.net'.$matches[1]); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POSTFIELDS,"username=username&password=password&methodToCall=curl_exec($ch)"); curl_exec($ch); curl_setopt($ch, CURLOPT_URL,'http://bitroad.net/ftp/acc_file.php'.$matches[1]); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt ($ch, CURLOPT_POSTFIELDS, 'remote_file=$url'); $page = curl_exec($ch); ?>
  6. wow...!!! you guyz really are good at php i m still a noob
  7. Tell some more details buddy...!!! what exactly do you want?
  8. Well buddy blackapplehost.com is just the advertising of the host on which i have hosted the file. Have you tested the script urself??? nd in the script we have just used curl but not used curl_init nd curl_exec commands ... shouldn't we use them every time we use curl?
  9. Well i am noob in php but as far as i have understood it should give output after i use the echo command... But its not giving i used echo like this echo $new_url; am i doing it wrong?
  10. WEll i uploaded it on a server with curl enabled but its giving now output just a blank page http://noobsey.blackapplehost.com/Grabber/fetch.php this is the url of the page no result
  11. well it says called to undefined function in line no.2 ...
  12. i don't follow you.. i wanna know how to get the server id from there? cauz when i manually open the link nd view its source it has a code like this at some point <form id"ff" action="rs355.rapidshare....." i wanna fetch that url so how to do it?
  13. OK guys i am back with my second question. And sorry for my 'bad language' in my 1st post i have already apologized to the mod. Anyways here is the problem i created a curl function to connect to the url i give here is the code <?php function curl_file_get_contents($url) { $ch = curl_init(); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); curl_setopt($ch,CURLOPT_URL,$url); // the url of the site curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0); //needed for ssl (httpS://) $ret = curl_exec($ch); curl_close($ch); return($ret); } ?> i want it to connect to the url i give for example http://rapidshare.com/files/141992010/Patche_Lestrenge_up_for_www.DarkWarez.pl.part01.rar and fetch the server id frm there and make the link lyk http://login:[email protected]/files/141992010/Patche_Lestrenge_up_for_www.DarkWarez.pl.part01.rar so how can i fetch the server id is there something wrong with my curl function?
  14. i m tRYinG tO maKE thE scRipT iN whICH i wiLl giVe a usErnAMe nD password and a link nD the link would b lyk http://rs250.rsdnsi/12/23 wht i wanna do is tht put the usename nd password lyk this http://username:[email protected]/23/23 i can write it lyk echo "http".$username.$password.":".$link but the prblm is that $link also for http:// so it will b lyk http://username:password@http://rs250.asds/23/23 but i don't want tht http:// so ny suggestions?
  15. how do u use wildcards in php??? syntax nd xample plz
×
×
  • 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.