hi, On Sat, Oct 30, 2010 at 3:43 PM, Gustavo Lopes <glo...@nebm.ist.utl.pt> wrote: > The From: header is actually valid in http (see section 14.21 of RFC 2616) > and is appropriately used in PHP, as it is. > > Yes, this should arguably be a context option for http/ftp wrappers, though > one could argue it's a global setting that happens to reflect on those > wrappers. > > In any case, that is a matter outside the realm of bug fixing; I merely made > the ini setting that currently exists work correctly. > > Sorry for the top posting.
This directive is documented only to be used with FTP. Yes it would be nice to fully support the HTTP RFC, but not by making this implementation more ugly. Also new features should go to trunk. I suggest to actually fix the reported bug and do the right changes and additions in trunk. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php