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" /> 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']; 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 Link to comment https://forums.phpfreaks.com/topic/54030-solved-post-value-empty/#findComment-267266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.