[PHP] What's this _FILE junk?

2003-03-17 Thread Liam Gibbs
This line: INPUT TYPE = FILE NAME = imprintpicture SIZE = 22 when clicking submit, produces nothing. I print_r $_FILES[imprintpicture], I try to echo $_FILES[imprintpicture][name] or [tmp_name] and nothing comes up. Any reason?

Re: [PHP] What's this _FILE junk?

2003-03-17 Thread Pete James
Is your form enctype set? Like so: form name='foo' method='post' action='foo.php' enctype='multipart/form-data' Liam Gibbs wrote: This line: INPUT TYPE = FILE NAME = imprintpicture SIZE = 22 when clicking submit, produces nothing. I print_r $_FILES[imprintpicture], I try to echo

Re: [PHP] What's this _FILE junk?

2003-03-17 Thread Richard Whitney
A couple of other things: Some versions or settings of PHP don't like the $_FILE thing. If your enctype is set try just print '[]'.$imprintpicture; The brackets are just to print SOMETHING to the page if $imprintpicture produces nothing HTH Quoting Pete James [EMAIL PROTECTED]: ### Is your

Re: [PHP] What's this _FILE junk?

2003-03-17 Thread CPT John W. Holmes
Is enable file uploads turned on in php.ini?? ---John Holmes... - Original Message - From: Pete James [EMAIL PROTECTED] To: Liam Gibbs [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:33 PM Subject: Re: [PHP] What's this _FILE junk? Is your form enctype set? Like

Re: [PHP] What's this _FILE junk?

2003-03-17 Thread Liam Gibbs
Is your form enctype set? That might be it and I think it's it and OH yes that was it. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php