Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Brian Foddy
Shane Caraveo wrote: Then another item that might be considered if it is not already done, allowing posts only from those that have cvs access. A second conditional list of allowed posters can be added that are people who do not have cvs access, but we want to allow to post. Otherwise, the

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] Sybase_ct and tli lib

2002-11-15 Thread Brian Foddy
. Hope this helps. Brian Brian Foddy wrote: Timm Friebe wrote: On Wed, 2002-11-13 at 18:03, Brian Foddy wrote: Timm, I've seen it used for 10 years on Solaris, and I spent about a year working on Irix and Informix, and there were some references to it there also. strings libtli.so | grep

Re: [PHP-DEV] Sybase_ct and tli lib

2002-11-14 Thread Brian Foddy
Timm Friebe wrote: On Wed, 2002-11-13 at 18:03, Brian Foddy wrote: Timm, I've seen it used for 10 years on Solaris, and I spent about a year working on Irix and Informix, and there were some references to it there also. strings libtli.so | grep ^Sybase Sybase TCP/IP TLI Library/12.0/P

Re: [PHP-DEV] Sybase_ct and tli lib

2002-11-13 Thread Brian Foddy
Timm, I've seen it used for 10 years on Solaris, and I spent about a year working on Irix and Informix, and there were some references to it there also. strings libtli.so | grep ^Sybase Sybase TCP/IP TLI Library/12.0/P/SPARC/Solaris 2.5.1/1/OPT/Sat Sep 25 21:07:40 1999 Sybase, Inc. All

[PHP-DEV] Sybase_ct and tli lib

2002-11-12 Thread Brian Foddy
The following is not really worthy of reporting an official bug, but still worthy of at least comment and notice. On Solaris 2.8 using Sybase OCS-12, the default build scripts for PHP 4.2.3 will not link in the tli library. Those familiar with Sybase have probably stubbed their toes on this

[Fwd: Re: [PHP-DEV] PHP's vision]

2002-06-03 Thread Brian Foddy
I admit I haven't been following this thread closely, but I agree and don't think PHP should be trying to write a transaction system itself. I do think it should try to interface with existing systems tho so PHP can become the front-end for them. I have a good start on a Tuxedo interface

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-23 Thread Brian Foddy
Aaron Bannert wrote: It didn't coredump for me on startup. Nor for I, and I've done quite a lot of testing on this thing. The startup error has been identified (even though not reproduceable by me for some reason) and I will supply a patch for that later today. There is still another bug

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
Have you people lost it??? One of the MAJOR features is working with Apache2. But bug 16475 is still open and unresolved. Its been reported by several different people, all having the same effect. Why would you release this version until after this bug is closed and gone through at least one

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
That is exactly my point. I no more than read the encouraging report that its been identified and is close to a fix, and the next message says 4.2 has been released. It couldn't have waited just another week to get this fix in and tested? Looking at the 4.2 announcement on the web page

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
Personally, I completely understand that is all new code and bugs will occur. I won't be going to Apache 2 for some time to come. The only reason I even tried it at all is I already was already getting requests on php-tuxedo for that combo so I thought I should give it a try. But I hope the

Re: [PHP-DEV] PHP 4.2.0 Release Announcement

2002-04-22 Thread Brian Foddy
On Mon, 22 Apr 2002 18:56:28 -0700 (PDT), Rasmus Lerdorf wrote: As for Apache being at fault too, they very well could be. But the fact remains that PHP runs INSIDE Apache, and Apache starts fine without PHP, hence PHP must be at fault. Simply stating the obvious facts from the public

[PHP-DEV] Config.m4 help

2002-03-12 Thread Brian Foddy
I'm finally trying to tackle an improvement in the config.m4 for my tuxedo module. Previously, I've just hacked my way from other config.m4 scripts until it did what I wanted. But now I need it to get fancy. The problem comes because the raw Tuxedo libraries and the linking required to use them

[PHP-DEV] Linking pthread in a module

2002-03-12 Thread Brian Foddy
Related to my previous note, I remembered another question I've pondered. If you noticed in my last note, the link statement included -lpthread (I've tried without it, it won't link without pthread). Which implies to me that the Tuxedo libraries I'm bringing in, are themselves multi-threaded;

Re: [PHP-DEV] Vote on New Build System

2002-03-07 Thread Brian Foddy
Sascha Schumann wrote: Extension developers: Makefile.ins are abandoned. The files which are to be compiled are specified in the config.m4 now using the following macro: PHP_NEW_EXTENSION(foo, foo.c bar.c baz.cpp, $ext_shared) E.g. this enables the extension foo which consists of

Re: [PHP-DEV] PHP module creation

2002-03-03 Thread Brian Foddy
This is a good place to start http://wwwzendcom/apidoc/ Brian On Sun, 3 Mar 2002 19:30:09 -0600, topside wrote: st want to use some C functions with -- PHP Development Mailing List http://wwwphpnet/ To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP-DEV] Advice wanted on function arguments

2002-01-05 Thread Brian Foddy
In an external php module project (php-tuxedo), we have a group of about 7 php functions that, depending on how we design them, could take two different types of arguments. 1. A integer argument 2. A string argument. If the string argument is given, there is another routine that can convert

Re: [PHP-DEV] Bug #14030: sybase ct_init fails

2001-11-18 Thread Brian Foddy
This can be a common, but very bothersome error message with Sybase (and some other databases) (not just using PHP). I've seen it before using Solaris 2.6 and Sybase 12 also. You need to be very careful about your $SYBASE and related variables, to make sure the web server has them all set right.

Re: [PHP-DEV] Re: Sybase Stored Procedures

2001-10-02 Thread Brian Foddy
Carefull, you can only retrieve one result set, so most advanced sp's I think would be out. For instance, you can't use sp_help because it returns multiple result sets. At least that has been my experience with Sybase and PHP. There was a patch posted here in Aug by Luis Carlos Brenes Alvarez

Re: [PHP-DEV] Sybase and Sybase-CT and MSSQL, oh my?]

