[PHP-DEV] Re: fmod() function

2002-02-20 Thread Yasuo Ohgaki
If you could send patch as unified diff, it's much easier to apply :) Anyway, I attached hand edited diff since my CVS source contains other changes now... Someone care to check in? -- Yasuo Ohgaki Graeme Merrall wrote: > I was porting some Python scripts to PHP and came across the fmod() > fu

Re: [PHP-DEV] Sockets Extension Rework (API, etc...) VERY LONG

2002-02-20 Thread Derick Rethans
Hey Jason, On 20 Feb 2002, Jason Greene wrote: > Instead of just committing a gigantic patch to solve these problems, and > redefine the extensions behavior, I decided to open a thread for > discussion on how I intend to solve all the problems. > > My solution does involve modifying pieces of th

Re: [PHP-DEV] fmod() function

2002-02-20 Thread Andi Gutmans
Just realized now you're talking about doubles :) Never mind my previous Email... Andi At 12:59 PM 2/21/2002 +1100, Graeme Merrall wrote: >I was porting some Python scripts to PHP and came across the fmod() >function. > >Since it's not implemented in PHP so I whipped up an fmod function for >inc

Re: [PHP-DEV] fmod() function

2002-02-20 Thread Andi Gutmans
You can do $a % $b to calculate the remainder. Andi At 12:59 PM 2/21/2002 +1100, Graeme Merrall wrote: >I was porting some Python scripts to PHP and came across the fmod() >function. > >Since it's not implemented in PHP so I whipped up an fmod function for >inclusion >into ext/standard/math.c wh

[PHP-DEV] PHP 4.1.1, c-client-2001a and cyrus-imapd

2002-02-20 Thread 2147483647
Hi, I've asked this question in php.general. But it seems none knows why it's happens. May be in this list I'll find help... we're using PHP4.1.1 as apache module compiled with c-client-2001a. So when I try to open imap mailbox server (cyrus-imapd v 2.0.16) says: Feb 19 19:00:18 hermes imapd

[PHP-DEV] CVS Account Request: prunni

2002-02-20 Thread Raman Unni
learning to develop the web site -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] fmod() function

2002-02-20 Thread Graeme Merrall
I was porting some Python scripts to PHP and came across the fmod() function. Since it's not implemented in PHP so I whipped up an fmod function for inclusion into ext/standard/math.c which I've pasted below. I can create a diff if necessary to include the 2 small changes to basic_functions.c an

[PHP-DEV] Re: Sockets Extension Rework (API, etc...) VERY LONG

2002-02-20 Thread Richard Samar
...posting at 2:30am can lead to "interesting" sentence constructions. my appologies :-) -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ext/xmlrpc some little forcebyref issues

2002-02-20 Thread Richard Samar
Someone please make this happen in the FE. force by ref for the follwing: xmlrpc_decode_request -> second argument xmlrpc_set_type -> first argument as e.g. xmlrpc_decode_request($xml_request, &$method) will give you an annoying warning. ehhh, and surely remove the "if (!ParameterPassed

[PHP-DEV] Re: Sockets Extension Rework (API, etc...) VERY LONG

2002-02-20 Thread Richard Samar
Hi Jason, I was the "extension user" talking about a few of the problems :-) I still had not the time to take a look at all the functions. > 1. Consistency problems > a. Some functions take host, some take ip, some take both > b. Parts of the code use socklen_t, parts use int > c.

[PHP-DEV] Apache2 and PHP CVS from today.

2002-02-20 Thread Austin Gonyou
I got Apache2 2.0.32 beta, compiled, installed, and happy. I got PHP from CVS last night and this afternoon. PHP Compiled and installed using the following configure: configure --with-apxs2=/usr/web/bin/apxs --with-ssl --with-jpeg --with-png also configure --with-apxs2=/usr/web/bin/apxs no d

[PHP-DEV] Problem compiling php and apache in HPUX

2002-02-20 Thread Hector Jose Montalvo Herrera
Hello, I have problems installing PHP 4.1.1 and a apache server 1.3.23 with chroot. My S.O. is HPUX 11.0 I compiled apache with the module mod_so and php with the directory tree /usr/local/apache My chroot is /usr/www , after of compiling apache with php I make a tar of usr/local/apache and a t

[PHP-DEV] Sockets Extension Rework (API, etc...) VERY LONG

2002-02-20 Thread Jason Greene
To All, While examining a problem pointed out by a sockets extension user I noticed a consistency problem with some of the functions. While working on a simple patch to correct this issue I decided to review the entire module, and I noticed a lot of problems. They can be outlined as follows:

Re: [PHP-DEV] call_user_function()

