Link to home
Start Free TrialLog in
Avatar of Jamist
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
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ITTallahassee
ITTallahassee

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
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial