[PHP-DEV] subreq php from apache 1.2
Hey folks, I'm subrequesting php from my own apache module. Everything has worked great, but headers don't get sent. Does anyone have any ideas why mod_php doesn't send headers in this situation? I'm thinking maybe my problem is that I'm using AddType to add my handler. Any ideas? -Shaun -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] subrequests in apache 1.3.x loses headers
Ok. I figured it out finally. subreq = (void *)ap_sub_req_lookup_file(r-filename,r); subreq-assbackwards = r-assbackwards; assbbackwards was 1, which meant that it was considered an HTTP/0.9 request... hence, NO HEADERS. F'n great. Shaun -- -I hate stupid sayings at the end of emails. -Shaun On Mon, 23 Apr 2001, Chand wrote: Hi dudes I have this apache module i've written which makes a subrequest on a php script. My problem is, the main request which is sent to the client browser doesn't have the headers sent by the php script. Any module guru who could help me solving this problem ? Is there anything in the apache module that solves this ? I'm posting this here cause this community works a lot on php-development which is very close to apache. I thought maybe this was a php issue too. Thanks again for any answer that might help me. Cya later Mark -- Chand Joey : Ross, If the homo sapiens really were *homo* sapiens, is that why they're extinct ? Ross : Joey, they're people Joey : Hey i'm not judging ! -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] 4.1 Declaration Case Persistance
Good work Zeev. It's for a good cause. Everyone else just seems to be whining... i don't wanna. Shaun On Fri, 4 May 2001, Zeev Suraski wrote: The question was under what key the class entry should be stored... At any rate, it's a non-issue; Saving the 'beautiful' version of the class name is possible, but is a bit hacky IMHO. There should be an optional case sensitive mode, and we'll introduce one in one of the future versions of PHP. Zeev At 18:04 4/5/2001, Colin Viebrock wrote: I don't think it is trivial to implement this without: a) Creating a second version of our hash tables (I don't like duplicate code). b) Adding more complexity to the already complex hash tables. I don't know enough about Zend internals to speak with any authority, but wouldn't an easy way of doing this be to: a) store *only* the mixed case version of the class name in the hash table, and b) change get_class(), etc. so that they automatically pass the result through strtolower() (or whatever) first ... unless the optional second argument is passed, in which case it's just returned as is. You wouldn't need a bigger nor an additional hash table, AFAICT, and only what I imagine is relatively minor code changes to the get_class(), etc. functions. - Colin -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]