[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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 only on XP (in my case).
 
 Asen Chorbadjiev

This is really strange, since PHP just output one by one when
output buffer is not used.

What is your SAPI? ISAPI?
It sounds like SAPI problem rather than output buffering.

--
Yasuo Ohgaki

 
 
 Yasuo Ohgaki [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
Wez Furlong wrote:

Hey,

Can someone who knows the output buffer code take a look at this bug?
I only got involved just in case it was an abvious mistake, but it

 doesn't
 
look like it and I'm not yet an output buffer guru.

It seems odd that it works OK under NT but not under XP, so perhaps it
is an apache-under-XP problem?

--Wez.

Is the user using iconv? mbstring?
I guess the user is not using them, but if the user is using
them. The user must turn off conversion.

--
Yasuo Ohgaki


On 19/02/02, [EMAIL PROTECTED] wrote:


ID:   15613
Updated by:   [EMAIL PROTECTED]
-Summary:  readfile doesn't  work correctly with WIndows XP
Reported By:  [EMAIL PROTECTED]
Status:   Feedback
Bug Type: Output Control
Operating System: Windows XP (Professional)
PHP Version:  4.1.1
New Comment:

Yuk!
Do you have output buffering enabled, and/or gzip compression?
(Just to confirm).




 
 
 
 



-- 
Yasuo Ohgaki
Please CC me when you reply to news/list messages.
Do not reply only to me :)


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 the web server -- thus requiring 
 seperate php.ini configurations.)
 
 I know that you can set PHPRC to another path before starting PHP up, 
 either as CLI or from a web server, but it's quite a pain. There are also a 
 few other work arounds, like the magic #! token at the beginning of shell 
 scripts (which isn't at all portable), but I'm still thinking the best 
 solution would be to split the php.ini files in two -- one for the web 
 server SAPI and one for the CLI. Call them php.ini and php-cli.ini or 
 something.
 

I would like to have different file name for cli config file
by _default_ also.

*1 for php-cli.ini


-- 
Yasuo Ohgaki


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 IfModule ../IfModule in apache config,
maybe IfSapi cli.../IfModule ?

-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77

Wir stellen für Sie aus auf der CeBIT 2002 und freuen uns
in Halle 6 auf Ihren Besuch am Stand H 18


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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

 line).
 the cli (commandlineinterface) binary is already build everytime (except
 for --without-cli ./configure option). This is available in the current
 CVS and will be part of the next PHP release.

Excelent!

At the moment, I'm still on 4.0.6. :-(

-- 
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-
Martín Marqués  |[EMAIL PROTECTED]
Programador, Administrador, DBA |   Centro de Telematica
   Universidad Nacional
del Litoral
-

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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. Februar 2002 09:26
 An: [EMAIL PROTECTED]
 Betreff: [PHP-DEV] WhoIs


 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 http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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

?
if (isset($HTTP_RAW_POST_DATA)) {
$contentlength = strlen($HTTP_RAW_POST_DATA);
$buffer = $HTTP_RAW_POST_DATA;
}
...?

but $HTTP_RAW_POST_DATA is not set and $buffer stills empty. The size of the
data sent by the applet is 860bytes and the applet works fine if I use a C++
CGI instead of PHP.
Does someone have an idea ?
Thanks a lot ;-)



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 application/octet-stream from a java applet


 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
 
 ?
 if (isset($HTTP_RAW_POST_DATA)) {
 $contentlength = strlen($HTTP_RAW_POST_DATA);
 $buffer = $HTTP_RAW_POST_DATA;
 }
 ...?
 
 but $HTTP_RAW_POST_DATA is not set and $buffer stills empty. The size of the
 data sent by the applet is 860bytes and the applet works fine if I use a C++
 CGI instead of PHP.
 Does someone have an idea ?
 Thanks a lot ;-)
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 still occurs.
The access log says the request(s) made over http1.1 (when the browser does
a dozen reloads) is logged with status success (200).

Regards,
Assen Chorbadjiev

