Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
What does this output? flex -V -v --version 2/dev/null - Sascha # flex-2.5.27/flex -V -v --version 2/dev/null flex 2.5.27 # flex-2.5.4/flex -V -v --version 2/dev/null flex-2.5.4/flex version 2.5.4 Nice consistancy eh ? Dave -- PHP Development Mailing List

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread Sascha Schumann
On Fri, 7 Mar 2003, David Hill wrote: What does this output? flex -V -v --version 2/dev/null - Sascha # flex-2.5.27/flex -V -v --version 2/dev/null flex 2.5.27 This should be parsed correctly. What kind of OS and /bin/sh do you have? What does

[PHP-DEV] CVS Account Request: akelavlk

2003-03-07 Thread Jan Sunavec
I want add DotPHP layer into PHP. See webcomp.sourceforge.net Or CVS repository on sourceforge.net/projects/webcomp -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
# flex-2.5.27/flex -V -v --version 2/dev/null flex 2.5.27 This should be parsed correctly. What kind of OS and /bin/sh OS == Tru65, shell is /bin/sh do you have? What does ver1=2.5.27 ver2=2 5 27 set $ver2; echo $3 27 IFS=.; set $ver1; echo $3 27 The

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
I set up a debian linux box and after getting the right versions of things I am still getting the same results from configure. I am getting a syntax error saying else unexpected. With php5 module HEAD? No - php4 HEAD, should I be doing this with php5 instead ? What line is the

[PHP-DEV] patch for trivial ZE2 leaks

2003-03-07 Thread Moriyoshi Koizumi
I found memleaks in the current HEAD. A Patch for this issue attached. $ php -r class foo {} /home/koizumi/src/php5/Zend/zend_hash.c(198) : Freeing 0x400C1034 (64 bytes), s cript=- /home/koizumi/src/php5/Zend/zend_hash.c(176) : Actual location (location was rel ayed) Last leak repeated 5 times

[PHP-DEV] why is iconv not working as expected?

2003-03-07 Thread Fil
will be the best ;) (I'm not on the php-dev list, so please Cc: me.) -- Fil -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] why is iconv not working as expected?

2003-03-07 Thread Derick Rethans
on the same iconv() library... What can I do to either tune my system or do the right call to iconv()? The aim is to have a nice search engine for SPIP, a GPL'd CMS, so the most portable answer will be the best ;) (I'm not on the php-dev list, so please Cc: me.) -- Fil

[PHP-DEV] nested namespace

2003-03-07 Thread Greg Beaver
Hi, I'm wondering if a note of clarification could be added to ZEND_CHANGES. The sentences: A namespace's name may contain colons to denote sub-namespaces. This is pure syntactic sugar, the Zend Engine will not see, for instance, the namespaces Package, Package:Subpackage and

Re: [PHP-DEV] nested namespace

2003-03-07 Thread Derick Rethans
On Fri, 7 Mar 2003, Greg Beaver wrote: namespace Package { const one = 1; namespace SubPackage { const one = 'one'; } } You can not nest namespaces, so this wont work. Derick -- Stop mad cowboy disease!

Re: [PHP-DEV] nested namespace

2003-03-07 Thread Greg Beaver
Derick Rethans wrote: On Fri, 7 Mar 2003, Greg Beaver wrote: namespace Package { const one = 1; namespace SubPackage { const one = 'one'; } } You can not nest namespaces, so this wont work. Derick OK, makes sense. Adding this sentence would clear up a great deal of confusion.

[PHP-DEV] Refreshing pages after HTTP redirects

2003-03-07 Thread Daniel Joyce
Well, I've gone on to the next step of my project. I've finally moved to a more structured development approach, treating web pages as forms as having them call a central cgi script that dispatchs calls to other scripts, and then redirects the client to the next step Basically, a mini

Re: [PHP-DEV] Refreshing pages after HTTP redirects

2003-03-07 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Fri, 7 Mar 2003, Daniel Joyce wrote: Well, I've gone on to the next step of my project. I've finally moved to a more structured

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread Magnus M
On Fri, 7 Mar 2003 10:07:31 -0500 David Hill [EMAIL PROTECTED] wrote: I set up a debian linux box and after getting the right versions of things I am still getting the same results from configure. I am getting a syntax error saying else unexpected. With php5 module HEAD? I do

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread Jani Taskinen
On Fri, 7 Mar 2003, David Hill wrote: I set up a debian linux box and after getting the right versions of things I am still getting the same results from configure. I am getting a syntax error saying else unexpected. With php5 module HEAD? No - php4 HEAD, should I be doing this with

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread Sascha Schumann
# cvs co -rPHP_4_3 php4 Or for experimental code which should not go into a release branch like PHP_4_3 $ cvs co -r PHP_4 php4 These are the ONLY useful and up-to-date modules at the moment. I'm planning on syncing those changes which have been forgotten to

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread Magnus M@H%) !-
On Fri, 7 Mar 2003 19:35:09 +0100 Magnus M [EMAIL PROTECTED] wrote: On Fri, 7 Mar 2003 10:07:31 -0500 David Hill [EMAIL PROTECTED] wrote: I set up a debian linux box and after getting the right versions of things I am still getting the same results from configure. I am getting

Re: [PHP-DEV] Sqlite-php module in php-distribution?

2003-03-07 Thread Marcus Börger
At 10:32 07.03.2003, Björn Kalkbrenner wrote: Sqlite is something like dbm with sql92 language and more. I would much more appreciate a new submodule for the dbx module! regards marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
Thank you all for you tips and pointers on this build issue. Once I switched to the PHP_4_3 tree I things got much better :-) I built it and hand installed the .so and am seeing a phpinfo() page in my browser. Dave -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] Bug fixing and CVS

2003-03-07 Thread Jean-Michel Dault
Hello, I'm not sure this is the right mailing list, but at least it's not about development _with_ php, it's about development _of_ php ;-) I maintain PHP for Mandrake Linux, and I try to ship a bug-free PHP. That is, if there were some showstopper bugs that were not corrected in 4.3.1, I take

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Brad LaFountain
Why can't you just simply name your classes all lowercase. All of the extensions currently do this and it works fine. - Brad --- Eric Lambart [EMAIL PROTECTED] wrote: Hello. After a short bout of hair-pulling, I have discovered the source (in the Zend engine) of a recent problem, and have

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Eric Lambart
On Fri, 2003-03-07 at 14:24, Brad LaFountain wrote: Why can't you just simply name your classes all lowercase. Because then I wouldn't have discovered the bug! =) All of the extensions currently do this and it works fine. Apparently that is the case--that's probably why I had the pleasure of

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Wez Furlong
It's not a bug; PHP is a case-IN-sensitive language when it comes to function and class names. Adding strtolower calls will only slow down the whole language. Using lowercase function and class names is the best solution. --Wez. On Fri, 7 Mar 2003, Eric Lambart wrote: On Fri, 2003-03-07 at

Re: [PHP-DEV] Apache2 SAPI

2003-03-07 Thread Jean-Michel Dault
Le ven 07/03/2003 à 02:56, Derick Rethans a écrit : I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. I'm big +1 on this as it can be considered as a FIX.. Let's just

Re: [PHP-DEV] Apache2 SAPI

2003-03-07 Thread Derick Rethans
On Fri, 7 Mar 2003, Jean-Michel Dault wrote: Le ven 07/03/2003 à 02:56, Derick Rethans a écrit : I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. I'm big +1 on this as it

Re: [PHP-DEV] Apache2 SAPI

2003-03-07 Thread Ian Holsman
Jean-Michel Dault wrote: Le ven 07/03/2003 à 02:56, Derick Rethans a écrit : I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. I'm big +1 on this as it can be considered as a FIX..

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Wez Furlong
On Sat, 7 Mar 2003, Eric Lambart wrote: Adding strtolower calls will only slow down the whole language. but my point is the overhead involved cannot possibly rival the amount already created by the zend_str_tolower() calls within zend_execute.c, which is surely encountered far more often

[PHP-DEV] Namespaces

2003-03-07 Thread l0t3k
this may be a bit premature, but how do i inject the classes, functions and constants in my extension into a namespace ? l0t3k -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Namespaces

2003-03-07 Thread l0t3k
this may be a bit premature, but how do i inject the classes, functions and constants in my extension into a namespace ? l0t3k -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-I18N] Help: Sablotron and Shift-jis

2003-03-07 Thread Christian Stocker
On Fri, 2003-03-07 at 08:50, Moriyoshi Koizumi wrote: It works for me. See the attached example. Anyway, you don't have to crosspost your question to [EMAIL PROTECTED], which is for developing php internals and irrelevant for such user questions. ditto for php-xml-dev, a list _for_

[PHP-DEV] Re: [PHP-XML-DEV] Re: [PHP-I18N] Help: Sablotron and Shift-jis

2003-03-07 Thread Melvyn Sopacua
At 08:50 3/7/2003, Moriyoshi Koizumi wrote: Anyway, you don't have to crosspost your question to [EMAIL PROTECTED], which is for developing php internals and irrelevant for such user questions. The same applies to [EMAIL PROTECTED] Note the pattern :) Met vriendelijke groeten / With kind

[PHP-DEV] Patch for README.EXT_SKEL

2003-03-06 Thread Martin Jansen
Hi, on Debian Woody, one not only needs to change skeleton/create_stubs to use gawk instead of mawk, but it is also necessary to change ext_skel itself. With the attached patch this is noted in README.EXT_SKEL. -- - Martin Martin Jansen

[PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread Joe Orton
Hi, I've got a bunch of fixes for systems which have system libraries in /usr/lib64 rather than /usr/lib - these are needed for some upcoming 64-bit Linux ports. These fixes are based on patches from SuSE developers [EMAIL PROTECTED] [EMAIL PROTECTED]. Should I submit changes to ext/*/config.m4

Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread James Devenish
In message [EMAIL PROTECTED] on Thu, Mar 06, 2003 at 10:25:14AM +, Joe Orton wrote: Hi, I've got a bunch of fixes for systems which have system libraries in /usr/lib64 rather than /usr/lib - these are needed for some upcoming 64-bit Linux ports. These fixes are based on patches from SuSE

[PHP-DEV] Fix for wordwrap()

2003-03-06 Thread Jedi/Sector One
Hello. Maybe this is the intended behavior, but wordwrap()'s behavior is a bit illogical on PHP 4.3.1, as it does only break after a plain whitespace, not after punctuation, \n, etc. Here's a trivial sample : $a = ww\nphprules\nw; print wordwrap($a, 10,

Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread Joe Orton
On Thu, Mar 06, 2003 at 07:27:05PM +0800, James Devenish wrote: In message [EMAIL PROTECTED] on Thu, Mar 06, 2003 at 10:25:14AM +, Joe Orton wrote: Hi, I've got a bunch of fixes for systems which have system libraries in /usr/lib64 rather than /usr/lib - these are needed for some

Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread James Devenish
In message [EMAIL PROTECTED] on Thu, Mar 06, 2003 at 11:52:15AM +, Joe Orton wrote: /usr/lib64 exists so that you can have 64-bit libraries installed alongside 32-bit libraries in /usr/lib - this is a precedent that comes from Sun or SGI or somewhere I believe. Yep, HP-UX does it, too.

Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread Joe Orton
On Thu, Mar 06, 2003 at 08:06:57PM +0800, James Devenish wrote: In message [EMAIL PROTECTED] on Thu, Mar 06, 2003 at 11:52:15AM +, Joe Orton wrote: ... On a lib64 system, if you do have the 32-bit libraries installed in /usr/lib, but want to compile against the 64-bit libraries in

Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems

2003-03-06 Thread James Devenish
In message [EMAIL PROTECTED] on Thu, Mar 06, 2003 at 12:15:43PM +, Joe Orton wrote: Yes, that's why it is needed - though I'm surprised if this problem is unique to the linker used on Linux. [...] I'm fairly sure I've had problems on IRIX before when the linker picks up libraries with a

[PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread Dave Hill
Hi all, I am having fun with [EMAIL PROTECTED]@#$ autoconf. In the past I always used the configure in the RC tarball without (much) problem. As I am trying to be a good little commiter, I am trying to build my potential changes out of cvs and am starting with buildconf. I have installed:

Re: [PHP-DEV] [WARNING] Release process for 4.3.2 starts RSN..

2003-03-06 Thread Petar
Any progress towards a 4.3.2 release? Cheers ..Petar - Original Message - From: Jani Taskinen [EMAIL PROTECTED] To: Shane Caraveo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:13 AM Subject: Re: [PHP-DEV] [WARNING

[PHP-DEV] Re: fun with autoconf on Tru64

2003-03-06 Thread J Smith
I have had similar problems, using autoconf 2.5x seems to work. (I use 2.54, specifically.) J Dave Hill wrote: Hi all, I am having fun with [EMAIL PROTECTED]@#$ autoconf. In the past I always used the configure in the RC tarball without (much) problem. As I am trying to be a good

[PHP-DEV] PHP for generating SVG

2003-03-06 Thread Reuben D. Budiardja
Hello all, Just wondering, is there any plans to develop PHP functions to generate SVG? Something similar to the images functions that use GD library to generate rasterize images on the fly, but instead generate SVG tags on the fly. That would be a killer and makes it very easy to write

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread Melvyn Sopacua
At 14:40 3/6/2003, Dave Hill wrote: I have installed: gawk-3.1.1 m4-1.4o You shouldn't :) m4-1.4 without the 'o'. Make sure to rm -rf /usr/local/share/m4|autoconf cause the 'frozen' file, won't be uninstalled with make uninstall. Met vriendelijke groeten / With kind regards, Webmaster

[PHP-DEV] Apache2 SAPI

2003-03-06 Thread Ian Holsman
I've been using the apache2handler on two low/medium-traffic sites for a while and it appears ok to me. now.. I'm new to this list, and really don't know how it works, so excuse me if this is a FAQ or something. I'd like to see this code in 4.3.2/4.3.3?, and if it doesn't blow up, replace the

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Derick Rethans
On Thu, 6 Mar 2003, Ian Holsman wrote: I've been using the apache2handler on two low/medium-traffic sites for a while and it appears ok to me. now.. I'm new to this list, and really don't know how it works, so excuse me if this is a FAQ or something. I'd like to see this code in

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread David Hill
You shouldn't :) m4-1.4 without the 'o'. Thanks ! That does help some. I don't get the buildconf warnings now, but I am still getting shell syntax errors in the resulting configure script. arrrgh :-p Dave -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Ian Holsman
Derick Rethans wrote: On Thu, 6 Mar 2003, Ian Holsman wrote: I've been using the apache2handler on two low/medium-traffic sites for a while and it appears ok to me. now.. I'm new to this list, and really don't know how it works, so excuse me if this is a FAQ or something. I'd like to see

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Sascha Schumann
Can I check this into PHP_4 PHP_4_3 ? Nope :) PHP_4 is ok. - Sascha -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread Sascha Schumann
Thanks ! That does help some. I don't get the buildconf warnings now, but I am still getting shell syntax errors in the resulting configure script. arrrgh :-p Make sure that autoconf-2.13 is completely reinstalled (including rm -rf autoconf-2.13). Otherwise, the frozen files which

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Derick Rethans
On Thu, 6 Mar 2003, Sascha Schumann wrote: Can I check this into PHP_4 PHP_4_3 ? Nope :) PHP_4 is ok. Sure, but there is no point in doing that... as there won't be released from that branch anyway. Derick -- Stop mad cowboy

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Sascha Schumann
Sure, but there is no point in doing that... as there won't be released from that branch anyway. Well, that depends on the needs of our users. Regardless, testing new SAPIs/extensions is quite a burden in the PHP 5 context, because you have two moving targets then -- the engine

[PHP-DEV] Error_log

2003-03-06 Thread John Coggeshall
Is there any reason we are still supporting PHP3 for error_log? Specifically that TCP/IP stuff. I was looking at error_log and I was wondering if anyone had a good objection to me submitting a patch for it to: define constants ERRORLOG_SYSLOG, ERRORLOG_EMAIL, ERRORLOG_FILE .. It's really

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Jani Taskinen
I think it would be okay to just replace the apache2filter with apache2handler altogether..since the former does not work as well anyway. Are there any differences how it is setup in http.conf btw? --Jani On Thu, 6 Mar 2003, Derick Rethans wrote: On Thu, 6

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Ian Holsman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jani Taskinen wrote: | I think it would be okay to just replace the apache2filter | with apache2handler altogether..since the former does not | work as well anyway. | | Are there any differences how it is setup in http.conf btw? no..

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Jani Taskinen
On Thu, 6 Mar 2003, Ian Holsman wrote: Jani Taskinen wrote: | I think it would be okay to just replace the apache2filter | with apache2handler altogether..since the former does not | work as well anyway. | | Are there any differences how it is setup in http.conf btw? no.. not now

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Peter Neuman
Hi, Jani Taskinen [EMAIL PROTECTED] wrote: And make the configure option --with-apxs2.. :) Do you have an idea when --with-apache2 comes? thus which one can install the Apache2 also without DSO/CGI support? As with the Apache1 (--with-apache)... Thanks Peter Neuman -- PHP Development

[PHP-DEV] XMLSec support in PHP

2003-03-06 Thread Mark J. Hershenson
I use libxml2 in PHP as almost a daily task, and I love it, but as my company is going further and further into XML as a data transport/storage format, I've become piqued at the idea of actually using xmlsec to securely store and/or transfer our files and RPC data. I know that there is an xmlsec

[PHP-DEV] CVS Account Request: moodeey

2003-03-06 Thread Mahmoud Hazem
I'm programing php , and I would join php.net Development team . -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: vbzoom

2003-03-06 Thread Khaled Mamdouh
PHP development -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread David Hill
Thanks ! That does help some. I don't get the buildconf warnings now, but I am still getting shell syntax errors in the resulting configure script. arrrgh :-p Make sure that autoconf-2.13 is completely reinstalled (including rm -rf autoconf-2.13). Otherwise, the frozen

[PHP-DEV] Threads in PHP5?

2003-03-06 Thread Daniel Skrach
Hello, php-dev mailing list members, Just one short question: Are threads a planned feature for ZE2 / PHP5? thanks for your answers. Daniel Skrach [EMAIL PROTECTED] 2003-03-07 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Threads in PHP5?

2003-03-06 Thread Timm Friebe
On Fri, 2003-03-07 at 02:02, Daniel Skrach wrote: Hello, php-dev mailing list members, Just one short question: Are threads a planned feature for ZE2 / PHP5? AFAIK, no. You might want to have a look at http://cvs.php.net/cvs.php/pear/PECL/threads though. - Timm -- PHP Development

Re: [PHP-DEV] Re: [PHP] Threading

2003-03-06 Thread Braulio José Solano Rojas
Hi! Thanks all of you for your answers, especially to Dave Viner. I will be investigating on how to solve my problem. Maybe someone of the core of PHP could point me on how to do mutual exclusion because I've seen code like the following inside PHP (however I don't know if I can use it):

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Ilia A.
On March 6, 2003 11:19 am, Derick Rethans wrote: Our policy is not to merge new things to stable branches (which is PHP_4_3 now). True, however the apache2handler works much better then the existing apache2filter and as far as I can tell fixes at least 1 crash bug. There maybe more things it

