[PHP] http_post_files not returning file type

2001-05-01 Thread Tomasz Abramowicz
this is taken straight from phpinfo(), as you can see its all there except for type. I was wondering why wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1 know what the file type was... HTTP_POST_FILES["userfile1"] Array ( [name] => palazzina1.jpg [type] => [tmp_name] => /tmp/phpewzSB

Re: [PHP] http_post_files not returning file type

2001-05-02 Thread Richard Lynch
> this is taken straight from phpinfo(), as you can see > its all there except for type. I was wondering why > wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1 > know what the file type was... Because your browser didn't tell it? I'm pretty sure that info comes *from* the browser... PHP really ha