Uploading data to a webserver i.e database (MYSQL) [closed]?

On the web server, set up a database, and two PHP scripts that can connect to it. The first PHP script is for sending data: it will read any request that comes in, parse it, verify that it comes from a trusted source, converts it to a suitable format for internal storage, and runs one or more SQL queries to store the data. The second PHP script is for reading data: it reads some parameters from the request, and uses them to query the database.It fetches results from the database, converts them to JSON (json_encode()), and writes the results into the response.

Don't forget to set a suitable content-type header. Then you need a VB.NET application to talk to the first script. To store data, it needs to convert it into the format that your first PHP script expects, and make a HTTP request sending this data.

To consume data from the second script, all you need to do is make a web request (say, from Javascript, or from your android application), parse the JSON back into something you can work with, and present it to the user. For communication between the VB. NET script and the PHP script, you can use JSON, but depending on the data, something XML based, or maybe comma-separated or plain text, could also be suitable options.

Since these are basically two servers talking to each other, content-type restrictions as implemented in most web browsers do not apply.

. Net Framework 4 has built-in JSON support (msdn.microsoft. Com/en-us/library/bb410770.

Aspx). Plus, there are 3rd party libraries like Json. NET (json.codeplex.Com) – Christian Specht Oct 8 at 15:55 @Christian Specht: Good point there.

Edited. – tdammers Oct 8 at 18:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions