Re: [PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread mike
On 5/29/08, Weston C <[EMAIL PROTECTED]> wrote: > Fortunately, I'll have full control of the hosting environment in the > context this matters. :) > > dl is definitely interesting, but I'm worried that runtime invocation > might mean performance hits. Is there a way to do load/startup time > incl

Re: [PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Weston C
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote: > See http://www.php.net/dl (though a lot of hosts disable this > functionality for security reasons). Fortunately, I'll have full control of the hosting environment in the context this matters. :) dl is definitely interesting, bu

Re: [PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Chris
Weston C wrote: > This might be a dumb question with an obvious answer somewhere, but > I'm wondering if it's possible to build php extensions as shared > objects that plug into the PHP binary much like an apache shared > module plugs into apache. Yes. See http://www.php.net/dl (though a lot of

Re: [PHP] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Richard Lynch
Chris Cranford wrote: > I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to > pass variables by reference to my function without enabling call-time pass > by reference in the PHP.INI file? I think the definition in the C syntax of PHP_FUNCTION will do that for you. You'll pr

Re: [PHP] PHP extensions with EasyPHP 1-7

2004-12-08 Thread Richard Lynch
Michel Gangloff wrote: > I try to use some PHP extensions with EasyPHP 1.7 on Windows XP > > I have checked the path for extensions in the "php.ini" file ; it is > correct > But when I want do add some extensions , some work well , and others > don't (they are in the same directory ) > > > I get th

Re: [PHP] PHP extensions and multiple source files?

2003-06-12 Thread Marek Kilimajer
Simply list *.c all files as arguments to gcc: gcc one.c two.c three.c -shared -o my_ext.so Ed wrote: Howdy folks! Is there a way to have multiple *.c source files and still end up with a single *.so while using gcc? How would that be reflected in the config.m4 file? I searched for examples in

Re: [PHP] PHP extensions and multiple source files?

2003-06-11 Thread Evan Nemerson
Good question, but wrong place for it. Ask [EMAIL PROTECTED] On Wednesday 11 June 2003 08:31 pm, Ed wrote: > Howdy folks! > > Is there a way to have multiple *.c source files and still end up with a > single *.so while using gcc? How would that be reflected in the config.m4 > file? > > I searche

Re: [PHP] .php extensions versus .html

2003-01-31 Thread Chris Shiflett
--- Guru Geek <[EMAIL PROTECTED]> wrote: > I was wondering, can you call a php script in the middle > of a html page? ... > Does anyone else know how to use php on a page and yet > keep the .html extension? Configure your Web server to treat .html files as PHP. This has been discussed before, so t

Re: [PHP] .php extensions versus .html

2003-01-31 Thread Justin French
I think what you've seen is shtml / ssi / server side includes, but anyway, since you asked: 1. create a .htaccess file which pushes *all* .php pages through PHP I *THINK* the code is something like: ForceType application/x-httpd-php But you should check the apache manual, list or some tu

Re: [PHP] PHP extensions

2002-11-15 Thread Justin French
That's probably the one -- have a look on phpclasses.org -- handles attachments, multi-part stuff (HTML email), etc etc. Justin on 16/11/02 5:19 AM, Mako Shark ([EMAIL PROTECTED]) wrote: >> Email extension? Aren't you talking about Manuel >> Lemos' mimemail class? >> It's just an include file

Re: [PHP] PHP extensions

2002-11-15 Thread Mako Shark
> Email extension? Aren't you talking about Manuel > Lemos' mimemail class? > It's just an include file that you have in your > directory structure. I know some people made reference to a 'really good' e-mail package out there that did attachments and stuff that seemed to be the better choice con

Re: [PHP] PHP extensions

2002-11-13 Thread Justin French
Email extension? Aren't you talking about Manuel Lemos' mimemail class? It's just an include file that you have in your directory structure. Justin on 13/11/02 11:24 PM, Mako Shark ([EMAIL PROTECTED]) wrote: > Is there a list of PHP extensions out there somewhere, > and what the function of ea