Hi

 

I'm a new ICS user so forgive me if my questions seem simplistic.

 

What I'm trying to accomplish is...

 

POST a string to a PHP script on the web server and simply have it return 
another  string;

I've compiled the sample HTTP Post  example projects and they work great....I'm 
using Delphi 2010 BTW. 

 

so I guess my question is what does a valid POST string look like?

I have tried...

 

DataOutButf : String;

DataOutBuff := "IDString=ABCD&Submit=Submit";     // with and without the 
"Submit"

 

my PHP script Looks like....   running PHP5.2

 

<?php

$ID = $_POST["IDString"];
echo $ID;

?>

 

example program Overbyetst1...

says it completes the post...however

"No Document returned"

the   HttpCli1.ContentLength = 0

 

Could someone telling what am I doing wrong? am I going about this the right 
way?

 

Thanks

Gary

 

 

 

 
                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to