[PHP-DEV] Tux + PHP

2002-06-11 Thread Na Sang-ho
Hi~ I'll change apache webserver to tux webserver, so I tested php scripts. but some scripts, not working. That scripts are using exec(), system(), shell_cmd() functions. doesn't tux module support that functions? Thank you in advance. -- PHP Development Mailing List

Fwd: Re: [PHP-DEV] filesystem security questions

2002-06-11 Thread Andi Gutmans
Can someone please help out Wez? ;) Thanks, Andi >From: "Wez Furlong" <[EMAIL PROTECTED]> >Date: Wed, 12 Jun 2002 01:39:53 +0100 >To: "Andi Gutmans" <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED], "Wez Furlong" <[EMAIL PROTECTED]> >Subject: Re: [PHP-DEV] filesystem security questions > >If one of t

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread Andi Gutmans
At 11:27 PM 6/11/2002 +0100, Ivan Ristic wrote: > > Okay, I guess I can live with it :) > > > > Andi > > Is there anyone else who would like to comment on the > patch? > > http://www.webkreator.com/download/class_autoload.patch > > Or can we have it committed? Hmm, I was wondering where t

Re: [PHP-DEV] PECL != Siberia

2002-06-11 Thread Dan Allen
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Dan Allen Wrote: > > Tomas V.V.Cox ([EMAIL PROTECTED]) wrote: > > > >> "Stig S. Bakken" wrote: > >> > > >> > You tell me :) We currently have no nice way of bootstrapping PEAR > >> > on Windows like we have on Unix (with "make install-pear-i

Re: [PHP-DEV] PECL != Siberia

2002-06-11 Thread mlwmohawk
Dan Allen Wrote: > Tomas V.V.Cox ([EMAIL PROTECTED]) wrote: > >> "Stig S. Bakken" wrote: >> > >> > You tell me :) We currently have no nice way of bootstrapping PEAR >> > on Windows like we have on Unix (with "make install-pear-installer" >> > and go-pear). What would be the most sensib

Re: [PHP-DEV] PECL != Siberia

2002-06-11 Thread Chris Shiflett
Dan Allen wrote: >Call me arrogant, but just use Linux for crying out loud. > OK. You're being arrogant. >Doesn't this debate make it clear that windows just sux when it >comes to doing anything remotely complicated. IMHO. I had to say >it. But if you feel that you have all the time in the w

Re: [PHP-DEV] filesystem security questions

2002-06-11 Thread Wez Furlong
If one of the doc guys can create a section in the docs as a skeleton, I'll make an effort to fill in the docs, but I have very limited time for a couple of months :-/ --Wez. On 08/06/02, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 12:42 PM 6/8/2002 +0200, Markus Fischer wrote: > > Practi

Re: [PHP-DEV] filesystem security questions

2002-06-11 Thread Dan Allen
I personally thing there are FAR more important things to work on in this extension before we even address this issue. For instance: - relative xpath queries #1!! - namespace support in xpath (meaning auto register from the xml context) - fixing get_element_by_id to just name a few. Dan Rob

Re: [PHP-DEV] PECL != Siberia

2002-06-11 Thread Dan Allen
Tomas V.V.Cox ([EMAIL PROTECTED]) wrote: > "Stig S. Bakken" wrote: > > > > You tell me :) We currently have no nice way of bootstrapping PEAR on > > Windows like we have on Unix (with "make install-pear-installer" and > > go-pear). What would be the most sensible way of giving Windows users >

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread Stig S. Bakken
Why? Does the parser risk ending up in an invalid state if the PHP code has errors? - Stig On Mon, 2002-06-10 at 22:35, Andi Gutmans wrote: > Or have a user-definable classpath. But I think it's better not to call > into PHP code. > > Andi > > At 11:32 PM 6/10/2002 +0300, Andi Gutmans wrote

[PHP-DEV] Re: ZE2 and Exceptions - One for Zeev/Andi

2002-06-11 Thread Harald Radi
> one other (unrelated) thing : there seems to be an overlap between > members of the zend_object_handlers struct and the zend_class_entry > stuct (function pointers for property access and method calls). is the > current state transitional (i.e. should all code going forward use > only the ze

[PHP-DEV] Set_time_limit trouble

2002-06-11 Thread Mark Villemade
hi all, i don't know if i have already asked you about this, but i guess not. here's my trouble. On one of our application on Lycos Portals, we have a script that makes an fsockopen on an external server that checks out credit cards and stuff. That server only checks one card at a time, so if

[PHP-DEV] How to extend a class in Zend?

2002-06-11 Thread fabwash
Hi, I know how to register a class and functions inside it, but i'm wondering how to extend one? I want to do the equivalent of: class Fred extends Joe { } Then, once my class is extended, how do I call parent functions from my new class? Any example? Fab.

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread Ivan Ristic
> Okay, I guess I can live with it :) > > Andi Is there anyone else who would like to comment on the patch? http://www.webkreator.com/download/class_autoload.patch Or can we have it committed? -- Ivan Ristic, [EMAIL PROTECTED] [ Weblog on PHP, Software development, Intranets, and Kno

