[PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread moshe doron
1. here is new 3 functions a. idate() the same as date but get one format and returns integer. b. sunrise() c. sunset() on the attachment, sunfuncs1.patch is diff, the sunfunc.tar one is the new source files + tests. here is the web version:

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Zeev Suraski
At 13:36 06/02/2003, moshe doron wrote: b. sunrise() c. sunset() Hrm, what are these functions? Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] DLL PHP script for C

2003-02-06 Thread Fernando Serboncini
Hi, sorry if I'm in the wrong place, but it seems to me the right newsgroup. Is there any plans to create a DLL that could enable PHP scripts to run inside a C program? I don't mean this like some general Apache-like module. I mean to make possible to PHP behave like a real C scripting language,

Re: [PHP-DEV] DLL PHP script for C

2003-02-06 Thread Antony Dovgal
On Thu, 6 Feb 2003 12:34:42 -0200 Fernando Serboncini [EMAIL PROTECTED] wrote: I mean to make possible to PHP behave like a real C scripting language, like What does real C scripting language means ? P.S. take a look at http://gtk.php.net -- Wbr, Antony Dovgal aka tony2001 mailto:[EMAIL

Re: [PHP-DEV] DLL PHP script for C

2003-02-06 Thread Andrey Hristov
AFAIK, sapi/embed can be used for this. The maintainer is Edin Kadribasic Andrey - Original Message - From: Fernando Serboncini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 4:34 PM Subject: [PHP-DEV] DLL PHP script for C Hi, sorry if I'm in the wrong

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Moshe Doron
Zeev Suraski [EMAIL PROTECTED] wrote in message 5.1.0.14.2.20030206161428.050f11c0@localhost">news:5.1.0.14.2.20030206161428.050f11c0@localhost... At 13:36 06/02/2003, moshe doron wrote: b. sunrise() c. sunset() Hrm, what are these functions? * {{{ proto mixed

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Andrey Hristov
- Original Message - From: Moshe Doron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 5:02 PM Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions Zeev Suraski [EMAIL PROTECTED] wrote in message

Re: [PHP-DEV] DLL PHP script for C

2003-02-06 Thread Fernando Serboncini
I know that PHP can behave like a normal system executable. That's not what I meant on the previous post. What I mean is to behave like a scripting language, what means that, somewhere in my C program I'll be able to run something like a executePHP(phpinfo(); $a = 1;); function and get back

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread moshe doron
shouldn't be gtm_offset - gmt_offset yep, my mistake. moshe. -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Maxim Maletsky
and `double' should be called `float' for ptoto purposes. -- Maxim Maletsky [EMAIL PROTECTED] Andrey Hristov [EMAIL PROTECTED] wrote... : - Original Message - From: Moshe Doron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 5:02 PM Subject: Re:

RE: [PHP-DEV] DLL PHP script for C

2003-02-06 Thread SHEETS,JASON (HP-Boise,ex1)
Right, it seems like you are looking for sapi/embed, Take a look at this email http://www.zend.com/lists/php-dev/200209/msg01063.html Thanks, Jason Shees, CCNA, MCSE Exploratory Team Lead -Original Message- From: Fernando Serboncini [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

Re: [PHP-DEV] http streams can't be filtered?

2003-02-06 Thread Wez Furlong
It should not happen, and there is code in the http opener that *should* avoid this, because it has negative implications for including files via http. I will take a look when I have more time... --Wez. On Wed, 5 Feb 2003, Sara Golemon wrote: Wez, After our short discussion in IRC today I

[PHP-DEV] CVS Account Request: momo

2003-02-06 Thread Moshe Doron
short term: add, maintenance and document some features related to calendar extension i about to commit and some have already commited (by Wez,Tal). currently need access for: ext/standard (for datetime) ext/calendar phpdoc phpdoc-he -- PHP Development Mailing List http://www.php.net/

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread David Gillies
In a similar itch-scratching moment I whipped up a trivial PHP module that groks tzfile timezone files to give you the offset from GMT at any time in the Unix epoch. I needed this to preflight a bunch of data which had been gathered with a lot of disparate time zones into a single UTC version, but

[PHP-DEV] please apply ext/java fix for sapi/servlet build on Unix

2003-02-06 Thread Giuseppe Tanzilli - CSF
ciao, as from subject, please apply this patch to PHP_4_3 branch. It is needed to complete the fix to build sapi/servlet on Unix bye Giuseppe -- --- Giuseppe Tanzilli [EMAIL PROTECTED] CSF Sistemi srl phone ++39 0775 7771 Via del Ciavattino

