[PHP] I make a patch, how I report?

2007-04-16 Thread Fernando chucre

Hello all,

I buid a patch for wrapper php fopen. In this patch I create a way for
the script access the filedescriptos opened by process. Ex:

php file.php 3file_in.txt 7file_out.txt

In this case the script can't read the filedescriptor 3 and 7. Not
have way for read or write in filedescriptor opends by precess.

I make a way for read or write it. A modify de wrapper 'php' for fopen
function. (http://br.php.net/manual/en/wrappers.php.php) A create the
'php:/fd/N' which N is the filedescriptor number.

how to access fd 7 to write?

ex:

?
$fd = fopen(php://fd/7,'w');
fwrite($fd,test of write\n);
fclose($fd);
?

I want know who I send the patch for to be avaliable. Thanks.

--
Fernando Chure
PSL/CE - Brasil

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



Re: [PHP] I make a patch, how I report?

2007-04-16 Thread Tijnema !

On 4/16/07, Fernando chucre [EMAIL PROTECTED] wrote:

Hello all,

I buid a patch for wrapper php fopen. In this patch I create a way for
the script access the filedescriptos opened by process. Ex:

php file.php 3file_in.txt 7file_out.txt

In this case the script can't read the filedescriptor 3 and 7. Not
have way for read or write in filedescriptor opends by precess.

I make a way for read or write it. A modify de wrapper 'php' for fopen
function. (http://br.php.net/manual/en/wrappers.php.php) A create the
'php:/fd/N' which N is the filedescriptor number.

how to access fd 7 to write?

ex:

?
$fd = fopen(php://fd/7,'w');
fwrite($fd,test of write\n);
fclose($fd);
?

I want know who I send the patch for to be avaliable. Thanks.

--
Fernando Chure
PSL/CE - Brasil


Post it to the PHP internals list: [EMAIL PROTECTED], or
subscribe to the list, send empty message to
[EMAIL PROTECTED] and then post it.

Tijnema

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



Re: [PHP] I make a patch, how I report?

2007-04-16 Thread Jochem Maas
Fernando chucre wrote:
 Hello all,
 
 I buid a patch for wrapper php fopen. In this patch I create a way for
 the script access the filedescriptos opened by process. Ex:
 
 php file.php 3file_in.txt 7file_out.txt
 
 In this case the script can't read the filedescriptor 3 and 7. Not
 have way for read or write in filedescriptor opends by precess.
 
 I make a way for read or write it. A modify de wrapper 'php' for fopen
 function. (http://br.php.net/manual/en/wrappers.php.php) A create the
 'php:/fd/N' which N is the filedescriptor number.
 
 how to access fd 7 to write?
 
 ex:
 
 ?
 $fd = fopen(php://fd/7,'w');
 fwrite($fd,test of write\n);
 fclose($fd);
 ?
 
 I want know who I send the patch for to be avaliable. Thanks.

try [EMAIL PROTECTED]

 

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