<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>4 Sep 2015 13:37:00 Z</lastBuildDate><pubDate>3 Sep 2015 18:13:00 Z</pubDate><description>Hi All,&#13;
&#13;
I am still scratching my head as to how to send data from an Android app via httpsendform and a php site and wondered if someone could help.&#13;
&#13;
I have a php form with 3 fields; UID, Name and photo, and a 'Save' button. This can be filled in directly online, eg www.mysite.com/TestTable_add.php&#13;
&#13;
What code do I need to send the data from an Android app and save on the server? Also, what is the approach with images when uploading into a database, or into a folder with a reference on the database?&#13;
&#13;
for example if the photo is going into an image field:&#13;
&#13;
HTTPCreateForm("FORM")&#13;
HTTPAddParameter("FORM", "UID", "100")&#13;
HTTPAddParameter("FORM", "Name", "Test Name")&#13;
HTTPAddParameter("FORM", "Photo", "??????")&#13;
HTTPSendForm("FORM", "www.mysite.com/TestTable_add.php")&#13;
&#13;
Is this correct? I'm not sure which IP address I should be using, for example.&#13;
&#13;
Thanks&#13;
&#13;
Pete</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form/read.awp</link><title>Simple example send data to php form</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53875/read.awp</comments><pubDate>4 Sep 2015 13:37:00 Z</pubDate><description>OK I have a very simple version working, using php and MSSQL&#13;
&#13;
WM form with two fields (EDT_TestID and EDT_Name) and a 'send' b…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53875/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53875/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form/read.awp">Simple example send data to php form</source><title>Re: Simple example send data to php form</title></item><item><author>kjvanaltena</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53864/read.awp</comments><pubDate>4 Sep 2015 08:39:20 Z</pubDate><description>look in this thread:&#13;
http://forum.pcsoft.fr/en-US/pcsoft.us.windevmobile/1232-upload-image-with-httprequest/read.awp</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53864/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53864/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form/read.awp">Simple example send data to php form</source><title>Re: Simple example send data to php form</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53861/read.awp</comments><pubDate>3 Sep 2015 21:15:00 Z</pubDate><description>Hi Pete,&#13;
&#13;
I think you better make a webservice then sent from the mobile app to the webservice and let the webservice do the s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53861/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form-53861/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53856-simple-example-send-data-php-form/read.awp">Simple example send data to php form</source><title>Re: Simple example send data to php form</title></item></channel></rss>
