#46956 [Opn]: document the mysterious 'from' directive
| From: | philip@php.net | Date: | Wed, 31 Dec 2008 05:54:30 +0000 |
| Subject: | #46956 [Opn]: document the mysterious 'from' directive | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1679@lists.php.net to get a copy of this message | ||
ID: 46956
Updated by: philip@php.net
Reported By: philip@php.net
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
I think you're right, that its current location is probably fine. And
while discussing it a little with Hannes the other day we noticed it's
also used in http_fopen_wrapper.c ... so maybe this rarely used ini
setting is worth mentioning somewhere else too.
Previous Comments:
------------------------------------------------------------------------
[2008-12-31 05:18:25] torben@php.net
Hi Philip,
Yes, it appears to still exist. The option is still there in the
supplied php.ini and is used in ext/standard/ftp_fopen_wrapper.c (so not
in the FTP extension).
For my money it's probably OK where it is.
Torben
------------------------------------------------------------------------
[2008-12-27 18:32:51] philip@php.net
Description:
------------
We have a theoretical PHP directive named 'from' that, according to the
documentation:
http://php.net/manual/filesystem.configuration.php#ini.from
"Define the anonymous ftp password (your email address)."
This was added by Jani to php.ini Fri Jun 1 03:19:53 2001 UTC with the
following:
Commit message:
Added missing configuration directive: from
which is used by fopen() to be send as the default password
Entry:
; Define the anonymous ftp password (your email address)
;from="john@doe.com"
However, I am unable to determine if this really exists [anymore, and
when] or why it exists or if it should instead be documented under the
FTP extension.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46956&edit=1