tsilenzio Posted July 26, 2007 Share Posted July 26, 2007 Okay I want to send a variable over to another page, but theres no form, i dont want to use session, and defiently dont want to use get!! so i was wondering would something like: <?php $_POST['someval'] = 12345; header("Location: path/path/somefile.php"); ?> will the value even register inside POST, if so do you think it would stay in there till the next page..? just wodnering! Thanx in advance! Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/ Share on other sites More sharing options...
teng84 Posted July 26, 2007 Share Posted July 26, 2007 dude look if you will go to the next page and what to have the value from the first page post and get and session is the only way??? even if your trying that header thing it requires a query string to be pas to another page tru get Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/#findComment-307541 Share on other sites More sharing options...
tsilenzio Posted July 26, 2007 Author Share Posted July 26, 2007 I know its the onyl way im asking if u can assign a value to $_POST['somevar'] or if the onyl way to assign values to it is thru a form Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/#findComment-307550 Share on other sites More sharing options...
teng84 Posted July 26, 2007 Share Posted July 26, 2007 if your saying this way $_POST['some']='teng'; then pas that into another form like get that valu from another page then no no no Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/#findComment-307555 Share on other sites More sharing options...
tsilenzio Posted July 26, 2007 Author Share Posted July 26, 2007 Okay then ill just use session and unset it after next page, thanx alot man! Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/#findComment-307573 Share on other sites More sharing options...
teng84 Posted July 26, 2007 Share Posted July 26, 2007 dont forget to mark all your posting solved when it is Link to comment https://forums.phpfreaks.com/topic/61770-post-manual-use/#findComment-307579 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.