Re: [PHP-DEV] New extension: netfilter/iptables

2003-03-07 Thread Corne' Cornelius
Can i code a netfilter extension for PHP or don't you guys see the need for it ? It could result in some great firewall frontends in PHP Go for it. Assuming the netfilter library is not under the GPL. LGPL is fine. -Rasmus It's under GPL, i'll email their core team and ask if they'll

[PHP-DEV] Specifying pass-by-ref parameters

2003-03-07 Thread l0t3k
im a bit rusty, so could someone explain how i would set up a function to accept a byref parameter ? no zend api documentation i ran across is clear on this issue. l0t3k -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: messju

2003-03-07 Thread messju mohr
hello, i need a cvs-account for development on the smarty repository. is here the right place to apply for one? regards messju -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: messju

2003-03-07 Thread Derick Rethans
Hi, On Fri, 7 Mar 2003, messju mohr wrote: > i need a cvs-account for development on the smarty repository. > is here the right place to apply for one? You will need to fill in the forms available on: http://www.php.net/cvs-php.php Derick -- Sto

[PHP-DEV] CVS Account Request: messju

2003-03-07 Thread Messju Mohr
I need it for active development on the Smarty Template Engine. Monte Ohrt <[EMAIL PROTECTED]> who is the maintainer it asked me for help with smarty. He will give me access to the smarty-Repository, once i have a cvs-account. Thanks in advance... -- PHP Development Mailing List

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

2003-03-07 Thread Björn Kalkbrenner
Hi, At http://sourceforge.net/projects/sqlite-php/, i found a module for php which implements database functions for sqlite (http://www.sqlite.org) which is a wonderful small, efficient and fast flatfile sql database. I compiled it yesterday and was very surprised. I think i want to develop on tha

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

2003-03-07 Thread Sebastian Bergmann
Björn Kalkbrenner wrote: is there a way to contribute that module (or another module) to the core php distribution ? Modules like the one you mention should go into PECL [1]. -- [1] http://pear.php.net/ -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.

Re: [PHP-DEV] Specifying pass-by-ref parameters

2003-03-07 Thread Wez Furlong
Look at the function table in basic_functions.c: { PHP_FE(nameoffunc), NULL } This NULL can be replaced with an array that specifies BYREF_FORCE for the relevant arguments; look for first_and_second__args_force_ref for an exmaple. --Wez. On Fri, 7 Mar 2003, l0t3k w

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

2003-03-07 Thread Sascha Schumann
> # ./flex --version > flex 2.5.27 What does this output? flex -V -v --version 2>/dev/null - Sascha -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] url_rewriter.tags and JS

2003-03-07 Thread Viorel Dehelean
Hi ! Is there any way to get PHP add the session id to a JS call like onClick = "location.href='whatever.php'" ? Thanks, Viorel -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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? W

[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 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

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

[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
Hi there, I'm puzzled by the iconv() call from php. When I test it with cyrillic text, in the utf-8 or windows-1251 charsets, or when I try with iranian text, the following php call brings me only question marks "???". What I don't understand is that lynx parses those same texts very well

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

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, Fil wrote: > > Hi there, > > I'm puzzled by the iconv() call from php. When I test it with cyrillic > text, in the utf-8 o

[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 "Package:Sub

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! ---

[PHP-DEV] ZEND_CHANGES suggestion, part II

2003-03-07 Thread Greg Beaver
Hi again, It would be helpful to summarize the difference between namespaces and classes in ZEND_CHANGES as well. I see namespaces can have their own functions, constants and variables, like classes. Namespaces can't be instantiated into objects, correct? So access modifiers and constructor

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. Re

[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 servl

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 develo

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

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

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 configu

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 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 To unsubscribe, visit: h

[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 th

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

2003-03-07 Thread Eric Lambart
Hello. After a short bout of hair-pulling, I have discovered the source (in the Zend engine) of a recent problem, and have fixed it. BACKGROUND: As I have mentioned previously on this list, I am developing a complex PHP extension, which among many other things creates its own PHP classes, and whe

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 h

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 1

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'

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

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.. Let

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

2003-03-07 Thread Eric Lambart
On Fri, 2003-03-07 at 15:30, Wez Furlong wrote: > It's not a bug; PHP is a case-IN-sensitive language when it comes to > function and class names. I understand that, and if my message implied anything differently, I apologize. That is precisely the problem I am addressing; when storing the functi

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 o

[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 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 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_ deve

[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 regards