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

2002-02-21 Thread Richard Samar
Raman Unni wrote: learning to develop the web site I don't know what you mean by learning to develop the web site but certainly for learning purpose a cvs account is not needed. If you'd like to know how the php.net website is build you can use anonymous cvs access to check out the module

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

[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] ext/sockets socket_sendto() 5th param cannot be hostname

2002-02-15 Thread Richard Samar
Hi, yeah ext/sockets again :-) The 5th param of socket_sendto() obviously cannot be a hostname (string). socket_bind(), socket_connect() etc. allow this though. So I am not sure wether it is wanted or not. But I guess it is :-) For socket_sendto() though one would need to use gethostbyname

Re: [PHP-DEV] ext/sockets socket_sendto() 5th param cannotbehostname

2002-02-15 Thread Richard Samar
Jason Greene wrote: Well the problem is that all 3 of them work differently, and they should follow a consistent flow. One of them allows either, another allows only ip, and another allows only host. That and the protos are all wrong. I will have to do some cleanup on that. oki, but

[PHP-DEV] socket_send() ...also a bug?

2002-02-15 Thread Richard Samar
I found something else about socket_send(): proto: int socket_send(resource socket, string buf, int len, int flags) 4 parameters from the source: if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, rsll, arg1, buf, buf_len, len, flags) == FAILURE) 5 parameters? what is len?? please remove

Re: [PHP-DEV] socket_send() ...also a bug?

2002-02-15 Thread Richard Samar
Sean R. Bright wrote: len is the length of the buffer. When 's' is specified in zend_parse_parameters, both the string and the number of characters are returned to the calling function. In this case, len is the length of 'buf_len.' :-) oki, the given prototype ist wrong then. could

[PHP-DEV] socket_fd_* functions in ext/sockets

2002-02-13 Thread Richard Samar
Can anyone help me out for what the socket_fd_* functions in ext/sockets are good for and in which scenario they might be useful? thx n greetZ -moh -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: socket_fd_* functions in ext/sockets

2002-02-13 Thread Richard Samar
Richard Samar wrote: Can anyone help me out for what the socket_fd_* functions in ext/sockets are good for and in which scenario they might be useful? hmm obviously a wrap of the FD_* macros ...sorry to bother :-) -moh -- PHP Development Mailing List http://www.php.net/ To unsubscribe

Re: [PHP-DEV] ADT Extension

2002-01-13 Thread Richard Samar
When ADT becomes Alpha/Beta (Experimental), I'll put together a nice set of examples as well as documentation. Any specs concerning the month/week/day when this is gonna happen? :-) January, Feb or rather June? There are folks (mohs) waiting some time for this great features ;-))

[PHP-DEV] ext/sockets

2001-12-22 Thread Richard Samar
Markus Fischer wrote: No, but my point is the interface isn't going to be changed tomorrow. Not even next week. Very true! Well, I was thinking about sockets documentation for while after the bigger changes came. I just talked with Jan about it and we will go for it, writing the

[PHP-DEV] ext/adt - futher devel?!

2001-12-16 Thread Richard Samar
Hi, as ext/adt hasn't experienced any updates for a while, I'd just like to know if further development ist planned. Appreciate any kind of answer :o) best regards -moh -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-DEV] CVS Account Request: moh

2001-11-24 Thread Richard Samar
manual translation into german e.g. PCRE chapter is still not translated into german for a lng time :-) Jan Lehnardt ([EMAIL PROTECTED]) asked me to fill out this form -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-DEV] zend api object in object

2001-07-13 Thread Richard Samar
Hi, Sterling asked me to post this *here* instead of query on IRC ;-)) I'd like to write a function which gets on argument (an object). The function itself creates another object and adds the object it got to this object and returns this object. So in PHP one is able to create an object

[PHP-DEV] Re: zend api object in object

2001-07-13 Thread Richard Samar
I finally figured out how to do this. Thanks a lot to zeev@efnet and hartmu@ircnet. -Richard Richard Samar wrote: Hi, Sterling asked me to post this *here* instead of query on IRC ;-)) I'd like to write a function which gets on argument (an object). The function itself creates another

[PHP-DEV] Re: zend api object in object

2001-07-13 Thread Richard Samar
s/hartmu/hartmut Richard Samar wrote: I finally figured out how to do this. Thanks a lot to zeev@efnet and hartmu@ircnet. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list