2001-09-06 Thread Brian Foddy
Frank M. Kromann wrote: I dont know muct about Subase and Sybase-ct but I agrre that these extension should be combined into one, with aliases and functionality from the mssql extension to allow access to MSSQL Server 4.x and 6.x from Win32 and *nix clients. - Frank Actually these are

Re: [PHP-DEV] Security Issues

2001-07-27 Thread Brian Foddy
Zeev Suraski wrote: Because it's a matter of taste, and different people see things different ways. Personally I find $_GET[foo] much clearer than $foo. It tells me, beyond a reasonable doubt, where this thing is coming from. The one and only drawback I see for this method is that it's a

Re: [PHP-DEV] Bug #11789: Apache can't start

2001-06-30 Thread Brian Foddy
I see this a lot when the LD_LIBRARY_PATH is not set correctly to load the Sybase libraries. Double check that type of stuff. [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux 2.4.5 PHP version: 4.0.6 PHP Bug Type: Sybase-ct (ctlib) related Bug

[PHP-DEV] File Handle Resource

2001-06-19 Thread Brian Foddy
Now that the list is back up, I have a question... In my module I'm writing, I need to have some functions that will take as an argument a FILE resource id. So the question begs asking is there any function I can call to obtain the FILE resource structure (that contains the FILE*) from the

Re: [PHP-DEV] stat/fstat

2001-05-11 Thread Brian Foddy
Zeev Suraski wrote: At 18:21 11/5/2001, Brian Foddy wrote: [EMAIL PROTECTED] wrote: On 11 May 2001, Stig Sæther Bakken wrote: Why not have both numerical and descriptive indices? Backwards compatible, slightly bloatish, but not really a problem. it's already

[PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time

2001-05-05 Thread Brian Foddy
On 5 May 2001 19:40:27 -, Bug Database wrote: ID: 9878 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Date/time related PHP Version: 4.0.4pl1 Assigned To: Comments: Are you sure that bit of code applies in your case? ie. is HAVE_TM_GMTOFF

[PHP-DEV] Zend API changes

2001-05-04 Thread Brian Foddy
A small point I'd like to raise here. I noticed 4.0.5 made a change to the arguments of zend_hash_get_current_key by adding a dupe argument to the define and underlying function. This of course broke any external custom modules that are not changed appropriately. In this case the change was

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-30 Thread Brian Foddy
Andi Gutmans wrote: Did you compile with debug on or off? Please try without debug in both PHP and your module and let us know if something changes. Also can you try and load it via php.ini (extension=module.so) and not with dl(). I rebuilt php 4.0.4p1 with debug off, rebuilt my module

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-30 Thread Brian Foddy
One more strange behavior I just saw. Take this little script: ? phpinfo (); $tux = tux_tpalloc (TUX_FML32, , 5000); print $tux; tux_tpfree ($tux); print $tux; ? The tux_tpalloc and tux_free are new functions in my module. If I comment out everything but the phpinfo () and hit a fresh

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-30 Thread Brian Foddy
doing anything? Maybe they are causing problems? Andi At 11:17 AM 4/30/2001 -0500, Brian Foddy wrote: One more strange behavior I just saw. Take this little script: ? phpinfo (); $tux = tux_tpalloc (TUX_FML32, , 5000); print $tux; tux_tpfree ($tux); print $tux

RE: [PHP-DEV] PHP 4.0 Bug #8889 Updated: Memory is not being freed.

2001-04-30 Thread Brian Foddy
Perhaps another possible solution is this... For those 1 in 300 web hits that the developer knows is going to use gobs of memory and assuming they can't be re-engineered to use less (through temp files, etc), create a simple function that is callable in PHP that will cause the parent apache

RE: [PHP-DEV] PHP 4.0 Bug #8889 Updated: Memory is not being freed.

2001-04-30 Thread Brian Foddy
to pass an extension, say .cphp, to the cgi instead of the module. Then those scripts that use extensive memory could be extended with .cphp??? -Original Message- From: Brian Foddy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:56 PM To: Andi Gutmans; Brian Moon; John Hamlik

[PHP-DEV] Troubles with DL'ed module

2001-04-27 Thread Brian Foddy
I'm having strange problems with a new DL module I'm trying to write. The most common problem is PHP will coredump after my module has executed in the module cleanup routines (the Zend routines, not my module routines). For instance it will coredump on cleaning up the 10th constant defined by my

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-27 Thread Brian Foddy
you try and load it via php.ini (extension=module.so) and not with dl(). Andi At 01:41 PM 4/27/2001 -0500, Brian Foddy wrote: I'm having strange problems with a new DL module I'm trying to write. The most common problem is PHP will coredump after my module has executed in the module cleanup

Re: [PHP-DEV] sybase-ct and datetime results

2001-04-25 Thread Brian Foddy
On Wed, 25 Apr 2001 22:59:15 +0200, Bj,rn Dolkemeier wrote: (I posted this also to php.db, but the more I think php.dev would be a better place) Hello, If I do a sybase_query(select getdate(),$Conn) this will return the current date in the format Nov 3 1998 8:06PM (so I don't have

[PHP-DEV] Hash Functions API

2001-04-11 Thread Brian Foddy
I've been looking everywhere for a good reference of how to read and update arrays. The Zend documentation (www.zend.com/apidoc) has descriptions of how to create an array, and how to add elements to it, but I can't find anything on how to simply read the values of an array. Mostly I want to

[PHP-DEV] PHP-Tuxedo Open Source Project

2001-04-07 Thread Brian Foddy
not see a reply on the list. Hope to hear from you. Brian Foddy [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] PHP 4.0 Bug #8834 Updated: crypt() starts from not random salt

2001-04-05 Thread Brian Foddy
I too have seen this, but I assumed it you had to put a random salt key in. I picked the system mseconds and put that in a random seed to get a random salt key. I was also on Solaris 2.6. Simple work around if its not supposed to work that way. On 5 Apr 2001 18:57:45 -, [EMAIL PROTECTED]

[PHP-DEV] Sybase_ct on linux core and LANG variable

2001-03-22 Thread Brian Foddy
I just thought I would pass this along, it might be the cause of some bug reports. Using Linux Mandrake 7.2 and Sybase Open client 11.1.1, php4.0.4p1. I was getting a core (illegal instruction) on apache startup when I had the sybase modules installed in PHP. However, I knew it worked fine on

Fwd: [PHP-DEV] Sybase_ct on linux core and LANG variable

2001-03-22 Thread Brian Foddy
That's is the sybase_ct libraries, just for clarification. ==BEGIN FORWARDED MESSAGE== I just thought I would pass this along, it might be the cause of some bug reports. Using Linux Mandrake 7.2 and Sybase Open client 11.1.1, php4.0.4p1. I was getting a core

[PHP-DEV] Getting Started with new module

2001-03-18 Thread Brian Foddy
this type of project. I've read the apidoc.txt and apidoc-zend.txt files, but seems there are still some holes. Can anyone suggest the best way to get started? Much appreciated, Brian Foddy [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL