[PHP-DEV] patch for ext_skel

2002-07-15 Thread David Viner
here's a patch for ext_skel that allows you to run ext_skel from any directory. Essentially, this just allows the user to specify the location of the skeleton subdirectory. I'm a relative newbie to this mailing list, so if this is the wrong place, please let me know which php mailing list is

RE: [PHP-DEV] patch for ext_skel

2002-07-15 Thread David Viner
\ +$skel_dir/skeleton.php \ $extname.php fi -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: [PHP-DEV] patch for ext_skel here's a patch for ext_skel that allows you to run ext_skel from any directory

RE: [PHP-DEV] beginner question: how to execute unix command in PHP

2002-07-23 Thread David Viner
i think you want the php-general list. this list is for developing PHP itself, not developing in PHP. dave -Original Message- From: Paul Oh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 3:52 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] beginner question: how to execute unix

[PHP-DEV] [PATCH] ext_skel: specify location of skeleton directory

2002-07-29 Thread David Viner
here's a patch that modifies ext_skel to accept a full path to the skeleton directory. This allows you to run the ext_skel script from any directory. dave -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [PATCH] ext_skel: specify location of skeleton directory

2002-07-29 Thread David Viner
$no_help; then $ECHO_N $extname.php$ECHO_C sed \ -e s/extname/$extname/g \ -../skeleton/skeleton.php \ +$skel_dir/skeleton.php \ $extname.php fi -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 9:32 AM To: Php-Dev@lists. php

[PHP-DEV] [PATCH] ZEND_* instead of PHP_*

2002-08-02 Thread David Viner
The CODING_STANDARDS document recommends the use of the ZEND_* macros instead of the PHP_* ones (point 7). Use ZEND_* macros instead of PHP_* macros. This patch makes the CODING_STANDARDS, README.EXT_SKEL, and skeleton directory use the ZEND_FE and ZEND_FUNCTION in place of the PHP_

RE: [PHP-DEV] new webdav patch

2002-08-21 Thread David Viner
I think allowing php users to process webdav methods in user-space is an awesome idea. One question I have, why are the MKCOL, DELETE, and UNLOCK methods not listed? according to RFC 2518 (http://ftp.ics.uci.edu/pub/ietf/webdav/protocol/rfc2518.txt), DAV clients are required to support them.

[PHP-DEV] [PATCH] translate capitalized functions in create_stubs

2002-09-03 Thread David Viner
Hi When we use prototype files for ext_skel, we noticed that a function name with capital letters doesn't work properly since php extension must have lowercase function names. However, ext_skel doesn't warn or fix an erroneous prototype file. Here's a small patch to the create_stubs

[PHP-DEV] Re: [PATCH] translate capitalized functions in create_stubs

2002-09-03 Thread David Viner
types[num_funcs] = func_type maxargs[num_funcs] = args_max -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 1:43 PM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] translate capitalized functions in create_stubs Hi

RE: [PHP-DEV] Re: [RFC] include_ini and include_ini_dir

2002-09-12 Thread David Viner
Hmm... in the apache world, the srm.conf and access.conf were deprecated, but the Include directive in the configuration file is still maintained. That is, by default, people use a single apache configuration file. However, for specialized cases, like Brian's, people have the ability to use

RE: [PHP-DEV] Re: [RFC] include_ini and include_ini_dir

2002-09-12 Thread David Viner
So is it fair to say that we (Brian and others who are interested) should persue a robust patch that will allow for an Include directive in PHP's ini file that functions like Apache's Include directive? dave -Original Message- From: Wez Furlong [mailto:[EMAIL PROTECTED]] Sent:

[PHP-DEV] ini question

