View Single Post
ישן 24-01-06, 16:51   # 17
ViPeRt
חבר מתקדם
 
ViPeRt's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: איזור המרכז
גיל: 37
הודעות: 632
שלח הודעה באמצעות ICO אל ViPeRt שלח הודעה באמצעות MSN אל ViPeRt

ViPeRt לא מחובר  

PHP קוד:
 
$filename 
$_GET['file']; 
$file "log/{$dir}{$filename}"
header("Content-type: application/txt"); 
header("Content-Disposition: attachment; filename={$file}"); 
readfile($file); 
תנסה את זה
__________________
תומר, מתכנת אתרים מקצועי ב PHP

קיצור כתובת אתרים בחינם Katzr.Net




  Reply With Quote