Hi..
I finnished my VB Program that grabs the Physical HDD Serial and I included an invisible "WebBrowser Control".. so now I programmed that Program to send the serial to a PHP file : http://www.mysitename.com/register.php?serial=(Serial No. grabbed)..
So now.. how to make this PHP file gets this value and put it in a hidden field in it? (The register.php page contains a Registration Form like : Desired Username & Password, Telephone No...Etc.)
So the VB Program will open : http://www.mysitename.com/register.php?serial=(Serial No. grabbed).. and then the PHP page will put the serial number whith the form as a hidden value that can't be changed by a user.. and when the form submitted to the mySQL Database.. all the imformation will be inserted to the database includes the serial number..
And the same at the login.php page.. it will grab the serial as a hidden value.. but at this time there will be a verification between the serial grabbed and the one in the database. (The login.php page of course includes two fields "Username & Password" so.. after verifiying these two fields.. then the page will check the grabbed serial with the one at the database for this user.. if they are the same then it will redirect him to another page..
A very important notice : the "WebBrowser Control" is invisible.. so the pages that will be opened will not be shown for the user.. so how can he enter the login information?
My project is an E-Learning System.. and I will use the HDD Serial as a verification. (Because I want every account works only on one PC) so the serial number will be added in the registration form to the database and at the login page will be as a proof that this PC had the same serial in the database.. so he can start the lessons..
I don't want the user to see the URL of the PHP page.. because he will see the serial number and he can easylly change it.. and at the same time as I said.. if I made the "WebBrowser Control" invisible.. the user will not see the registration and login forms 🙂. So how to solve this?
Waiting your replies..
Thanks for advance 🙂
cheers,,