Re: [PHP-DEV] PHP extension initialisation

2002-12-12 Thread Thomas Wentzel
Hi Tom, Did you ever get this problem solved? I'm fighting the same issue - and if no better solution present it self, I'm going to do it by accessing a file of my choise. If the file doesn't exist - create it and we know we are in the first call. If it does exist - delete it, and we know this is

Re: [PHP-DEV] PHP extension initialisation

2002-12-12 Thread Tom Oram
The best I ever came up with was doing what your saying but instead of using a file I used an environment variable, it's still a mess but I think its probably cleaner and safe than using file locking. I would still be interested if you ever did find a proper solution though, Sorry I can't help

Re: [PHP-DEV] PHP Extension on Win32

2002-10-03 Thread Markus Fischer
On Thu, Oct 03, 2002 at 01:28:52PM +0200, Emanuel Dejanu wrote : I want to make a DLL private (closed source) to be available in PHP language. Is there any documentation on how to build a custom module for PHP on Windows? I have developed modules for PHP on Linux (closed source :-( ).

RE: [PHP-DEV] PHP Extension on Win32

2002-10-03 Thread Emanuel Dejanu
To: Emanuel Dejanu Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] PHP Extension on Win32 On Thu, Oct 03, 2002 at 01:28:52PM +0200, Emanuel Dejanu wrote : I want to make a DLL private (closed source) to be available in PHP language. Is there any documentation on how to build a custom module

Re: [PHP-DEV] PHP extension initialisation

2002-08-21 Thread Tom Oram
I had already assumed what Pete said was happening was happening, but I still don't know how to tell whether I'm in the first one (apache test) or the second (real init). Any ideas? Tom On Wed, 21 Aug 2002, you wrote: Hi, I asked about this a few weeks ago with apache on windows. The

Re: [PHP-DEV] PHP extension initialisation

2002-08-16 Thread Pete Dishman
Hi, I asked about this a few weeks ago with apache on windows. The best answer I got was from George Schlossnagle: quoteI believe this is because when apache does it's intial configtest run as part of start (to validate it's config), it has to do a complete startup (otherwise it wouldn't know

Re: [PHP-DEV] PHP extension initialisation

2002-08-15 Thread Brad LaFountain
--- Tom Oram [EMAIL PROTECTED] wrote: Hi, Can someone please answer my question? When running a PHP extension when PHP is running as an apache module on linux it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before apache forks then once after, is there any way of

Re: [PHP-DEV] PHP extension initialisation

2002-08-15 Thread Tom Oram
On Thu, 15 Aug 2002, you wrote: --- Tom Oram [EMAIL PROTECTED] wrote: Hi, Can someone please answer my question? When running a PHP extension when PHP is running as an apache module on linux it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before apache forks then

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Alan Knowles
this is a good starting place http://www.php.net/manual/en/zend.php although it doesnt cover the class stuff that well (which can be done : ming, domxml, gtk, xmms - to name a few that do it ) - for a nice example have a look at the xmms extension http://cvs.php.net/cvs.php/pear/PECL/xmms

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread fabwash
The new operator works fine for builtin functions. Look at the domxml extension (INIT_*) for some hints. Fab. - Original Message - From: Joao Prado Maia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 8:10 PM Subject: [PHP-DEV] PHP Extension Help Hi, Before

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Joao Prado Maia
On Thu, 27 Jun 2002, Alan Knowles wrote: this is a good starting place http://www.php.net/manual/en/zend.php Yes, I looked on the manual before asking. There isn't a good introduction on how to do what I want to do in there, and thats why I asked around before sending the email here.

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Joao Prado Maia
Ack, sorry. I just found xmms's implementation of the class on the xmms.c file. Seems like it is exactly what I was looking for. Thanks for the pointers, I appreciate it. Cheers, Joao -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Markus Fischer
On Wed, Nov 14, 2001 at 11:04:34AM -, Charles VIARD wrote : I want to make a PHP module, but i didn't find any doc on how to do it! Especially PHP type, code return and structure of a module. can somebody help me? try zend.com/apidocs and .. use the source luke! more specific question

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Andrey Hristov
Fischer [EMAIL PROTECTED] To: Charles VIARD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 1:14 PM Subject: Re: [PHP-DEV] PHP extension On Wed, Nov 14, 2001 at 11:04:34AM -, Charles VIARD wrote : I want to make a PHP module, but i didn't find any doc on how to do

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Zak Greant
On November 14, 2001 05:07 am, Andrey Hristov wrote: There is a book from the people who make www.phpwizard.net. The price is from $30 to $40 depending on the bookstore you use(Amazon has lowest price). The other way is to get it in PDF. on #bookwarez channel on irc.nullus.net, you can find

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Bjørn Johansen
try zend.com/apidocs and .. use the source luke! more specific question can be answered also :) I got a 404 trying the above url, but http://zend.com/zend/api.php worked fine though :) Bjørn -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Markus Fischer
On Wed, Nov 14, 2001 at 02:35:17PM +0100, Bjørn Johansen wrote : try zend.com/apidocs and .. use the source luke! more specific question can be answered also :) I got a 404 trying the above url, but http://zend.com/zend/api.php worked fine though :) I know, lazy me .. its

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Rasmus Lerdorf
A good place to start is README.EXT_SKEL in the PHP distribution. -Rasmus On 14 Nov 2001, Charles VIARD wrote: hello, I want to make a PHP module, but i didn't find any doc on how to do it! Especially PHP type, code return and structure of a module. can somebody help me? thanx