graham23s Posted August 30, 2007 Share Posted August 30, 2007 Hi Guys, when this script executes i really need the number of uploads to go with the header so i know how many upload sections to input: if(($uploadsneeded) > 1) { $uploadsneeded = $_POST['uploadsneeded']; header("Location: uploadmultiplefiles.php"); } the range is from 1-5 and is stored in: $_POST['uploadsneeded']; is there away to carry this value onto the uploadmultiplefiles.php page? thanks guys Graham Link to comment https://forums.phpfreaks.com/topic/67329-solved-possible-to-have-hidden-field-in-header/ Share on other sites More sharing options...
ToonMariner Posted August 30, 2007 Share Posted August 30, 2007 you could pass it in the url header("Location: uploadmultiplefiles.php?numfile=" . $_POST['uploadsneeded']); then in the uploadmultifiles script look fro $_GET['numfile'] to give you the number. Link to comment https://forums.phpfreaks.com/topic/67329-solved-possible-to-have-hidden-field-in-header/#findComment-337782 Share on other sites More sharing options...
graham23s Posted August 30, 2007 Author Share Posted August 30, 2007 Thanks TM that worked great:) Graham Link to comment https://forums.phpfreaks.com/topic/67329-solved-possible-to-have-hidden-field-in-header/#findComment-337804 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.