Briefly, I want to connect remote MYSQL firewalled database to my C# program

I tried lots of scripts, also I made my script but it was too difficult to be true made a whole web service based DMS

SSH is NOT available by the way

The process is few words
C# <-> HTTP <-> PHP <-> MYSQL
this is the way I wish it !

The Question is :
Can you please point me to a good PHP web-service that can be invoked by a SQL HTML line of code and return me results ?

in advance . please don't say SQLYOG ( as I can't invoke php functions from c# :S )

Thanks =)

有帮助吗?

解决方案 2

After a month searching this problem, I foung the Answer

其他提示

I'm not sure such a thing would exist, you may need to write your own web service in PHP to perform the specific queries needed by your C# application.

If someone sniffed your application's HTTP connections, they could easily figure out how to call your service and send any SQL queries they wanted to your database. Then they would be able to select any records, insert, or even delete unless there were extremely complex rules to prevent certain types of queries from going through.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top