Yasuo Ohgaki [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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 only on XP (in my case).
 
  Asen Chorbadjiev

 This is really strange, since PHP just output one by one when
 output buffer is not used.

 What is your SAPI? ISAPI?
 It sounds like SAPI problem rather than output buffering.

 --
 Yasuo Ohgaki

 
 
  Yasuo Ohgaki [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
 Wez Furlong wrote:
 
 Hey,
 
 Can someone who knows the output buffer code take a look at this bug?
 I only got involved just in case it was an abvious mistake, but it
 
  doesn't
 
 look like it and I'm not yet an output buffer guru.
 
 It seems odd that it works OK under NT but not under XP, so perhaps it
 is an apache-under-XP problem?
 
 --Wez.
 
 Is the user using iconv? mbstring?
 I guess the user is not using them, but if the user is using
 them. The user must turn off conversion.
 
 --
 Yasuo Ohgaki
 
 
 On 19/02/02, [EMAIL PROTECTED] wrote:
 
 
 ID:   15613
 Updated by:   [EMAIL PROTECTED]
 -Summary:  readfile doesn't  work correctly with WIndows XP
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Output Control
 Operating System: Windows XP (Professional)
 PHP Version:  4.1.1
 New Comment:
 
 Yuk!
 Do you have output buffering enabled, and/or gzip compression?
 (Just to confirm).
 
 
 
 
 
 
 
 



 --
 Yasuo Ohgaki
 Please CC me when you reply to news/list messages.
 Do not reply only to me :)






-- 
PHP Development Mailing List http://www.php.net/
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 IfModule ../IfModule in apache config,
 maybe IfSapi cli.../IfModule ?


IMHO, conditionals in one php.ini file would have a huge
WTF factor on newbies and Joe User.


I like the php-cli.ini idea myself.


Mike Robinson
IT/Developer - Torstar Media Group Television
Phone: 416.945.8786 Fax: 416.869.4566
Email: [EMAIL PROTECTED]





[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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 same can be done in one file?

if works nice for httpd.conf


 I like the php-cli.ini idea myself.
we could still have a 2nd configure option for setting a
different php.ini path for cli ...


-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77

Wir stellen für Sie aus auf der CeBIT 2002 und freuen uns
in Halle 6 auf Ihren Besuch am Stand H 18


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.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 appears to be broken
 
  Hi,
 
 when trying to use the IMP Webmail client with an Exchange 2000 Server,
  folders
  with accents in the name are mangled.  It appears that the Exchange Imapd
  server
  sends modified utf-7 names as explained in rfc 2060.  IMP use a call to
  the
  imap_utf7_decode function.  It should work but it does'nt.

 Just curious, but isn't the data returned from the ldap
 server meant to be utf8 (utf8_encode(), ut8_decode()) ?

--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

I'm talking about imap here.  It is indeed utf8 in case of an ldap server.

Bye.

---
Robert Marchand tél: 343-6111 poste 5210
DGTIC-SIT   e-mail: [EMAIL PROTECTED]
Université de Montréal  Montréal, Canada


--
PHP Development Mailing List http://www.php.net/
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 -q -c /path/to/ini

PHP won't run at all, and spits out error messages about options not being 
found. 

#!/usr/local/bin/php -c/path/to/ini

This actually works. The leading space is removed, and there's no trailing 
options.

On FreeBSD, the problem doesn't occur at all. The first example works right 
away.

This is mostly due to a lack of standardization as to how the #! magic 
token works. On FreeBSD, the kernel passes the arguments as if you ran the 
script from a shell, i.e. the first example is passed as

argv[0] -- php
argv[1] -- -c
argv[2] -- /path/to/ini
argv[3] -- -q
argv[4] -- scriptname.php

However, on linux, the arguments are passed as

argv[0] -- php
argv[1] -- -c /path/to/ini -q
argv[2] -- scriptname.php

It's different across many unices. Some allow a few thousand characters in 
the magic string; others allow only 30.

This was a thread about this a while back, it should be in the archives.

J



Brad Lafountain wrote:

 
 The magic
 #!/usr/local/bin/php -c local.ini
 already works
 
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 config file
 by _default_ also.

i'd prefere conditionals in php.ini

something like IfModule ../IfModule in apache config,
maybe IfSapi cli.../IfModule ?



-- 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 List http://www.php.net/
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





Re: [PHP-DEV] Tcl

2002-02-20 Thread Rasmus Lerdorf

 Is there any support for tcl with php?

Nope


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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: [PHP-DEV] Tcl



 Is there any support for tcl with php?


Nope





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



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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), whereas the require() 
statement is replaced by the required file when it is first encountered, whether the 
contents of the file will be evaluated or not

(which is reasonable) to:

The two constructs are identical in every way except how they handle failure. 
include() produces a Warning while require() results in a Fatal Error.

(which is also reasonable, although less useful).

I can find nothing in the PHP4 ChangeLog, or in the bugs database, that mentions such 
a change.

(1) Has this, indeed, changed?

(2) If so, shouldn't the ChangeLog mention it, and the manual document which version 
it changed in?
(3) ... and why the change?  The first behaviour seems extremely useful for not 
include()ing files which aren't really needed!


Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP Development Mailing List http://www.php.net/
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 in?

It would be a good idea, yes.  It's not that important, though, as it has 
virtually no negative symptoms.

(3) ... and why the change?  The first behaviour seems extremely useful 
for not include()ing files which aren't really needed!

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 or inside functions, something you couldn't do 
before (beforehand, require()'d files were always processed).

The change was made because the performance benefit from require() was 
related to the PHP 3 architecture, which is no longer relevant.  Removing 
it made it possible to share code between include() and require(), and it 
made require() faster in some cases (e.g., if you have a require() inside 
an if() statement, which evaluates to false, the require()'d file will not 
be processed).

Zeev


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 character subscripting of the form $string{5}
 to support an optional second length parameter, a la... $string = abcde;
 echo $string{1,3}; // returns bcd


I have approved your CVS account, but you need to discuss your ideas with
us on the [EMAIL PROTECTED] mailing list before you start writing some
of this stuff.  For example, what would be the point of an
array_element($array, $n) function like you suggest?  Isn't that the same
as $array[$n] or is $n a numerical offset in this case?
array_firstvalue() would be the same as reset() and array_lastvalue()
would be the same as end() as far as I can tell.  The {1,3} subscripting
idea has been discussed at length.  Go check the archives.

-Rasmus




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 or inside functions, something you couldn't do 
 before (beforehand, require()'d files were always processed).

Ahh, thanks!  No, I don't think that's clear from the current manual entry -- the top 
line of the include() says:

The include() statement includes and evaluates the specified file.

which to me implied the former behaviour of require(), and nothing in the subsequent 
include() description contradicts this.  (And I didn't bother to follow the link to 
require(), which does include the necessary explanation, because right at the top of 
include() is the sentence The two constructs are identical in every way except how 
they handle failure!)  Maybe the word conditionally should be inserted to read The 
{include()|require()} statement conditionally includes... and an explanation similar 
to the one in require() should be added to include() to clarify what this actually 
means?

Thanks for the quick response, which was extremely helpful!

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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() description 
in fact has a note about the change of behaviour, but neither include() nor require() 
includes a full explanation about the conditional nature of the include/require, and I 
think they should!

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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.function_table... is this by design or did someone
just not want to implement call_user_function and call the callback handler if
there were no builtin functions...

- Brad

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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)
{
if(call_user_function(function_table, object_pp, function_name, retval_ptr,
param_count, params TSRMLS_CC) == FAILURE)
{
if(Z_OBJCE_PP(object_pp)-handle_function_call != NULL)
{
zend_overloaded_element overloaded_element;
zend_property_reference property_reference;
zend_function_state function_state;
zend_function_state *original_function_state_ptr;
int i;

overloaded_element.element = *function_name;
overloaded_element.type = OE_IS_METHOD;

property_reference.object = *object_pp;
property_reference.type = BP_VAR_NA;
property_reference.elements_list = (zend_llist *)
emalloc(sizeof(zend_llist));
zend_llist_init(property_reference.elements_list,
sizeof(zend_overloaded_element), NULL, 0);
zend_llist_add_element(property_reference.elements_list,
overloaded_element);

//Build argument stack
for(i = 0;i  param_count;i++)
zend_ptr_stack_push(EG(argument_stack), params[i]);
zend_ptr_stack_n_push(EG(argument_stack), 2, (void *) 
param_count, NULL);

EG(function_state_ptr) = function_state;
Z_OBJCE_PP(object_pp)-handle_function_call(param_count, 
retval_ptr,
*object_pp, 1 TSRMLS_CC, property_reference);
EG(function_state_ptr) = original_function_state_ptr;

zend_llist_destroy(property_reference.elements_list);
efree(property_reference.elements_list);

zend_ptr_stack_clear_multiple(TSRMLS_C);
return SUCCESS;
}
}
}

i know there's some things wrong with it but... it does work...
like function_state will be garbage.. i didn't know what/how to fill that
structure with. 

- Brad
--- brad lafountain [EMAIL PROTECTED] wrote:
 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.function_table... is this by design or did someone
 just not want to implement call_user_function and call the callback handler
 if
 there were no builtin functions...
 
 - Brad
 
 __
 Do You Yahoo!?
 Yahoo! Sports - Coverage of the 2002 Olympic Games
 http://sports.yahoo.com
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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

Problems


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. Windows code doesn't support PHP_NORMAL_READ 
d. Some protos are off with the function 
2. Logic Problems 
a. Max fd code does not work correctly (wrong approach) 
b. socket_recv does not properly handle error conditions 
3. API problems 
a. Read functions make it difficult to error-check and 
   track a safe connection close 
b. socket_create_listen only allows a listener to be 
   installed on the local interface 
c. socket_last_error clears the last error after reading (WTF) 
d. socket_fd code makes little sense in this style, and 
   introduces problems that the max_fd code cannot solve 

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 the API, which causes BC
concerns. I do think about these things, and I really think we should
stabilize and finalize this module, as we have already radically changed
the API once before. 

If you could set these concerns aside momentarily, and here me out on
the changes I would like to make. 

Suggested Changes
=

1. Change socket_recv to return the retval instead of string 
-

The error detection and eof (safe connection close) is incredibly
difficult to detect using the read functions. You end up writing code
like: 

while (false!==($retval=socket_read($sock, $len))) { 
if (strlen($retval)==0) { 
$eof=1; print Eof has occured!!!; 
break; 
} 
} 
if ($retval===FALSE) print strerror(socket_last_error($sock)); 

yuck!

vs.

while(($retval==socket_read($sock, $buf, $len))  0) {
// do something 
}
if ($retval==-1) {
print strerror(socket_last_error($sock));
} elseif ($retval==0) {
$eof=1;
print Eof has occured!!!;
}


I understand that these functions were written to match other areas of
php; however, sockets require more error checking than most other api's

I propose leaving socket_read as is, and changing socket_recv to be the
same as it was in the previous API. This will be consistent with the
socket_recvfrom object.

2. Get rid of socket_fd_*. 
-

It makes little sense to make fd masks available to the user, because
this can be much easier to handle by using arrays. 

This will fix the max_fd code that attempts to calculate the highest
file descriptor in the fd_set.

Select would then look like
socket_select (array read_socks(), array write_socks(), array
except_socks(), int tv_sec, int uv_sec)

3. Add socket_clear_error(), and change socket_last_error() to not clear
-

I think that socket_last_error() clearing the last error is a huge WTF


4. Fix All other issues listed above


This is mainly the consistency problems.

Timeline  Stabilization
=

I would like to fix all of this by 4.2.X. I propose that we then mark
the extension as stable, and freeze the API. 


Please send your feedback on your thoughts and concerns on these
changes.


Thanks,
-Jason



-- 
Jason T. Greene
Internet Software Engineer

[EMAIL PROTECTED]
[EMAIL PROTECTED] 
[EMAIL PROTECTED]

Use PHP: http://www.php.net


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 tar xvf in my chroot
eje. /usr/www/usr/local/apache

after run my http server with the next command:
chroot /usr/www /usr/local/apache/bin/apachectl start
and I have the follow messages
/usr/lib/dld.sl: Unresolved symbol: dlsym (code)  from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlerror (code)  from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlopen (code)  from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlclose (code)  from
/usr/local/apache/libexec/libphp4.so
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: No such file
or directory
/usr/local/apache/bin/apachectl start: httpd could not be started

I have th libexec/libphp4.so in my /usr/www/usr/local/apache/libexec.
What can I do?
In the line 205 I have
LoadModule php4_modulelibexec/libphp4.so

I put LoadModule php4_module
/usr/www/usr/local/apache/libexec/libphp4.so

and not working too!!
Help me!
Thanks!
__
Ing. Hector Jose Montalvo Herrera
Triara Operaciones
Libramiento Santa Rosa #111 Col. Futuro Apodaca
Apodaca, Nuevo Leon.
http://www.triara.com
|unix/linux is most powerful..;-)|


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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


When starting apache *with* libphp4.so enabled, apache only starts a
single process, waiting for connections, but does not write to a
log-file, create a httpd.pid file, or offer any error messages. 

Is there something broke in the php cvs?

With or without FilesMatch xxx makes no difference. 

Please advise. 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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. Windows code doesn't support PHP_NORMAL_READ
 d. Some protos are off with the function

+1 to all of that and adding that:

that stuff like arg1, arg2, arg3arg6 should get sensible
variable names. %-)

 2. Logic Problems
 a. Max fd code does not work correctly (wrong approach)
 b. socket_recv does not properly handle error conditions

 3. API problems