Re: [PHP-DEV] Fix for wordwrap()

2003-03-06 Thread Ilia A.
On March 6, 2003 06:52 am, Jedi/Sector One wrote: Hello. Maybe this is the intended behavior, but wordwrap()'s behavior is a bit illogical on PHP 4.3.1, as it does only break after a plain whitespace, not after punctuation, \n, etc. Here's a trivial sample : $a =

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Jani Taskinen
On Thu, 6 Mar 2003, Ilia A. wrote: On March 6, 2003 11:19 am, Derick Rethans wrote: Our policy is not to merge new things to stable branches (which is PHP_4_3 now). True, however the apache2handler works much better then the existing apache2filter and as far as I can tell fixes at least 1

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread Jani Taskinen
On Thu, 6 Mar 2003, David Hill wrote: I encountered what appears to be a typo in odbc/config.m4: + PHP_EVAL_LIBLINE([$ODBC_LFLAGS $ODBC_LIBS], OBDC_SHARED_LIBADD) that should probably be ODBC, but it had nothing to do with my build problem. Good catch..this closed (hopefully) at least

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread Jani Taskinen
On Thu, 6 Mar 2003, David Hill wrote: I set up a debian linux box and after getting the right versions of things I am still getting the same results from configure. I am getting a syntax error saying else unexpected. With php5 module HEAD? What line is the error at? What does running

