Search found 3 matches

by emac
Tue Jun 17, 2003 4:09 pm
Forum: PHP - Code
Topic: Files get corrupted in uploads
Replies: 4
Views: 2539

Quite Odd!!! I was tried early with a TextEdit file and with a pdf one: both get corrupted. When you suggest wit Simple Text I tried with a php log file and it wasn´t corrupted!! Then I did with a pdf again and now it works fine ?¿?¿? So I get the originaly file to upload, a Word template: corrupt. ...
by emac
Tue Jun 17, 2003 10:54 am
Forum: PHP - Code
Topic: Files get corrupted in uploads
Replies: 4
Views: 2539

First I write a code full of validation and didn´t work. Then use the simplies one borrow from the manual: <?php $uploaddir = '/Users/edwin/Sites/Congreso03/resumenes/'; // >>>>field name used in form is "resumen"<<< print "<pre>"; if (move_uploaded_file($_FILES&#1111;'resume...
by emac
Mon Jun 16, 2003 6:55 pm
Forum: PHP - Code
Topic: Files get corrupted in uploads
Replies: 4
Views: 2539

Files get corrupted in uploads

Mac Os 10.1.5, PHP 4.1.2, Apache1.2.22 Even with the simpliest code, (in fact copy/pasting example from PHP Manual !) uploading locally, I get files corrupted. I upload a Word file then I´ll can´t open with Word the uploaded file. I tried with move_uploade_file() and copy() also. I treid also with s...