[...]
 b. socket_create_listen only allows a listener to be
installed on the local interface

I think this is the idea behind this function which is
actually a combination of creating binding and listening (if
I recall correctly) for connection-oriented sockets. I would
keep this, as this is just a quick and handy version for the
probable most used server-socket. 

 c. socket_last_error clears the last error after reading (WTF)

I think that this is meant to be so too.

 2. Get rid of socket_fd_*.
 -

yes. a very important thing. I didn't take a deep look at everything
but it seemed to try matching the C functions 1:1. 

 It makes little sense to make fd masks available to the user, because
 this can be much easier to handle by using arrays. 

I had the very same idea. 

 This will fix the max_fd code that attempts to calculate the highest
 file descriptor in the fd_set.
 
 Select would then look like
 socket_select (array read_socks(), array write_socks(), array
 except_socks(), int tv_sec, int uv_sec)

:-)

 3. Add socket_clear_error(), and change socket_last_error() to not clear
 -
 
 I think that socket_last_error() clearing the last error is a huge WTF

I am not sure about this. I don't think that it is a big problem.
but...wtf ;-) I guess it is not such a big change.

 I would like to fix all of this by 4.2.X. I propose that we then mark
 the extension as stable, and freeze the API.

actually there wouldn't be that many BC concerns through
the named changes. An entire review would be good as some more
little bugs might be found which prevented the use of the extension
anyways.

