Re: Yahoo is moving to PHP ??

2002-10-30 Thread Cristóvão Dalla Costa
Perrin Harkins wrote: They also have more of a need than most people to integrate with C/C++, and I've been told that it's easier to hack those into PHP. What a joke.

Re: Yahoo is moving to PHP ??

2002-10-30 Thread Cristóvão Dalla Costa
Perrin Harkins wrote: Have you written C extensions for both Perl and PHP and think Perl is easier? Most certainly, using SWIG. I didn't have to recompile Perl two or three times, or read Perl's source to figure out what to do. The PHP docs on the subject were misleading and innacurate

Re: conditional get

2002-10-27 Thread Cristóvão Dalla Costa
Geoffrey Young wrote: Kyle Oppenheim wrote: $R-content_type ($data {mimetype}); $R-set_content_length ($data {size}); $R-header_out ('ETag',$data {md5}); don't do that. use the $r-set_etag method instead, which is probably a bit safer than trying to figure out Etag rules

conditional get

2002-10-25 Thread Cristóvão Dalla Costa
Hi, I'm trying to get my script to work with conditional get, however, when the browser should use the local copy it doesn't display anything, just telling me that the image's broken. I get the image from a database, the snippet that sends it is this: $R-content_type ($data {mimetype});

basic www auth

2002-10-16 Thread Cristóvão Dalla Costa
Hi I'd like to do basic www authentication on my scripts. Apache::Auth::DBI isn't good since it would waste a database connection, and just add unnecessary complication. I'd like to do something like: if (! check ($username, $password)) { send_unauthorized_http_headers (); } I guess

Apache::SharedMem

2002-10-05 Thread Cristóvão Dalla Costa
Does anyone have experience with Apache::SharedMem? I'd like to use it to store an in-perl cache of a few thousand database items, in order to decrease load, but I noticed that it's version 0.09 and not updated in a year, so I became a little suspicious. Any comments? Thanks.