Hi 

 

It seems PHP does not like the way the data is "POST"

there appears to be nothing in the _POST array...hence nothing to return

 

shouldn't you simply be able to  OutString := 'IDString=ABCD"

then load the DataOutStream with OutString?

 

Gary


 
> Date: Wed, 24 Mar 2010 13:23:27 -0400
> From: d...@caribe.net
> To: twsocket@elists.org
> Subject: Re: [twsocket] POST and PHP
> 
> Gary Howard wrote:
> > my PHP script Looks like.... running PHP5.2
> > 
> > 
> > 
> > <?php
> > 
> > $ID = $_POST["IDString"];
> > echo $ID;
> > 
> > ?>
> 
> Without analysing the code, it occurs to me that the output is missing 
> the HTTP header, therefore, the component may not detect the output.
> 
> Try this:
> 
> <?php
> $ID = $_POST["IDString"];
> 
> # Output header:
> echo "Content-Type: text/html\n\n";
> echo $ID;
> ?>
> 
> dZ.
> 
> --
> 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
                                          
_________________________________________________________________
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