this.user Posted November 27, 2010 Share Posted November 27, 2010 lets say I have two pages: one.php two.php Now with that in mind, is there a way for page one.phpto automatically post values to page two.php viathe $_POST variable? Link to comment https://forums.phpfreaks.com/topic/219964-using-php-to-post-to-a-to-a-another-page/ Share on other sites More sharing options...
Pikachu2000 Posted November 27, 2010 Share Posted November 27, 2010 What do you mean "automatically"? Link to comment https://forums.phpfreaks.com/topic/219964-using-php-to-post-to-a-to-a-another-page/#findComment-1140211 Share on other sites More sharing options...
this.user Posted November 27, 2010 Author Share Posted November 27, 2010 What do you mean "automatically"? What I mean, is as soon at the user hits one.php, he/she is redirected to two.php. I am not looking to use the Header function, I need to redirect and post to two.php. Link to comment https://forums.phpfreaks.com/topic/219964-using-php-to-post-to-a-to-a-another-page/#findComment-1140212 Share on other sites More sharing options...
revraz Posted November 27, 2010 Share Posted November 27, 2010 Does the FORM use two.php as it's action? Link to comment https://forums.phpfreaks.com/topic/219964-using-php-to-post-to-a-to-a-another-page/#findComment-1140221 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.