You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by RAJESH SEGU <ra...@yahoo.com> on 2005/06/07 10:28:08 UTC

[users@httpd] One request different modules?????

I have a problem, here is my requirement.
I have written my 'xyz' module which processes the
request and converts the some specific code into PHP
code[which is the response of my module]. This
html+php generated by my module must be passed on to
the PHP module for processing the PHP code within. 

In simple PHP module must process the code generated
by my 'xyz' module. 

Initially my understand between modules was that html
response from one modules output filters passes on to
the subsequent modules input filter. But I came to
find myself newbie....!!!! Can anyone please explain
me how response from one module can be passed on as a
PHP request. 

I have a doubt as to whether PHP interprets 'inmemory
code' or only in the file format. Please give me some
insights.

Thanks in Advance.....!



Fresher Jobs: http://groups.yahoo.com/groups/jobs_mania


		
__________________________________ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] One request different modules?????

Posted by Joshua Slive <js...@gmail.com>.
On 6/7/05, RAJESH SEGU <ra...@yahoo.com> wrote:
> I have a problem, here is my requirement.
> I have written my 'xyz' module which processes the
> request and converts the some specific code into PHP
> code[which is the response of my module]. This
> html+php generated by my module must be passed on to
> the PHP module for processing the PHP code within.
> 
> In simple PHP module must process the code generated
> by my 'xyz' module.
> 
> Initially my understand between modules was that html
> response from one modules output filters passes on to
> the subsequent modules input filter. But I came to
> find myself newbie....!!!! Can anyone please explain
> me how response from one module can be passed on as a
> PHP request.
> 
> I have a doubt as to whether PHP interprets 'inmemory
> code' or only in the file format. Please give me some
> insights.

First, data sent to the client is processed only by output filters,
never by input filters.

Second, PHP is setup as a handler, not a module, meaning it must be
first in the chain and cannot act as a filter.  I believe this is
because of some limitations in zend.  There was, at one time, a PHP
filter, but it never worked very well.  I'm not sure if it still
exists or has been further developed.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org