[PHP-DEV] Help a beginner out please!!

2003-03-06 Thread Ted Conn
Hi well maybe this isnt the right place to put a beginners post but I will find out soon if its not I guess! Anyway I am as newbie at PHP that one can get. I went to PHP.net for some resources on how to get started and I downloaded a bunch of zip files and basically followed their instructions

Re: [PHP-DEV] Help a beginner out please!!

2003-03-06 Thread George Schlossnagle
Wrong list. You're looking for [EMAIL PROTECTED] This is a list for the development of the language itself, not with it. On Friday, March 7, 2003, at 12:44 AM, Ted Conn wrote: Hi well maybe this isnt the right place to put a beginners post but I will find out soon if its not I guess! --

Re: [PHP-DEV] Apache2 SAPI

2003-03-06 Thread Derick Rethans
On Fri, 7 Mar 2003, Jani Taskinen wrote: I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. I'm big +1 on this as it can be considered as a FIX.. Let's just replace the other

Re: [PHP-DEV] Fix for wordwrap()

2003-03-06 Thread Jedi/Sector One
On Thu, Mar 06, 2003 at 09:53:22AM -0500, Ilia A. wrote: you are hardcoding the 'break' as ' ', meaning that no other character is considered a space hence The documentation states that 'break' is what is used to break lines, not what is considered a space. Simple try with PHP 4.3.1 :

