Re: What's this _FILE junk?

From: Date: Mon, 17 Mar 2003 20:38:05 +0000
Subject: Re: What's this _FILE junk?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-140033@lists.php.net to get a copy of this message
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 <Pete_James@advanis.ca>: ### 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 $_FILES["imprintpicture"]["name"] ### or ["tmp_name"] and nothing comes up. Any reason? ### > ### ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- Richard Whitney * Transcend Development Producing the next phase of your internet presence. rw@xend.net * http://xend.net * 602-971-2791 * * * * * *__ * * _/ \___ * * / * \* * */ * * \ * */\_ |\ / \_ / \ / \____/ \ / \ / \ / \

« previous php.general (#140033) next »