greetz
-moh

-- 
PHP Development Mailing List http://www.php.net/
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 (!ParameterPassedByReference  parts
:-)

thx in advance
-moh

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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 http://www.php.net/
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 and php_math.h

Cheers,
 Graeme

/* {{{ proto double fmod(double x, double y)
   Returns the remainder of dividing x by y as a double */
PHP_FUNCTION(fmod)
{
zval **num1, **num2;
if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, num1, num2)
== FAILURE) {
WRONG_PARAM_COUNT;
}

convert_to_double_ex(num1);
convert_to_double_ex(num2);
Z_DVAL_P(return_value) = fmod(Z_DVAL_PP(num1), Z_DVAL_PP(num2));
Z_TYPE_P(return_value) = IS_DOUBLE;
}
/* }}} */


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] CVS Account Request: prunni

2002-02-20 Thread Raman Unni

learning to develop the web site

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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[10412]: badlogin: test.test.net[x.x.x.x]
CRAM-MD5 authentication failure [no secret in database]

We have to use plaintext authentication.
Is there a way to say php/c-client to use plaintext authentication???

At the same time when I use php4.0.4pl1 with cclient-2001a it works fine.
Is it problem of PHP4.1.1?
Should we downgrade to PHP4.0 and c-client-2000a?

Thanks in advance,
Pavel.




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 which I've pasted below.  I can create a diff if
necessary to include the 2 small changes to basic_functions.c and php_math.h

