Hi dz,
Yep I checked just submitting a regular HTML Form ...worked perfectly.
So there is something wrong with Overbyte.it's something François would
have to look at.
Hey...I'm down to submiting a single Key/value pair and it still doesn't
work...there are no examples for
Simple F
Gary Howard wrote:
What else could possibly be wrong?
Does posting a simple HTML form to the script using the browser work?
I haven't used PHP in a long time, but I seem to recall that there was
something that needed to be done in the script in order to access global
variables...
In any
Hi
I Tried Single and Double Quotes.$_POST array is still empty
I also took out the Submit part as well ...still nothing
This is such a simple example I don't know what else to do to simplify it.
So I'm left with ...
Buf := 'FirstName=Gary';
here is the Entire PHP Script...
Gary Howard wrote:
// Buf := DataEdit.Text; // commented out this
// Below is the Only Line I changed in the whole program
Buf := '"FirstName=Gary&Submit=Submit"'; //this is the only mod
Try it without the double-quotes:
Buf := 'FirstName=Gary&Submit=Submit';
Note
Hi
this is the Post Function from the example "OverByteHttpTst1"
the only code I have changes is marked below
I have done a print_r($_POST) and verified my _Post array is indeed empty..
procedure THttpTestForm.PostOrPut(Request: THttpRequest);
var
DataOut : TMemoryStream;
Data
Gary Howard wrote:
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?
Please post your Delphi code
Hi,
>> What would be the reason(s) that I am not able to do the same thing with
>> this new device? Error 10049 says I cannot bind to the remote address.
>Because you call listen !
I am calling Connect.
Using UDP, I have another application, I set the addr property to the remote
IP address, set
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 -040
> 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;
> so I guess my question is what does a valid POST string look like?
It is not so much what it looks like, but what the PHP script is
expecting that matters, and ev
...originating only from that interface.
I have done that kind of binding before using LocalAddr. I assume it would
be the same property for UDP.
No, that is different. Actually a socket has two ends: one local and one
remote. Each has his IP an port number. When you use a socket for listenin
Gary Howard wrote:
my PHP script Looks like running PHP5.2
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:
dZ.
--
To unsubscribe or change your settings for TWSocket
Hi,
Thanks.
> ...originating only from that interface.
I have done that kind of binding before using LocalAddr. I assume it would
be the same property for UDP.
OK. I have another application where I am using UDP and I set the addr
property to the remote IP address. Then I call connect, use send
Using address 0.0.0.0 instruct TWSocket to listen on all the interfaces in
the computer.
The alternative was to use only one of the IP adresses of the computer and
then TWSocket would accepte connection originating only from that interface.
You cannot set an IP address of an external device and a
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 greatI'm
using D
Hi,
Thanks.
I set the addr to 0.0.0.0, switched to SendTo and the reply was correct.
Since I will be communicating with many of these external devices I wanted
one TWSocket for each external device, that was why I set the addr field to
the external devices IP address. Using 0.0.0.0 it appears a
There is a new version 1.2.4 of Zlib at http://zlib.net/.
Could some kindly person that understands C possible recompile the new
version with C++ Builder into new OBJ files, so I can incorporate them
into ICS?
The zlib release notes suggest this is bug fixes and performance, no
known security
Hi,
> WSocket1.Addr:='192.168.1.2';
> WSocket1.port:='9600';
> I get an error 10049.
Means you cannot bind to that address. '192.168.1.2' is the address on the
remote machine, you can not listen on that.
> The only difference I can see is the sending local port number is not
9600.
This should m
17 matches
Mail list logo