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.
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
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
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});
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
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.