php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46956 document the mysterious 'from' directive
Submitted: 2008-12-27 18:32 UTC Modified: 2009-09-18 06:28 UTC
From: philip@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philip@php.net
New email:
PHP Version: OS:

 

 [2008-12-27 18:32 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-31 05:18 UTC] 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-31 05:54 UTC] philip@php.net
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.
 [2009-09-18 06:28 UTC] svn@php.net
Automatic comment from SVN on behalf of torben
Revision: http://svn.php.net/viewvc/?view=revision&revision=288434
Log: A couple more mentions of ini.from in the relevant spots.
Addresses bug #46956.
 [2009-09-18 06:28 UTC] torben@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 08:00:02 2026 UTC