[PHP-DEV] Re: [PHP-I18N] Help: Sablotron and Shift-jis

2003-03-06 Thread Moriyoshi Koizumi
It works for me. See the attached example. Anyway, you don't have to crosspost your question to [EMAIL PROTECTED], which is for developing php internals and irrelevant for such user questions. Hope this helps Moriyoshi Michel Sahyoun [EMAIL PROTECTED] wrote: Does anyone have an example of

[PHP-DEV] Help: Sablotron and Shift-jis

2003-03-06 Thread Michel Sahyoun
Does anyone have an example of using XSLT with Sablotron to transform and XML document containing Shift-jis encoded characters? I keep getting the following error message: Illegal Character for Encoding 'Shift-jis' I am using the latest from snap.php.net and sablotron 0.97 FullPack with iconv,

Re: [PHP-DEV] Help: Sablotron and Shift-jis

2003-03-06 Thread Marcus Börger
At 00:40 07.03.2003, Michel Sahyoun wrote: Does anyone have an example of using XSLT with Sablotron to transform and XML document containing Shift-jis encoded characters? I keep getting the following error message: Illegal Character for Encoding 'Shift-jis' You could try: SJIS and Shift_JIS keep

Re: [PHP-DEV] Help: Sablotron and Shift-jis

2003-03-06 Thread Michel Sahyoun
Thanks. But I have tried SJIS and Shift_JIS in addition to a couple of other combinations to no avail. I believe the problem might not be with the way the encoding is spelled, but elsewhere. If anyone has a working example of transforming an sjis or other eastern language encoded xml document,

Re: [PHP-DEV] Issues in passing session data

2003-03-05 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Wed, 5 Mar 2003, Hantzley wrote: Hi php users, I have some questions regarding the way developers uses php sessions. For instance, most

Re: [PHP-DEV] [PATCH] - 64 bit issue with zend_parse_parameters calls

2003-03-05 Thread David Hill
Just commit these.. I will - give me a couple of days though - given that it is my first commit with php I want to triple check that I have got the process correct before I push the button :-) Dave -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-03-05 Thread David Hill
A single API is probably sufficient but I can understand that extension writers might want to use ints. The INI flag might have nothing to do with an internal zval and an int might be more than enough. I don't really mind but I wouldn't introduce OnUpdateInteger. I guess we should either

Re: [PHP-DEV] [PATCH] imagesavealpha()

2003-03-05 Thread Ilia A.
On March 5, 2003 12:18 am, Steven Brown wrote: I went to update the official gd library with my bug fixes so I could get them rolled back into PHP's without requiring PHP's gd diverge more, but it appears between the time PHP bundled gd and now that the gd people have fixed the most important

Re: [PHP-DEV] Modifying PHP variables in C

2003-03-05 Thread John Lim
Hi Moriyoshi Thanks for the advice! Moriyoshi Koizumi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You should use zval_ptr_dtor() to dispose the old value. Note the old value won't actually be freed as long as any reference to the variable is alive. -- PHP Development Mailing

[PHP-DEV] pg_lo_open and object creation... intended behavior?

2003-03-05 Thread David Brown
Hi: This is an excerpt from ext/pgsql/pgsql.c, in pg_lo_open: --- if (strchr(mode_string, 'w') == mode_string) { pgsql_mode |= INV_WRITE; create = 1; if (strchr(mode_string, '+') == mode_string+1) { pgsql_mode |= INV_READ; } } pgsql_lofp = (pgLofp *)

[PHP-DEV] Question about zend_compile

2003-03-05 Thread John Coggeshall
I'm playing around with the compiler/executor and I was wondering if someone could answer a question.. Is there any reasonable way to essentially push/pop the function table? What I'd like to do is get a function_table hash for only a single file (pesudo code below):

