Dear Mr. Sato: Thank you for writting back! The "link" in my last mail means a TCP connection,FTOCL is a filter command.I used DeleGate as a data process server(http) , Apache as a web server.Using a tcp socket, a php page communicate with DeleGate and I want to get the data processd by ftocl(filter command) in DeleGate. But I failed.The data that returned from tcp socket hadn't been processed. What I wanted is the data processed by ftocl(filter command). However x1.cgi in delegate <--------------------------------->web browser(html <form method = post ......>),the retuned info is right .(all of the data format and data stream diagram is in the attachment) How can i get the data processd by ftocl using a TCP connection? Yours faithfully Xuebing Luo 2007/8/31 2007/8/31, Yutaka Sato < y.sato@aist.go.jp>: > > In message < 6e7fa62f0708300654m63c9e947y914c25b9f0445582@mail.gmail.com> > on 08/30/07(22:54:49) > you "luo xuebing" < xuebingluo@gmail.com> wrote: > |At the begging of developing, I used DeleGate as http server, and use an > |application as ftocl to filter the http messages sent by the server. Then > |when a PHP Page in apache web server needs http message processed by > ftocl, > |I try to build a link between PHP Page and DeleGate, but I only get the > > |information sent directly from DeleGate, without being processed by > ftocl. > |How can I link the DeleGate to get this information? > > I don't know what you mean by "link" and what you did exactly with > DeleGate. > Filtering HTTP response with an external command can be done with > FTOCL=command or FTOCL=script.cfi as described in the manual. > <URL: http://www.delegate.org/delegate/Manual.htm?CFIscript > > You will find helpful information by searching the word "FTOCL" or the > name > of the filter command in your logfile of DeleGate. > > Cheers, > Yutaka > -- > 9 9 Yutaka Sato < y.sato@delegate.org> http://delegate.org/y.sato/ > ( ~ ) National Institute of Advanced Industrial Science and Technology > _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan > Do the more with the less -- B. Fuller >