
adolfo
Novice
Sep 18, 2001, 12:22 PM
Post #1 of 4
(495 views)
|
|
uploading files
|
Can't Post
|
|
Hi people, I made a script to upload files via http these are some lines of the script (open INFO,">$info_upload_dir/$info_outfile"); while ($bytes = read($filename,$data,1024)) { $length_info += $bytes; print INFO $data; } close(INFO); My problem is that the file that I had uploaded with this script has 0 bytes. I don't know why the file's size = 0. Please help me... =( I had chmod the directory to 777 but the problem persists. Thanx for your help! c u ~Adolfo~
|