Execute SQL command in a virtual machine

0

I have a form, which has the login and password fields.

I want to do an update command in sql on a virtual machine of course, whoever runs the program will not have privileges to execute commands in the virtual machine.

I want to update this way for example (I know the command is not right, it's just a simplified example):

UPDATE 'launcher' = 0 WHERE 'account' = textbox.Text and 'login' = textbox2.Text

So, how can I do this? I know the best way to do this query is by a php inside the virtual machine I want to access the database just to give an update. Even for safety.

In short: I want to send the login and password to the PHP program and it should execute the query with both data.

I know the code in php and the structure in C #, but I do not know how to make this connection to php by passing the variables.

    
asked by anonymous 26.05.2015 / 22:37

0 answers