Re: [PHP-DEV] Graphs and Charts

2003-10-31 Thread Eric COLINET
Hi ! I had the same problem, and i solve it by the use of the 'embed' sapi for PHP. Just link you application with it and you will be able to call (not tested but should be near ok): int run_php_script( const char *script_file ) { zend_file_handle file_handle;; int argc= 1

Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to/from variable or file

2003-11-05 Thread Eric COLINET
Hi ! In the same series .. I have no patch to provide but i've written two functions related to php_openssl: openssl_pubkey_export openssl_pubkey_export_to_file That simply allow the export of public keys that seems to be not possible before. I there is no special reason for t

Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to/from variable or file

2003-11-06 Thread Eric COLINET
f consistency, but I know others' views differ. I guess it's over to Wez for guidence, since it's his extension? Richard. From: Eric COLINET <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> Subject: Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to

Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to/from variable or file

2003-11-07 Thread Eric COLINET
e, otherwise we would need four versions of the function to cover all combinations! Richard. - Original Message ----- From: "Eric COLINET" <[EMAIL PROTECTED]> To: "Richard Burton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, No

[PHP-DEV] CVS Account Request: ecolinet

2003-11-18 Thread Eric COLINET
I'd like to add the win32std extension. It contains: - RES (access to resource of .exe/.dll files on Win32) - RES stream wrapper for reading. Compatible with the res protocol defined by MS - REGISTRY access (from Frank M. Kromann) - Common Win32 dialogs (open/save file, open dir, message boxes)

[PHP-DEV] RE: [PECL-DEV] FUD-Buster: What is PECL, and how does moving stuff to PECL help us with the core?

2003-12-10 Thread Eric COLINET
Hi, I'd like to write a new PHP extension, I know C, even if I'm not a guru, but I didn't find a good tutorial about Zend API. Seems that the one on Zend's website is an old version. Am I wrong? Yes the documentation is a little old but it helps. A book on this subject has been released (Buildi

Fwd: Re: [PHP-DEV] Re: win32 PECL snaps for PHP5

2004-01-11 Thread Eric COLINET
I noticed that win32std is missing, could someone add it please? I've added the Release_TS build configuration to the project that is missing and also linked against php4ts.lib That should work for the next snap. Regards, Eric -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: Fwd: Re: [PHP-DEV] Re: win32 PECL snaps for PHP5

2004-01-11 Thread Eric COLINET
11 Jan 2004 13:31:30 +0100 Eric COLINET <[EMAIL PROTECTED]> wrote: > > >>I noticed that win32std is missing, could someone add it please? > > > > > >I've added the Release_TS build configuration to the project that is > >missing and also linked against ph

Re: Fwd: Re: [PHP-DEV] Re: win32 PECL snaps for PHP5

2004-01-11 Thread Eric COLINET
But it should not be in PECL_STABLE. The package state is not stable. I thougth that STABLE refer to the php version not the extension version. Am I wrong ? (maybe it's both) Nevertheless, according to Wez, if I want it to be compiled one day for php4 I have to do my changes on the PECL_4_3 bra

[PHP-DEV] win32 build system: nmake clean fail

2004-01-30 Thread Eric Colinet
Hi, currently playing around with the win32 build system, and I found that nmake clean doesn't work (in fact nmake clean-sapi). From Makefile: clean-sapi: @echo Cleaning SAPI @for %D in ($(EXT_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @for %D in ($(PECL_TARGETS)) do

[PHP-DEV] php_init_config zero length allocation

2004-02-02 Thread Eric Colinet
Hi, Included a patch that avoid a zero length allocation in php_init_config when: - A configuration line like --with-config-file-scan-dir=d:/local/etc is given - The directory specified doesn't contain any *.ini files Let me know if I have to create a bug entry for it before postin

[PHP-DEV] Php version header sent when no_headers is set

2004-02-03 Thread Eric Colinet
Hi, The Php version header line (SAPI_PHP_VERSION_HEADER) is sent even if SG(request_info).no_headers==1 (in php_request_startup - all other headers aren't sent) Attached a little patch that fix that. Eric Ps: @echo ON ;-)Index: main.c =

Re: [PHP-DEV] php_init_config zero length allocation

2004-02-14 Thread Eric Colinet
Hi guys, I think you should realy take a look at that: http://marc.theaimsgroup.com/?l=php-dev&m=107571471229830&w=2 It fixes an anoying crashes with my config. Regards, Eric -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php