Puiu Posted January 12, 2006 Posted January 12, 2006 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 Quote
Diesel Posted January 12, 2006 Posted January 12, 2006 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. http://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. Quote
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.