[PHP-DEV] Bug with cURL...

2002-06-11 Thread Matthew Walker
I believe I found a bug with cURL support when PHP 4.1.2 is compiled in CGI mode. Go take a look at the report here: http://bugs.php.net/bug.php?id=17715 -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: ef651100

2002-06-11 Thread Jack Lam
Help the translation of PHP Manuel. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] =& problem with ZE2: Can't use function return value in write context

2002-06-11 Thread John Lim
Thanks! I appreciate the fast response. I look forward to testing future versions of ZE2. "Andi Gutmans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This should be fixed now. > Note, that it will only work if you are returning your return value by > referen

[PHP-DEV] Re: javascript not working with php

2002-06-11 Thread Mike
Yeah, I've run into the same problem. My scenario was I had mutiple checkboxes (so you can select more than one), and the name of the field was "address[]" (so I had a array of values on the php side). The only way I could figure around this problem, was to, rather than use the name of the object

Re: [PHP-DEV] =& problem with ZE2: Can't use function return value in write context

2002-06-11 Thread Andi Gutmans
This should be fixed now. Note, that it will only work if you are returning your return value by reference. In engine 1 doing anything else was buggy. Andi At 07:16 PM 6/11/2002 +0300, Andi Gutmans wrote: >It's supposed to work under the same circumstances as in Engine 1 (if you >really return

Re: [PHP-DEV] =& problem with ZE2: Can't use function return value in write context

2002-06-11 Thread Andi Gutmans
It's supposed to work under the same circumstances as in Engine 1 (if you really returned a reference) although in most cases you will now be returning objects by value and assigning them by value. It was introduced originally to get around the object problems the Engine 2 solved. I'll look int

Re: [PHP-DEV] ZE2 and Exceptions - One for Zeev/Andi

2002-06-11 Thread Andi Gutmans
At 07:55 AM 6/11/2002 -0400, l0t3k wrote: >ive been looking over the ZE2 alpha release code for clues on porting my OO >extension over to the new engine, but a few things are not clicking yet >how do i raise an exception from C. last time i asked, Andi said that it >would be sufficient to do a

RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread Andi Gutmans
Okay, I guess I can live with it :) Andi At 02:40 PM 6/11/2002 +0200, phpsurf wrote: >I think handlers are the best solution to make this process configuratble >without introducing a new ini option. >we already have such handlers for errors ... >and then one can define his own process to impleme

RE: [PHP-DEV] javascript not working with php

2002-06-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Anil Garg [mailto:[EMAIL PROTECTED]] > Sent: 11 June 2002 15:01 > > Hi, > In a form i have two elements: > > I > > > II > > > > > Now i want to show an alert message(using javascript) if the > text field is > empty or no option is selected

[PHP-DEV] javascript not working with php

2002-06-11 Thread Anil Garg
Hi, In a form i have two elements: I II Now i want to show an alert message(using javascript) if the text field is empty or no option is selected from categories list. For the text field its working fine as below (the javascript method called when onsubmit method is called):

RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread phpsurf
I think handlers are the best solution to make this process configuratble without introducing a new ini option. we already have such handlers for errors ... and then one can define his own process to implement his specific needs farther than just setting a classPath. why don't you like this idea

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [ZendEngine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Zeev Suraski
At 11:23 AM 6/11/2002, Sebastian Bergmann wrote: > This way, an object of Foo can dynamically change behaviour in a very > elegant way. I'm well aware of the strategy design pattern, but it existed before 'Lava' (I use it in Java all the time)... You can just as easily do this by creating

[PHP-DEV] ZE2 and Exceptions - One for Zeev/Andi

2002-06-11 Thread l0t3k
ive been looking over the ZE2 alpha release code for clues on porting my OO extension over to the new engine, but a few things are not clicking yet how do i raise an exception from C. last time i asked, Andi said that it would be sufficient to do a EG(exception) = error_object_i_creat

Re: [PHP-DEV] =& problem with ZE2: Can't use function return value in write context

2002-06-11 Thread Sebastian Bergmann
John Lim wrote: > Is this a bug or a feature of the new ZE2. I noticed there are many > places in PEAR and my code that use the =& syntax. It's a feature :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: h

Re: [PHP-DEV] PECL != Siberia

2002-06-11 Thread Tomas V.V.Cox
"Stig S. Bakken" wrote: > > You tell me :) We currently have no nice way of bootstrapping PEAR on > Windows like we have on Unix (with "make install-pear-installer" and > go-pear). What would be the most sensible way of giving Windows users > something ala go-pear? > What about: php -r "inc

