|
Posted by Andy Jeffries on 11/10/67 11:46
On Mon, 01 May 2006 19:27:48 -0700, Areric wrote:
> Hey all, im running php5 on a suse linux box. Im writing a file upload
> script. Currently i can pull the temporary filename out of the post data
> but i cant seem to open that for reading. Its stored in /tmp. Can anyone
> think of a reason why i can upload stuff but not read it once its there?
Have you got the right "enctype" on the upload form tag? I think it's
multipart/form-data but I'm not 100% sure (I have a template for it set
up in gPHPEdit).
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|