Cheers,
  Graeme

/* {{{ proto double fmod(double x, double y)
Returns the remainder of dividing x by y as a double */
PHP_FUNCTION(fmod)
{
 zval **num1, **num2;
 if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, num1, num2)
== FAILURE) {
 WRONG_PARAM_COUNT;
 }

 convert_to_double_ex(num1);
 convert_to_double_ex(num2);
 Z_DVAL_P(return_value) = fmod(Z_DVAL_PP(num1), Z_DVAL_PP(num2));
 Z_TYPE_P(return_value) = IS_DOUBLE;
}
/* }}} */


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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
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 and php_math.h

Cheers,
  Graeme

/* {{{ proto double fmod(double x, double y)
Returns the remainder of dividing x by y as a double */
PHP_FUNCTION(fmod)
{
 zval **num1, **num2;
 if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, num1, num2)
== FAILURE) {
 WRONG_PARAM_COUNT;
 }

 convert_to_double_ex(num1);
 convert_to_double_ex(num2);
 Z_DVAL_P(return_value) = fmod(Z_DVAL_PP(num1), Z_DVAL_PP(num2));
 Z_TYPE_P(return_value) = IS_DOUBLE;
}
/* }}} */


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




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 the API, which causes BC
 concerns. I do think about these things, and I really think we should
 stabilize and finalize this module, as we have already radically changed
 the API once before.

