2007-03-13, 11:17 PM
hey, i've got some troubles with attachments, i can upload easly, but when i download it, the attachement is corrupted, and i can't open.
when i opened a txt, the file come with the windows PATH atached in the first line of the file...
example :
--------------------------------file begin------------------------------
C:\Windows Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\system32\WBEM;C:\Program Files\MySQL\MySQL Server 5.0\bin ----------------155712914028823
Content-Disposition: form-data; name="icon"
-1
-----------------------------155712914028823
Content-Disposition: form-data; name="message_new"
Solucao do 1º trabalho de labp feito por mim
-----------------------------155712914028823
Content-Disposition: form-data; name="message"
Solucao do 1º trabalho de labp feito por mim
-----------------------------155712914028823
Content-Disposition: form-data; name="attachment"; filename=""
Content-Type: application/octet-stream
-----------------------------155712914028823
Content-Disposition: form-data; name="numpolloptions"
2
-----------------------------155712914028823
Content-Disposition: form-data; name="submit"
Update post
-----------------------------155712914028823
Content-Disposition: form-data; name="action"
-----------------------------------file end-----------------------------
help...
thanks a lot :d
when i opened a txt, the file come with the windows PATH atached in the first line of the file...
example :
--------------------------------file begin------------------------------
C:\Windows Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\system32\WBEM;C:\Program Files\MySQL\MySQL Server 5.0\bin ----------------155712914028823
Content-Disposition: form-data; name="icon"
-1
-----------------------------155712914028823
Content-Disposition: form-data; name="message_new"
Solucao do 1º trabalho de labp feito por mim
-----------------------------155712914028823
Content-Disposition: form-data; name="message"
Solucao do 1º trabalho de labp feito por mim
-----------------------------155712914028823
Content-Disposition: form-data; name="attachment"; filename=""
Content-Type: application/octet-stream
-----------------------------155712914028823
Content-Disposition: form-data; name="numpolloptions"
2
-----------------------------155712914028823
Content-Disposition: form-data; name="submit"
Update post
-----------------------------155712914028823
Content-Disposition: form-data; name="action"
-----------------------------------file end-----------------------------
help...
thanks a lot :d