On 4/20/07, noah <[EMAIL PROTECTED]> wrote:
Could someone please add support for CURLOPT_FTP_CREATE_MISSING_DIRS
in PHP's curl extension?
I'd report it as a bug if bugs.php.net wasn't down.
The file that needs to be modified is ext/curl/interface.c.
1. Add CURLOPT_FTP_CREATE_MISSING_DIRS as a PHP constant.
2. Add a 'case CURLOPT_FTP_CREATE_MISSING_DIRS:' to the
curl...setopt() function right above the cases where the argument is
of the type long.
-- noah
I reported a patch a few weeks ago, also about CURL functions, because
it seems that there are missing a lot CURLOPT_ constants. The libcurl
library has a lot more constants. I would be happy to create a patch
that adds all currently supported CURLOPT_ constants by the library,
but i don't want to waste my time on creating things that never get
implemented :)
Tijnema
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php