drisate Posted October 1, 2008 Share Posted October 1, 2008 hey guys. i need to make a php script that will open a webpage, insert data into a form submit the data, open a link, analyse the data of the page. I know that not impossible to do ... but i don't know where to start. can somebody point me in the right direction? Quote Link to comment Share on other sites More sharing options...
aximbigfan Posted October 1, 2008 Share Posted October 1, 2008 Mind if I ask why you want to do this? Chris Quote Link to comment Share on other sites More sharing options...
trq Posted October 1, 2008 Share Posted October 1, 2008 curl. Quote Link to comment Share on other sites More sharing options...
drisate Posted October 1, 2008 Author Share Posted October 1, 2008 yeah it's for an auto payment from my website using a gateway prosessor direcly to my member. Long storry hehe. Thx, let me investigate curl Quote Link to comment Share on other sites More sharing options...
aximbigfan Posted October 1, 2008 Share Posted October 1, 2008 Oh, ok, so it isn't something that needs to _find_ fields to send data to. Curl would be your best bet, but you could also do it with fsock open, and sending the headers with fputs, and then sending that data that way too. Dada could be received with stream_get_contents(); .... Or you could just do curl and save yourself the effort... Chris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.