Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Logowanie na serwerze - rapidshare
axwell
post
Post #1





Grupa: Zarejestrowani
Postów: 143
Pomógł: 1
Dołączył: 14.11.2007

Ostrzeżenie: (10%)
X----


Mam pytanie, czy da się zalogować na rapidshare.com z poziomu linku tak aby pobrać plik? Mam konto login i hasło, chciałbym po prostu pobrać plik. Dla rozjaśnienie przykładowo na serwer FTP możemy zalogować się: ftp://adsmin@serwerftp.pl, czy da sie tak samo z rapidshare?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
vokiel
post
Post #2





Grupa: Zarejestrowani
Postów: 2 592
Pomógł: 445
Dołączył: 12.03.2007

Ostrzeżenie: (0%)
-----


Cytat
Example of a code in PHP for the creation of a secure TrafficShare link:

  1. <?
  2. $premiumaccount = "12345"; // Insert Premium Account ID
  3. $fileid = "12345678"; // Insert File ID
  4. $filename = "yourfile.zip"; // Insert file name
  5. $killcode = "123456789012345"; // File Killcode. The Killcode can be viewed in the Premium Zone under "Export Details"
  6. $validuntil = time() + 300; // Effective for 300 seconds from now on
  7. $md5hex = md5($premiumaccount.",".$fileid.",".$killcode.",".$validuntil);
  8.  
  9. print "Secured link is: <a href="http://rapidshare.com/files/$fileid/t$validuntil-$md5hex/$filename&quot;;" target="_blank">http://rapidshare.com/files/$fileid/t...filename";</a>
  10. ?>


Ten post edytował vokiel 20.10.2009, 08:41:05
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 04:07