Re: [twsocket] HttpCli extract Header Variable together with php

2009-03-24 Thread wayne forrest
Hello Francois, you are right, it is header lines that I am referring to, "Header-Name: value", ending with CRLF. I find it strange that If I use the above format, I am unable to extract the value using HttpCli1.RcvdHeader.Values['Header-Name']; If I use the following format, I am able to extrac

Re: [twsocket] HttpCli extract Header Variable together with php

2009-03-23 Thread Francois PIETTE
>I am not sure how to extract a header variable with ICS HttpCli together > with php No sure about what you mean by "header variable". As far as I know, there is no such concept in HTTP protocol. Maybe you mean "header line" ? -- francois.pie...@overbyte.be The author of the freeware multi-tier

[twsocket] HttpCli extract Header Variable together with php

2009-03-23 Thread wayne forrest
I am not sure how to extract a header variable with ICS HttpCli together with php Below is what I have tried: *DELPHI* Memo2.Lines.Add('MyVar =' + HttpCli1.RcvdHeader.Values['MY_VAR']); * PHP* header("MY_VAR=$alist"); I also tried this line below header("MY_VAR: MY_VAR=$alist"); -- To unsub