Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23169 invoked by uid 1010); 21 Apr 2007 10:48:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23154 invoked from network); 21 Apr 2007 10:48:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2007 10:48:07 -0000 Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.246 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.132.246 an-out-0708.google.com Received: from [209.85.132.246] ([209.85.132.246:10002] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/0E-18102-6EBE9264 for ; Sat, 21 Apr 2007 06:48:07 -0400 Received: by an-out-0708.google.com with SMTP id c28so1416997ana for ; Sat, 21 Apr 2007 03:48:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IRE1kl80y3t8PeRIPAv3Sd3yKkPGijLJd9n5qKPMrzCQBHJNWSZ6E5vz++qwqE54wDaQbdrr9sj5Pi9POOYer1caXIrF+1KF331IqBkcE2Cd+jlGtnRCS+OrDD4VtGUIS2xc84nrYljiOiTxCJrSNhyEukp+igDe84+5/pl6a+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jNMrpWJrpuHwBzVCTEDzlgaM2dMNjzdeEv04HFAyv0k7WH+awYBPPyC82UGP6LgeylT2EyuKLox5YuUVqFu7W8tbcZLn+6e0ffC8IPa2h/GuJGRsh9+HbNpMbUSsaIKvYSFME8IEdsMz+rkB68h6PNFFzcSeuIaksgxfJrhvqUQ= Received: by 10.100.165.9 with SMTP id n9mr2327976ane.1177152484091; Sat, 21 Apr 2007 03:48:04 -0700 (PDT) Received: by 10.100.91.8 with HTTP; Sat, 21 Apr 2007 03:48:03 -0700 (PDT) Message-ID: Date: Sat, 21 Apr 2007 12:48:03 +0200 To: noah Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS From: tijnema@gmail.com ("Tijnema !") On 4/20/07, noah 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