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? Link to comment https://forums.phpfreaks.com/topic/126562-php-bot/ 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 Link to comment https://forums.phpfreaks.com/topic/126562-php-bot/#findComment-654483 Share on other sites More sharing options...
trq Posted October 1, 2008 Share Posted October 1, 2008 curl. Link to comment https://forums.phpfreaks.com/topic/126562-php-bot/#findComment-654484 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 Link to comment https://forums.phpfreaks.com/topic/126562-php-bot/#findComment-654491 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 Link to comment https://forums.phpfreaks.com/topic/126562-php-bot/#findComment-654812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.