File Upload Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zorropelon
Forum Newbie
Posts: 1
Joined: Tue Jan 03, 2006 9:58 am

File Upload Error

Post by zorropelon »

I just finished a program in witch the user could upload a .csv file that contains very important info, which needs to be inserted into the database.
I tested the function and it was ok.
The thing is that I don't know why but I just tested it and does not work any more.
The error that display is the following.

Warning: Only 0 bytes were written, expected to write 5119 in Unknown on line 0

And what it does is that the program uploads a 0 bytes file instead of the complete one.
Could it be server definition problems?
Any ideas?

Thanks.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Try posting your code first, perhaps there is something more obvious there. If not, then we'll dig a little deeper ;)
Post Reply