Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...