MySQL - php script - hack

Hello.
The test project works....
key and SQLKEY are a match

Senior1954

OK, good. Does this tell you something about your main php script and blocks ?

I tried to send both associative arrays and indexed arrays to the server....but it doesn't appear on the server side in php.... As if there was some problem with POST arrays...

I would simplify what you are doing, get that working, then build on it, step by step, testing as you go.

My test (better.php), for example, is a possible starting point...

Question: to begin with, it would not be enough to send via POST only the UriEncode query on the server, decode it and run it... Is this weak security? Can a hacker get into the query and change it?

Possibly.

The secret key is a first step, but you would need to modify your code considerably to prevent sql injection. Taifun links to sql injection prevention methods, as does the W3Schools php examples (which are a bit easier to understand and implement).

OK. Thank you so much for your patience!
Senior1954