2002-09-18 Thread David Viner
Hi, I turned on DEBUG_CFG_PARSER in Zend/zend_ini_parser.y which has the parser spit out each key-value pair it discovers. I noticed when I start my Apache, it actually spits everything out twice. The first time I know comes from php_module_startup (called from php_apache_startup which

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
examined the OReilly Writing Apache Modules book (in case this was the child processes each parsing the ini file on their own) but to no avail.) Is there Zend documentation of the startup process? dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 4:35 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-DEV] ini question Can you provide some context? Devon Original Message: - From: David Viner [EMAIL

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
understand is, why are the messages not identical? dave -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:21 PM To: David Viner Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question Apache calls the module startup hook twice

RE: [PHP-DEV] ini question

2002-09-20 Thread David Viner
To: David Viner Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question I am sure that you are correct, Rasmus, and apache is calling it twice, but what I don't understand is, why are the messages not identical? Because we check for it? Sorry, I didn't actually read through your code

RE: [PHP-DEV] ini question

2002-09-20 Thread David Viner
thanks... i got this working properly. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 9:05 AM To: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question Here is my modified php_init_handler from mod_php4.c static void

[PHP-DEV] compilation order platform dependent?

2002-09-23 Thread David Viner
Hi, I noticed that when I build php from the CVS source on Windows, the Zend/ directory is always compiled before the main/ directory. But on FreeBSD, it's the other way around. Is this intentional? or have I messed up my build environment somehow? thanks dave -- PHP Development

RE: [PHP-DEV] compilation order platform dependent?

2002-09-23 Thread David Viner
not of the straight source... but a patch that i'm developing works on one platform but not on the other (relies on a generated header file in Zend/). dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:06 PM To: David Viner Cc

[PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
Hi, I've been working with Brian France on a patch that will allow users to include other ini files from the php.ini (see http://marc.theaimsgroup.com/?t=10317976671r=1w=2 for earlier discussions). This patch allows the following functionality from the php.ini file: include = file

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
= sapi_module.php_ini_path_override; } == END PATCH == -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 1:40 PM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] include statement in php.ini file Hi, I've been working

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-26 Thread David Viner
: Thursday, September 26, 2002 5:17 AM To: Zeev Suraski Cc: David Viner; Php-Dev@lists. php. net Subject: RE: [PHP-DEV] [PATCH] include statement in php.ini file I suppose using a PHP keyword like include may lead to a desire for other PHP keywords, perhaps something like: additional_ini = /some

[PHP-DEV] CVS Account Request: dviner

2002-09-27 Thread David Viner
Developing the PHP runtime, as per Rasmus' suggestion. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-27 Thread David Viner
: Friday, September 27, 2002 9:14 AM To: Edin Kadribasic Cc: David Viner; Php-Dev@lists. php. net Subject: Re: [PHP-DEV] [PATCH] include statement in php.ini file I'm not very concerned either way on the .ini extension restriction. Let's go ahead and commit this with the include to additional_ini

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-27 Thread David Viner
this function along with ini_set are sufficient to handle run time ini files. dave -Original Message- From: James Moore [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:32 AM To: 'Php-Dev@lists. php. net' Cc: 'David Viner'; 'Rasmus Lerdorf'; 'Edin Kadribasic' Subject: RE: [PHP-DEV

[PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-03 Thread David Viner
Here's a short patch to the XSLT extension that allows a user to call xslt_set_object($xh,$obj); This works in a manner similar to the 'xml_set_object' function. (Only difference is that the second argument is not passed by reference.) dave = BEGIN PATCH = Index:

RE: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-03 Thread David Viner
resending as an attachment. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:00 AM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object Here's a short patch to the XSLT extension that allows a user

RE: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-04 Thread David Viner
after talking with other xslt developers, and ensuring backwards compatibility, I have commited this change to the ext/xslt extension. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:00 AM To: Php-Dev@lists. php. net Subject

[PHP-DEV] using run-tests.php on windows

2002-10-06 Thread David Viner
hi, i'm trying to get the php tests to run on my windows 2k machine, and having a lot of trouble. i seem to fail at this line: if (!is_executable($php)) { error(invalid PHP executable specified by TEST_PHP_EXECUTABLE = . $php); } I removed the '' to see what was happening,

RE: [PHP-DEV] Problem with XSLT Sablotron - Bug ?

2002-10-14 Thread David Viner
does this work from the sablotron command line? you should be able to run sabcmd test.xslt test.xml and see the correct output. If this fails, then the problem has nothing to do with PHP. If this succeeds, then the error lies with the php extension. I'm cc-ing sab-php list which has

[PHP-DEV] berkeley db and dba

2002-10-28 Thread David Viner
Hi, I noticed that the ext/dba extension allows me to use Berkeley DB. I'm interested in using some of the newer features in Berkeley DB v4 (sleepycat's latest release). In particular, there are a set of features regarding a db environment. See

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread David Viner
: Wednesday, October 30, 2002 7:38 AM To: Melvyn Sopacua Cc: Sterling Hughes; [EMAIL PROTECTED]; David Viner Subject: Re: [PHP-DEV] php/ext/xslt and TSRM At 15:54 30.10.2002, Melvyn Sopacua wrote: At 15:10 30-10-2002, Marcus Boerger wrote: What about removing all TSRMLS_FETCH() and instead passing