Just fix it so that it is both consistent and that the extension has a
clean API. I wouldn't worry about BC here, cause the extension is
experimental (with a big message in the manual).

 Timeline  Stabilization
 =

 I would like to fix all of this by 4.2.X. I propose that we then mark
 the extension as stable, and freeze the API.


 Please send your feedback on your thoughts and concerns on these
 changes.

Sounds all sane to me. Good luck!

Derick

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[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()
 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 and php_math.h
 
 Cheers,
  Graeme
 
 /* {{{ proto double fmod(double x, double y)
Returns the remainder of dividing x by y as a double */
 PHP_FUNCTION(fmod)
 {
 zval **num1, **num2;
 if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, num1, num2)
 == FAILURE) {
 WRONG_PARAM_COUNT;
 }
 
 convert_to_double_ex(num1);
 convert_to_double_ex(num2);
 Z_DVAL_P(return_value) = fmod(Z_DVAL_PP(num1), Z_DVAL_PP(num2));
 Z_TYPE_P(return_value) = IS_DOUBLE;
 }
 /* }}} */
 
 


Index: basic_functions.c
===
RCS file: /repository/php4/ext/standard/basic_functions.c,v
retrieving revision 1.442
diff -u -r1.442 basic_functions.c
--- basic_functions.c   10 Feb 2002 17:38:15 -  1.442
+++ basic_functions.c   21 Feb 2002 07:58:36 -
@@ -475,6 +475,7 @@
PHP_FE(dechex, 
 NULL)
PHP_FE(base_convert,   
 NULL)
PHP_FE(number_format,  
 NULL)
+   PHP_FE(fmod,   
+ NULL)
PHP_FE(ip2long,
 NULL)
PHP_FE(long2ip,
 NULL)
 
Index: math.c
===
RCS file: /repository/php4/ext/standard/math.c,v
retrieving revision 1.77
diff -u -r1.77 math.c
--- math.c  28 Jan 2002 16:06:27 -  1.77
+++ math.c  21 Feb 2002 07:58:37 -
@@ -1046,6 +1046,21 @@
 }
 /* }}} */
 
+/* {{{ proto double fmod(double x, double y)
+   Returns the remainder of dividing x by y as a double */
+PHP_FUNCTION(fmod)
+{
+   double num1, num2;
+
+   if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, dd,  num1, num2) == 
+FAILURE) {
+   return;
+   }
+   
+   Z_DVAL_P(return_value) = fmod(num1, num2);
+   Z_TYPE_P(return_value) = IS_DOUBLE;
+}
+/* }}} */
+
 /*
  * Local variables:
  * tab-width: 4
Index: php_math.h
===
RCS file: /repository/php4/ext/standard/php_math.h,v
retrieving revision 1.14
diff -u -r1.14 php_math.h
--- php_math.h  9 Jan 2002 23:59:04 -   1.14
+++ php_math.h  21 Feb 2002 07:58:37 -
@@ -58,6 +58,7 @@
 PHP_FUNCTION(octdec);
 PHP_FUNCTION(base_convert);
 PHP_FUNCTION(number_format);
+PHP_FUNCTION(fmod);
 PHP_FUNCTION(deg2rad);
 PHP_FUNCTION(rad2deg);




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php