RE: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread David Sklar
From: David Gillies [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 11:18 AM In a similar itch-scratching moment I whipped up a trivial PHP module that groks tzfile timezone files to give you the offset from GMT at any time in the Unix epoch. I needed this to preflight a bunch

Re: [PHP-DEV] please apply ext/java fix for sapi/servlet build onUnix

2003-02-06 Thread Jani Taskinen
Committed. --Jani On Thu, 6 Feb 2003, Giuseppe Tanzilli - CSF wrote: ciao, as from subject, please apply this patch to PHP_4_3 branch. It is needed to complete the fix to build sapi/servlet on Unix bye Giuseppe -- - For Sale! - -- PHP Development Mailing List

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Ilia A.
On February 6, 2003 11:17 am, David Gillies wrote: In a similar itch-scratching moment I whipped up a trivial PHP module that groks tzfile timezone files to give you the offset from GMT at any time in the Unix epoch. I needed this to preflight a bunch of data which had been gathered with a

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Moshe Doron
David Gillies [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In a similar itch-scratching moment I whipped up a trivial PHP module that groks tzfile timezone files to give you the offset from GMT at any time in the Unix epoch. I needed this to preflight a

[PHP-DEV] Make Windows PHP Fork

2003-02-06 Thread Adam Voigt
Is it possible to make the php.exe under window's fork, so it isn't visible in the start bar? I ask because I would like to make a PHP program that runs periodically in the background, and I know how to start it at computer start time, but it makes that damned dos window pop up. There are external

[PHP-DEV] Timezone functions

2003-02-06 Thread David Gillies
My module exposes a single function, timezone_offset(). From the module code: proto int timezone_offset(string zfVal,int timeVal) Return offset from GMT for specified timezone file at specified Unix time. Both parameters are optional. Default is /etc/localtime (unless overridden in initialisation

Re: [PHP-DEV] php4-STABLE-200302051830 and imap PB

2003-02-06 Thread Timm Friebe
On Wed, 2003-02-05 at 21:45, Jean-Pierre Arneodo wrote: [...] I received: ext/imap/php_imap.lo: In function `zm_startup_imap': home/php4-STABLE-200302051830/ext/imap/php_imap.c:432: undefined reference to `ssl_onceonlyinit' Upgrading cclient to cclient-2002,1 worked for me. - Timm -- PHP

RE: [PHP-DEV] Make Windows PHP Fork

2003-02-06 Thread Kai Schröder
Is it possible to make the php.exe under window's fork, so it isn't visible in the start bar? I ask because I would like to make a PHP program that runs periodically in the background, and I know how to start it at computer start time, but it makes that damned dos window pop up. There are

RE: [PHP-DEV] Make Windows PHP Fork

2003-02-06 Thread Preston L. Bannister
This requires some Win32 magic in the invoking Win32 program, not in the generic PHP executable - so your question is somewhat off-topic for this list (though this may not have been apparent). The hint: STARTUPINFO si; memset(si,0,sizeof(si)); si.cb = sizeof(si); si.dwFlags

[PHP-DEV] fix for ext/notes

2003-02-06 Thread Kai Schröder
Attached diff will fix compiling problems for ext/notes on Windows (wrong includes, wrong output dir). It tested with Notes C API R5 and R6. Please commit. Regards, Kai -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] fix for ext/notes

2003-02-06 Thread Derick Rethans
On Thu, 6 Feb 2003, [iso-8859-1] Kai Schröder wrote: Attached diff will fix compiling problems for ext/notes on Windows (wrong includes, wrong output dir). It tested with Notes C API R5 and R6. Please commit. empty attachment Derick --

Re: [PHP-DEV] http streams can't be filtered?

2003-02-06 Thread Sara Golemon
Actually, I was a little bit wrong... It's not that it's buffering the entire request... only the first 1180 or so bytes The first php_stream_gets() call in http_fopen_wrapper.c requests a line of data, php_stream_gets reads in a chunk (1448 bytes?) via php_stream_fill_read_buffer(). The

RE: [PHP-DEV] Make Windows PHP Fork

2003-02-06 Thread Frank M. Kromann
Hi, For the PHP-GTK project I have created a small wrapper application called php_win.exe. It is used to launch a GTK script without showing the DOS box. You can download a copy from http://kromann.info/php-gtk.php and see if it does the trick for you. - Frank This requires some Win32 magic in

RE: [PHP-DEV] fix for ext/notes

2003-02-06 Thread Kai Schrder
On Thu, 6 Feb 2003, [iso-8859-1] Kai Schröder wrote: Attached diff will fix compiling problems for ext/notes on Windows (wrong includes, wrong output dir). It tested with Notes C API R5 and R6. Please commit. empty attachment Next try with other name. Regards, Kai Index: notes.dsp

RE: [PHP-DEV] fix for ext/notes

2003-02-06 Thread Kai Schrder
Next try with other name. This version is without indendations (thanks Derick). Regards, Kai Index: notes.dsp === RCS file: /repository/php4/ext/notes/notes.dsp,v retrieving revision 1.1 diff -u -r1.1 notes.dsp --- notes.dsp 16

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread Brian Foddy
I would be very interested. And not just for PHP, tho I would like to see a PHP function for it. We have several apps that are currently obtaining the GMT offset the old-fashion way. 1. Set the TZ=GMT, perform a mktime call. 2. Set TZ to local timezone, perform the same mktime call. 3.

Re: [PHP-DEV] Mono PHP

2003-02-06 Thread Harald Radi
Why PECL and not add it to ext/rpc? ext/rpc should be able to load rpc backend modules, or PECL is the only sensible place to put it (especially when it's experimental!). We really don't want to mix java, mono, xmlrpc, soap and whatnot into a single package. in case you don't know,