nadeemshafi9 Posted May 26, 2009 Share Posted May 26, 2009 hi guys i am comminicating with the bank servers and basicaly i cant use there forms and there prewired js submited iframes etc because of firewall rules. i need to extract the action and input hidden and text fields from there forms and cURL them , my algorithm uses a explode explode explode but its not effective it falls when there is a space or the input type is different etc. i need some regex that will take the input feilds out completly and place them into an array or a string then i need the names of each input and there types and i also need the action of the form. Any quickies all good Thanks Link to comment https://forums.phpfreaks.com/topic/159679-need-to-extract-input-element-and-input-name-and-action-from-form-html-doc/ Share on other sites More sharing options...
zq29 Posted May 26, 2009 Share Posted May 26, 2009 Regular Expressions preg_match_all() Link to comment https://forums.phpfreaks.com/topic/159679-need-to-extract-input-element-and-input-name-and-action-from-form-html-doc/#findComment-842284 Share on other sites More sharing options...
nadeemshafi9 Posted June 1, 2009 Author Share Posted June 1, 2009 Regular Expressions preg_match_all() thanks for looping me back to my own first thoght lol yes your right i probably should just RTFM and do it will be good everything can be achived with them. Link to comment https://forums.phpfreaks.com/topic/159679-need-to-extract-input-element-and-input-name-and-action-from-form-html-doc/#findComment-847168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.