2002-02-20 Thread brad lafountain
well... i hacked up a function to handle this... does anyone wanna look at my code and maybe possible include it with call_user_function int my_call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, int param_count, zval *params[] TSRMLS_DC) {

[PHP-DEV] call_user_function()

2002-02-20 Thread brad lafountain
I was wondering why call_user_function doens't handle calling methods of objects for an incomplete_class_entry. call_user_function(NULL, &incomplete_class, function_name, return, 0, NULL); i took a look at the code and it assumes that the function that you want to call is in the class_entry.func

Re: [PHP-DEV] CRC32

2002-02-20 Thread Rasmus Lerdorf
Done On Wed, 20 Feb 2002, l0t3k wrote: > could someone with karma please move the CRC32 macro and crc table to a > header so it can be generally accessible to modules ? > > id hate to duplicate it. > > > > -- > PHP Development Mailing List > To unsubscribe, visit: http://ww

RE: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2002 18:05 > > > (And I didn't bother to follow the link to require(), > which does include the necessary explanation, Whoops, no that's wrong -- I was too quick on the trigger! The require(

RE: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Zeev Suraski [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2002 17:41 > > I guess you didn't understand the change - require() became > like include(), > not the other way around. That means you can selectively > require() files, > inside if() statements

[PHP-DEV] Your CVS account

2002-02-20 Thread Rasmus Lerdorf
> To see how PHP is put together, in order to contribute new array > functions... array_firstkey( $array ) array_lastkey( $array ) > array_element_key( $array, $n ) array_firstvalue( $array ) > array_lastvalue( $array ) array_element_value( $array, $n ) ...and to > consider extending string charac

[PHP-DEV] CRC32

2002-02-20 Thread l0t3k
could someone with karma please move the CRC32 macro and crc table to a header so it can be generally accessible to modules ? id hate to duplicate it. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Zeev Suraski
At 19:39 20/02/2002, Ford, Mike [LSS] wrote: >I can find nothing in the PHP4 ChangeLog, or in the bugs database, that >mentions such a change. > >(1) Has this, indeed, changed? Yes. >(2) If so, shouldn't the ChangeLog mention it, and the manual document >which version it changed

[PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
I've just noticed that the manual's description of the difference between include() and require() has changed some time in the last few months from: "include() differs from require() in that the include statement is re-evaluated each time it is encountered (and only when it is being executed),

RE: [PHP-DEV] Tcl

2002-02-20 Thread Rasmus Lerdorf
> Are there plans to have tcl support for php? None whatsoever -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Conflicts in zend_language_parser.output

2002-02-20 Thread Zeev Suraski
As I mailed you a while ago, there are only 4 conflicts. All of the others are *solved* according to precedence rules. Zeev At 17:49 20/02/2002, Andrey Hristov wrote: >Hi, >does anyone saw that there are >1000 SR conflicts in >zend_language_parser.output. > >Regards, >Andrey Hristov > > > >--

RE: [PHP-DEV] Tcl

2002-02-20 Thread Hunter, Ray
Title: RE: [PHP-DEV] Tcl Are there plans to have tcl support for php? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:15 AM To: Hunter, Ray Cc: [EMAIL PROTECTED] Subject: Re

Re: [PHP-DEV] Tcl

2002-02-20 Thread Rasmus Lerdorf
> Is there any support for tcl with php? Nope -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Tcl

2002-02-20 Thread Hunter, Ray
Title: Tcl Is there any support for tcl with php? Ray Hunter Firmware Engineer ENTERASYS NETWORKS Phone:      801 887-9888 Fax:        801 972-5789 Email:      [EMAIL PROTECTED] www:        www.enterasys.com

[PHP-DEV] fopen UNC filename

2002-02-20 Thread Johannes Müller
I tried to fopen("\\machine\shaer\file.txt","w") on w2k iis 5.0 PHP 4.1.0 and I got fopen invalid argument error. I know, that UNC filenames are supported since PHP 4.0.6. I tried variants with machine\\share\\file.txt, ... but the error was the same. TIA Jo -- PHP Development Mailing Li

Re: [PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread derick
On Wed, 20 Feb 2002, Jani Taskinen wrote: > > +1 for this. So far I have lot of stuff sharing > same option values. In both cgi and apache module PHP. > > Who knows the ini parser best? Derick..? :) I say it's impossible! Derick -- PHP Development Mailing List

Re: [PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread Jani Taskinen
+1 for this. So far I have lot of stuff sharing same option values. In both cgi and apache module PHP. Who knows the ini parser best? Derick..? :) --Jani On Wed, 20 Feb 2002, Hartmut Holzgraefe wrote: >Yasuo Ohgaki wrote: >> I would like to have different file name for cli co

[PHP-DEV] Conflicts in zend_language_parser.output

2002-02-20 Thread Andrey Hristov
Hi, does anyone saw that there are >1000 SR conflicts in zend_language_parser.output. Regards, Andrey Hristov -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CLI and php.ini

2002-02-20 Thread J Smith
To a certain extent, but it doesn't work well at all. And it isn't portable. For instance, when I use this on my machine (linux, 2.4.9 kernel) #!/usr/local/bin/php -c /path/to/ini -q The path is set to " /path/to/ini -q", with a leading space and the -q. If I try this: #!/usr/local/bin/php -

[PHP-DEV] Re: Bug #15630: imap_utf7_decode appears to be broken

2002-02-20 Thread Robert Marchand
At 22:31 02-02-19 +0100, Markus Fischer wrote: >On Tue, Feb 19, 2002 at 08:56:24PM -, [EMAIL PROTECTED] >wrote : > > From: [EMAIL PROTECTED] > > Operating system: SGI Irix 6.5 > > PHP version: 4.1.1 > > PHP Bug Type: IMAP related > > Bug description: imap_utf7_decode app

Re: [PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread Hartmut Holzgraefe
Robinson, Mike wrote: > IMHO, conditionals in one php.ini file would have a huge > WTF factor on newbies and Joe User. newbies do not care about php.ini anyway ;( now serious: most of the php.ini settings will be equal for both, so why bother with two files (and keeping them in sync) when the sa

[PHP-DEV] CVS Account Request: elfhaven

2002-02-20 Thread Jim Moore
Fix FreeType 2 functions in php4/ext/gd.c -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread Robinson, Mike
Title: RE: [PHP-DEV] Re: CLI and php.ini Hartmut Holzgraefe wrote: > Yasuo Ohgaki wrote: > > I would like to have different file name for cli config file > > by _default_ also. > > i'd prefere conditionals in php.ini > > something like ... in apache config, > maybe ... ? IMHO, condition

[PHP-DEV] Re: Output Buffer - Bug #15613

2002-02-20 Thread A. Chorbadjiev
Hi, php 4.1.1 + apache 1.3.22 + XP pro (don't ask why) SAPI from the standard binary distribution A good example for the problem is the phpinfo() call since it produces a relatively large page. The infinite reloading occurs only over HTTP 1.1, over HTTP 1.0 the page loads ok but the garbage data

Re: [PHP-DEV] Get an application/octet-stream from a java applet

2002-02-20 Thread Andrey Hristov
Which version of PHP? Ask this on php-general. php-dev is for coders of core functionality. Best regards, Andrey Hristov - Original Message - From: "Nicolas Boutet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 3:24 PM Subject: [PHP-DEV] Get an applica

[PHP-DEV] Get an application/octet-stream from a java applet

2002-02-20 Thread Nicolas Boutet
Hi all, I'm trying to make a script to get "application/octet-stream" datas from a java applet. The method used by the applet is POST and I tried to use $HTTP_RAW_POST_DATA like this but $HTTP_RAW_POST_DATA is not set and $buffer stills empty. The size of the data sent by the applet is 860bytes

RE: [PHP-DEV] WhoIs

2002-02-20 Thread Norbert Eder
hi i think this should not be difficult to realize. you only have to execute whois, parameter domain and do parse the result. if you won't do it yourself search at sourceforge ... greets > -Ursprüngliche Nachricht- > Von: Vasek [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 20. Febru

Re: [PHP-DEV] PHP Executable

2002-02-20 Thread Martín Marqués
On Mar 19 Feb 2002 14:36, Jan Lehnardt wrote: > Hi, > On Tue, 19 Feb 2002 14:31:44 -0300 > > Martín Marqués <[EMAIL PROTECTED]> wrote: > > It would be a relief for my, just cause I have to come twice each time > > I > > > upgrade PHP (I have a bunch of PHP script that run on cron, or command > > l

Re: [PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread Hartmut Holzgraefe
Yasuo Ohgaki wrote: > I would like to have different file name for cli config file > by _default_ also. i'd prefere conditionals in php.ini something like ... in apache config, maybe ... ? -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 Wir stellen für Sie aus au

[PHP-DEV] Re: CLI and php.ini

2002-02-20 Thread Yasuo Ohgaki
J Smith wrote: *SNIP* > > I've also run into problems with a few extensions that don't run with > things like the Zend optimizer. (PCNTL comes to mind -- obviously it's only > useful in the CLI executable, but the Zend optimizer refuses to work with > it at all, yet I still want to use it on t

[PHP-DEV] Re: Output Buffer - Bug #15613

2002-02-20 Thread Yasuo Ohgaki
A. Chorbadjiev wrote: > Hi, > without output buffering turned on, wheter invoked with a handler or > explicit i'm getting garbage data and/or infinite reloading of the page. It > was already reported and I think its still open (#14865). Everything is ok > if the buffer size is > 4096. It happens

[PHP-DEV] WhoIs

2002-02-20 Thread Vasek
Hi all, Please help. Im looking for script for check if is domain free or not. I just know that I have to use WhoIs, but its all what I know :-)please, has somebody this script. Output with domain is free or not Thanks for your help... -- PHP Development Mailing List