How to receive messages from a site ?

Puiu

Regular
Joined
Oct 6, 2004
Messages
90
I need to help a friend and make him a program in vb.net that will receive some ticket numbers from a website and check those numbers against a mysql database.
The problem is that the site will most likely be built in php…
How do I make the connection between that php site and my application ?
Does anyone have any suggestions on where to start looking ?
Thank you
 
Building it into the website would be the best thing to do.

If you don't have access to the code, or want to do it in an external app...

Im assuming the ticket numbers are being generated by a php function.

Most likely there will be a form whose action is to post data to this function.

Find the function and the data you need to post (ex. www.somesite.com/makenumber.php?user=jack&pass=crap&seed=12837) and make an httpRequest.
You will receive a response with your numbers.

Query this forum for 'httprequest' if you need to see an example of implementing that.
 
Back
Top