By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

Problem gettin a value from a file input

P: 42

<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
<font size='3' face='Tahoma' color="black"> Localização:&nbsp;&nbsp; <input type="file" name="userfile" /><br>

This code has something wrong??? The problem is that when i try to get the input value from the userfile, it always go blank :S
Jul 27 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 5,821
Heya, Rambaldi.

File inputs work a little differently. See this document.
Jul 27 '07 #2

P: 42
Thanks, i solve my problem []
Jul 27 '07 #3

Expert 5K+
P: 5,821
Glad to hear you got it working! Good luck with your project, and if you ever need anything, post back anytime :)
Jul 27 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.