Re: Re[2]: [PHP] weird problems with file uploads

2001-05-11 Thread Mpeglitis Nikos
> well, is your form enctype="multipart/mixed" and method="post" ? > > did you use open($file, "rb"); (b is important 4 binary) > > did you use addslashes when storing the file in mysql ? > > well, you ought to specify the problem more exactly... > Well, it was that addslashes() stuff :) Thank

Re: [PHP] weird problems with file uploads

2001-05-11 Thread Mpeglitis Nikos
> I'm trying to implement a file upload on a website so people can send us > files of their work and I'm having a fantastic success with text files. > The problem comes when I try to upload binary files such as zip or mp3, > when I get the typical file attack error mesage from the script, in > oth