Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50399 invoked by uid 1010); 16 Apr 2007 21:24:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50384 invoked from network); 16 Apr 2007 21:24:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2007 21:24:11 -0000 Authentication-Results: pb1.pair.com header.from=fernandochucre@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=fernandochucre@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.231 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: fernandochucre@gmail.com X-Host-Fingerprint: 64.233.184.231 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.231] ([64.233.184.231:39593] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/64-18278-879E3264 for ; Mon, 16 Apr 2007 17:24:10 -0400 Received: by wr-out-0506.google.com with SMTP id i21so1605514wra for ; Mon, 16 Apr 2007 14:24:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=retDACJmbdERmbj5JJtHGk/chVacJC0yF7fwIBHq4EQgs5WNDEfykuYNrKXDBllH2KrUWTf2o8DRHzpft7zzDtvqVxiLInHfG/yqZ2gqpTUiKDgyLmzOwjzCA65i95ZRH91Tf6rVbSsfHvLu1KlEDj6ky5nMVWPQmTjatnWUtw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Wjv0xn/JEZIXKMde0my3Mq5WUcMl/zKShzVwHeXWr52+EQWfEyhAlzqbbKxys/tuD62IwxGOupRa/gwsoudMCdxJ1JswfRhT+iLFcWEemM/A/iMs2QA7KQe9c04CmZysfVyracb2rYZnur/OlU3NsaSwHHMUMLYe6W20Fw35h2A= Received: by 10.115.76.1 with SMTP id d1mr2080076wal.1176758645273; Mon, 16 Apr 2007 14:24:05 -0700 (PDT) Received: by 10.114.182.16 with HTTP; Mon, 16 Apr 2007 14:24:05 -0700 (PDT) Message-ID: Date: Mon, 16 Apr 2007 18:24:05 -0300 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: I make a patch, how I report? From: fernandochucre@gmail.com ("Fernando chucre") Hello all, I build 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_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. I modify the 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: -- Fernando Chure PSL/CE