Re: [PHP-DEV] Question about zend_compile

2003-03-05 Thread George Schlossnagle
Look at apc. It tracks per-file function and class tables. http://apc.communityconnect.com/ (v2.0) pear/PECL/apc (v1.x) Both versions do the thing you wish for. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FYI: PHP/threads

2003-03-05 Thread Timm Friebe
I've been playing around with the (not new) idea of introducing threads into PHP userland (maybe something to think about havin in PHP6?). What came out of it is available at [1], offering an object oriented API (in comparison to PECL/threads [2]). Threads would quite likely come in handy in the

[PHP-DEV] Re: [Zend Engine 2] FYI: PHP/threads

2003-03-05 Thread George Schlossnagle
Both of these examples could be realized using fork() or socket_select(), though the first is not portable and the latter produces unnecessary overhead. Just to nit-pick: non-blocking io is much more efficient than threads, -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

[PHP-DEV] modules in c++

2003-03-05 Thread Michel M. dos Santos
Hi, I've been trying use C++ within a PHP extension with help by document in http://www.tutorbuddy.com/software/phpcpp/phpcpp/. The instructions works fine but I have problems with linking objects. The script libtool links objects with gcc and not with g++ and the

[PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
That should still work fine, though, shouldn't it? I mean, the .so spit out should be working properly. I just tested this with a C++ extension and while gcc was used by libtool for the linking, the extension works fine. If you really want the C++ compiler to do the linking, you can open up

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread Michel M. dos Santos
J, First, thanks by your article. My original e first problem is : PHP Warning: Unable to load dynamic library '/usr/lib/php4/20010901/biac.so' - /usr/lib/php4/20010901/biac.so: undefined symbol: endl__FR7ostream in Unknown on line 0 The use of cout

RE: [PHP-DEV] Re: modules in c++

2003-03-05 Thread Dave Viner
do you have the PHP_REQUIRE_CXX() in your config.m4? dave -Original Message- From: Michel M. dos Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: modules in c++ J, First

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread Michel M. dos Santos
March 2003 18:01, Dave Viner wrote: do you have the PHP_REQUIRE_CXX() in your config.m4? dave -Original Message- From: Michel M. dos Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: modules

RE: [PHP-DEV] Re: modules in c++

2003-03-05 Thread Dave Viner
To: Dave Viner; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: modules in c++ Yes. My config.m4: PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac support]) if test $PHP_BIAC != no ; then PHP_ADD_LIBRARY(stdc++) PHP_EXTENSION(biac

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Looks like you need to link to the standard C++ library. Try putting this in your config.m4 file: PHP_ADD_LIBRARY(stdc++) And run phpize, configure and make again. That should make gcc link with stdc++. J Michel M. Dos Santos wrote: J, First, thanks by your article. My original e

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Actually, try this instead of PHP_ADD_LIBRARY(stdc++) and see if that works... PHP_ADD_LIBRARY(stdc++, 1, BIAC_SHARED_LIBADD) J Michel M. Dos Santos wrote: Yes. My config.m4: PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac support]) if test $PHP_BIAC

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread Sascha Schumann
Please supply 1 as the 6th argument to PHP_NEW_EXTENSION. - Sascha -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread David Sklar
Just before zend_execute()/execute() handles each opcode in its big switch() statement, I'd like to be able to call a function and pass it the opcode (or other information from the opline. Is the best approach to reset zend_execute to a new function in the PHP_MINIT_FUNCTION() (and restore the

Re: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread Sterling Hughes
Just before zend_execute()/execute() handles each opcode in its big switch() statement, I'd like to be able to call a function and pass it the opcode (or other information from the opline. Is the best approach to reset zend_execute to a new function in the PHP_MINIT_FUNCTION() (and restore

RE: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread David Sklar
On Wednesday, March 05, 2003 5:35 PM, Sterling Hughes wrote: Just before zend_execute()/execute() handles each opcode in its big switch() statement, I'd like to be able to call a function and pass it the opcode (or other information from the opline. Is the best approach to reset zend_execute

Re: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread Sterling Hughes
On Wednesday, March 05, 2003 5:35 PM, Sterling Hughes wrote: Just before zend_execute()/execute() handles each opcode in its big switch() statement, I'd like to be able to call a function and pass it the opcode (or other information from the opline. Is the best approach to reset

<    1   2   3   4   5   6   7   8   9   10   >