corillo181 Posted June 2, 2007 Share Posted June 2, 2007 why those evertything else has a value but not the filefeild one if(isset($_POST['Upload'])){ $galleryid=$_POST['galleries']; $picture=$_POST['filefield']; $descrive=$_POST['textfield']; echo $picture; echo '<br>'.$galleryid; } <input type="file" name="filefield" id="filefield" /> Quote Link to comment https://forums.phpfreaks.com/topic/54030-solved-post-value-empty/ Share on other sites More sharing options...
Solarpitch Posted June 2, 2007 Share Posted June 2, 2007 Try using $picture=$_FILES['filefield']; instead of $picture=$_POST['filefield']; Quote Link to comment https://forums.phpfreaks.com/topic/54030-solved-post-value-empty/#findComment-267162 Share on other sites More sharing options...
corillo181 Posted June 3, 2007 Author Share Posted June 3, 2007 thanks that worked. with the [tmp_name] added Quote Link to comment https://forums.phpfreaks.com/topic/54030-solved-post-value-empty/#findComment-267266 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.