dsaba Posted March 14, 2007 Share Posted March 14, 2007 Hey I am quite familiar how to create a php page that POSTS or REQUESTS variables sent by an html form HOWEVER, I am wondering if it there is a way I can post variables to another php page or page in general, with php, and skip the form all together, for example: I have this page that POSTS information from an html form it make $id = $_POST['id']; this page is called formprocess.php now what i want to do is instead of having to use the html form to actually submit this data to formprocess.php, i want to submit this data with php I have a page called send-data.php i want this page to send the 'id' variable straight to the formprocess.php page with no html form are you following me? is there a way to do this or not? i can explain more if neccesary-thanks Link to comment https://forums.phpfreaks.com/topic/42650-posting-to-php-without-html-form/ Share on other sites More sharing options...
dsaba Posted March 14, 2007 Author Share Posted March 14, 2007 ok i read about the curl library and its functions off php.net can someone just give me an outline code, or alogorithim with the curl functions for posting $id to the formprocess.php page from the send-data.php page Link to comment https://forums.phpfreaks.com/topic/42650-posting-to-php-without-html-form/#findComment-206930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.