Jamist
asked on
How to Post data to a PHP webpage from an embedded C application using TCP/IP?
I have an embedded microcontroller that has a working TCP/IP stack written in C, provided by Microchip.
I wish to Post a single phrase "TestPhrase" to a field called "Data" at URL http://www.demoURL.com/TestData.php
I need to be able to post this phrase using C only.
I currently know the basics of html and nothing about PHP.
How should I achieve this?
Many thanks, Jamist
I wish to Post a single phrase "TestPhrase" to a field called "Data" at URL http://www.demoURL.com/TestData.php
I need to be able to post this phrase using C only.
I currently know the basics of html and nothing about PHP.
How should I achieve this?
Many thanks, Jamist
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ray_Paseur is correct. If you are confused on the C Programming side, look into libcurl. Using libcurl you can send information via C including POST data.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.