[PHP-DEV] =& problem with ZE2: Can't use function return value in write context

2002-06-11 Thread John Lim
Hello, With the ZE 2, PHP 4.3.0-alpha I get an error that looks like this: Fatal error: Can't use function return value in write context in d:\inetpub\wwwroot\php\test5.php on line 29 Is this a bug or a feature of the new ZE2. I noticed there are many places in PEAR and my code that use the

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 sendmail.c

2002-06-11 Thread Markus Fischer
On Tue, Jun 11, 2002 at 11:59:55AM +0200, Marcus Börger wrote : > [I would do but unfortunateley i ran out of time due to a big project...and > i do not have a machine to do it right now] Nor do I right now. > Perhaps it would be a good idea to add some documentation in snprintf.h/c > that

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 sendmail.c

2002-06-11 Thread Marcus Börger
[I would do but unfortunateley i ran out of time due to a big project...and i do not have a machine to do it right now] Perhaps it would be a good idea to add some documentation in snprintf.h/c that describes the differences between snprintf/spprintf and in which case to choose which function ma

Re: [PHP-DEV] xpath_register_ns problem

2002-06-11 Thread Dan Allen
Dan Allen ([EMAIL PROTECTED]) wrote: > I was testing out this function today (xpath_register_ns) and I > found a possible problem in its implementation. If you use several > namespaces in you document and then define a last one to be the > default namespace, how are you supposed to register this

[PHP-DEV] xpath_register_ns problem

2002-06-11 Thread Dan Allen
I was testing out this function today (xpath_register_ns) and I found a possible problem in its implementation. If you use several namespaces in you document and then define a last one to be the default namespace, how are you supposed to register this with the php function. Example: http://w

[PHP-DEV] php.dev.zend?

2002-06-11 Thread Yasuo Ohgaki
Is it possible to move Zend Engine 2 list to php.net lists and make it available to news.php.net? This should have been done when Zend/TSRM source is moved to cvs.php.net, IMHO :) -- Yasuo Ohgaki -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [ZendEngine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Sebastian Bergmann
Zeev Suraski wrote: > able to switch aggregated objects after instantiation is not very > helpful IMHO. Strategy Design Pattern strategy = $strategy; } } ?> This way, an object of Foo can dynamically change behaviour in a very elegant way. -- Sebastian Bergmann ht

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Zeev Suraski
At 10:19 AM 6/11/2002, Sebastian Bergmann wrote: >Alex Black wrote: > >> class foo aggregates bar { > >> } > > > > I think that is a nice solution. > > It's not, because it's static. Multiple iheritance is flawed, because > it's static. That's hardly considered a flaw almost anywhere, even in

Re: [PHP-DEV] ActivePHP behavior

2002-06-11 Thread moshe doron
that line $GLOBALS["window"]->$document->write("why that alert doesn't show?"); should be: $GLOBALS["window"]->alert("why that alert doesn't showed?"); -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ActivePHP behavior

2002-06-11 Thread moshe doron
coz ActivePHP is under development, and there is no release (ie: i have to compile it by myself) && no document, i considerd the behavior i reported as bug, or maby considered missing property we *must* have to make the use of that activescript realy useable as client side web script. that behavi

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-11 Thread Sebastian Bergmann
"Stig S. Bakken" wrote: > 1. Interfaces / multiple inheritance > [snip] I totally agree that those two don't belong into PHP. > class foo aggregates bar { > } Please see my other reply (RfC on Delegation). -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpO

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Sebastian Bergmann
Alex Black wrote: >> class foo aggregates bar { >> } > > I think that is a nice solution. It's not, because it's static. Multiple iheritance is flawed, because it's static. Have a look at my RfC for delegation: RfC: http://cvs.php.net/co.php/ZendEngine2/RFCs/004.txt Further readin

Re: [PHP-DEV] Streamy PHP parser input?

2002-06-11 Thread Zeev Suraski
At 02:29 AM 6/11/2002, Aaron Bannert wrote: >On Tue, Jun 11, 2002 at 12:38:44AM +0300, Zeev Suraski wrote: > > There should be a way of doing that within the framework of flex by > > redefining YY_INPUT and hacking around flex. > >I'd love to see this built in to SAPI so that any module could take