dl() question
| From: | George Schlossnagle | Date: | Thu, 19 Sep 2002 02:50:00 +0000 |
| Subject: | dl() question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88406@lists.php.net to get a copy of this message | ||
Is there a reason why dl() does not support absolute paths for so's? I'm writing an Inline_C extension (similar to perl's Inline::C), that compiles functions on the fly. Obviously allowing the webserver to write to your extensions dir is a problem, but dl() (which is needed to load the on-the-fly-generated module) seems only to read from there. Is there a good reason for taht, and if not, would a patch to allow dl() to take absolute paths be looked upon favorably?
George
// George Schlossnagle
// Principal Consultant
// OmniTI, Inc http://www.omniti.com// (c) 240.460.5234 (e) george@omniti.com // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0