Re: [PHP] File uploading and saving info on mysql

2007-05-04 Thread Marcelo Wolfgang
Richard Lynch wrote: Browsers will probably NOT populate these reliably... Mac Safari, might, for example, choose "application/x-pdf" for the PDF file. You really can't rely on 'type' to be useful in any way, shape, or form. Thanks for the tips, I've deleted this check, and changed how I ch

Re: [PHP] File uploading and saving info on mysql

2007-05-03 Thread Richard Lynch
On Thu, May 3, 2007 3:23 pm, Marcelo Wolfgang wrote: > I'm developing for my first time an upload file form which will > populate > a sql insert query, I think I got everything working fine, but the > data > isn't been saved on the database. Can someone help me with what I'm > doing wrong here ? >

Re: [PHP] File uploading and saving info on mysql

2007-05-03 Thread Jim Lucas
Marcelo Wolfgang wrote: Hi all, I'm developing for my first time an upload file form which will populate a sql insert query, I think I got everything working fine, but the data isn't been saved on the database. Can someone help me with what I'm doing wrong here ? the code follow: 0) {

[PHP] File uploading and saving info on mysql

2007-05-03 Thread Marcelo Wolfgang
Hi all, I'm developing for my first time an upload file form which will populate a sql insert query, I think I got everything working fine, but the data isn't been saved on the database. Can someone help me with what I'm doing wrong here ? the code follow: 0) { echo "Return Code: "