I have a php script that needs to check license codes from a database which exists on a ASP site. I was wondering how I can have a script submit the form and check if there is a result or no results, either the license matches or it doesn't? This is the site I want to check: http://bits.swebowl.se/MaintainLicences.aspx Code (markup): Got any ideas on tutorials or examples on how to do this? How can I run a query on the ASP site using php? Thanks!
I was talking about your webhost. If it supports, do you have the validation script already, or do you still have to make it?
Yes my web host does support it, no I dont have the script written yet, it would be fairly simple though, a user fills out a form with their license number and hits submit, then there needs to be a check if the license is in the database, if it isn't in the database on the asp site my script would show an error, if it is on the site my script would add the new user to my sites database. I was trying to figure out how to submit the asp form so that I could parse the results? I can write the rest of the script, I just dont know how to make the asp site show the results for my php script
Anyone have any idea on how to do this, submit and then parse the results of an asp form using a php script?
You don't "submit the asp form", you call that site's API, giving it the license information and it gives you back the yes/no response. You don't use a site to "submit" on another site, or you'll quickly find your site blocked from that site. Since I don't read (or understand) Swedish, I can't tell you whether there's any API information there, or whom to contact to ask.