1

i am creating an windows application in c#. in this application i am creating an feed back form for client feedback. now i want to submit all data this feedback form to my on site.

The the puzzle is that my website is in PHP .

should i go with this combination?

i min c# app and PHP website and sent data via url and grab it on site using GET method, or i need to create a separate website in asp for this action and if you say YES the please tell me .

how to do this action in ASP

thanks

Md. Parvez Alam
  • 4,326
  • 5
  • 48
  • 108
sourabh devpura
  • 605
  • 8
  • 25
  • http://stackoverflow.com/a/8538892/1447657 - had you have a look at this? then use `$_GET` or `$_POST` in PHP to get the data. – Jonathan Aug 02 '13 at 09:37

4 Answers4

1

You can simple send a Get/Post-Request to your PHP-Page: Generate HTTP Requests using c#

and then Read the data via: $Get or $Post.

You can do the same with ASP.Net, via QueryString:

string cParam = Request.QueryString["param"];
BendEg
  • 20,098
  • 17
  • 57
  • 131
1

Your Website language doesn't really matter as long as you code to get the proper form values. You can use a GET or a POST as well based on type and quantity of data sent across.

You can HTTPRequest and HTTPResponse classes to send response to the Website.

nonexistent myth
  • 135
  • 1
  • 14
0

I just got the answer . This question may already have an answer here

pass string from C# Windows Form Application to php webpage

Community
  • 1
  • 1
sourabh devpura
  • 605
  • 8
  • 25
0

Use Same Data base, and place data from window application and get it from web application

SANDEEP
  • 1,062
  • 3
  • 14
  • 32