php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60791 missing documentation
Submitted: 2012-01-18 13:19 UTC Modified: 2012-01-21 22:27 UTC
From: bim at merrehill dot co dot uk Assigned: frozenfire (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: windows
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: bim at merrehill dot co dot uk
New email:
PHP Version: OS:

 

 [2012-01-18 13:19 UTC] bim at merrehill dot co dot uk
Description:
------------
---
From manual page: http://www.php.net/function.curl-setopt
---

the setopt documentation is missing
CURLOPT_FTP_CREATE_MISSING_DIRS (bool)


Test script:
---------------
1. Browse to the php curl documentation, scour for a create directory type command, find there isn't one/doesn't work.  
2. Browse google for 10 mins for some solved forum of someone making a dir with curl HTTP - hit a dead end.
3. Search google for CURLOPT & come across the official curl changelog, browse through all the different options until you come across CURLOPT_FTP_CREATE_MISSING_DIRS
4. Feel like you need to share it with the world.
5. Find none of the common forums you normally would put it on, stackoverflow daniweb etc.
6. Decide to add it as a comment on the php.net site
7. Find out how complex it is to say, "use CURLOPT_FTP_CREATE_MISSING_DIRS to set cURL to make directories, would of saved me ages"
8. Do it anyway
9. Notice it is actually there under "predefined constants"
10. Lose the will to live but also wonder why it isn't referenced in setopt's
11. Check over the 10 points
12. My work is done


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-21 22:25 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=322549
Log: Listed CURLOPT_FTP_CREATE_MISSING_DIRS option. Closes bug #60791.
 [2012-01-21 22:27 UTC] frozenfire@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.


 [2012-01-21 22:27 UTC] frozenfire@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 13:00:02 2026 UTC