View Single Post
ישן 04-08-11, 06:01   # 2
בניה
משתמש - היכל התהילה
דירוג מסחר: (0)
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: נחושה
הודעות: 3,434

בניה לא מחובר  

ציטוט:
נכתב במקור על ידי MasterNetwork צפה בהודעה
אפשר לעשות דבר כזה:
להעביר בלוקיישן אל העמוד שמבצע לקיחת תוכן מהקישור שרציתה וקח דוגמא זריזה:

קובץ ראשי: index.php?file=123.rar
PHP קוד:
<?php
$file
=$_GET["file"];
$file="get.php?file={$file}";
header("Content-Disposition: attachment; filename=" urlencode($file));   
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Description: File Transfer");            
header("Content-Length: " filesize($file));
flush(); // this doesn't really matter.

$fp fopen($file"r");
while (!
feof($fp))
{
    echo 
fread($fp65536);
    
flush(); // this is essential for large downloads

fclose($fp);
?>
get.php

PHP קוד:
<?php
$file
=$_GET["file"];
$code="123456";
file_get_contents("http://xx.co.il?get={$file}&code={$code}");
?>

אם בא לך לתגמל אותי ככה בקטנה אני ישלח לך paypal בפרטי חח
אתה בעצם מוריד פה מהרשת של עצמך, מה הרעיון? או שלא הבנתי נכון?

לפותח הנושא- מה אתה מנסה לעשות?
קישורים חד פעמיים? שלא יוכלו להשתמש במנהל הורדות?
  Reply With Quote