trapping http response from a uri after submitting a form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
goremo
Forum Newbie
Posts: 3
Joined: Sun Jun 26, 2005 3:35 am

trapping http response from a uri after submitting a form

Post by goremo »

Consider a page that is ment to submit a form using post method containing two parameters (for bulk sms services).

The sms service only specifies the required parameters.

I can't figure out how to submit the form and trap the response from the uri so that my php application can assess the response and customize application behavior depending on what the response.
User avatar
senthilnayagam
Forum Newbie
Posts: 17
Joined: Wed Jun 08, 2005 5:36 am
Location: Bangalore

simpletest scriptable browser

Post by senthilnayagam »

use

simpletest scriptable browser
http://www.lastcraft.com/simple_test.php

or

snoopy
http://snoopy.sourceforge.net/



they act as browser, and you can check all the responses too


have used it for automated testing and screen scraping applications too


regards
Senthilnayagam
Post Reply