Re: cvs: phpdoc /en/reference/curl/functions curl-setopt.xml
| From: | Kalle Sommer Nielsen | Date: | Wed, 01 Oct 2008 11:02:54 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/curl/functions curl-setopt.xml | ||
| References: | 1 2 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-2178@lists.php.net to get a copy of this message | ||
Hi Anthony
2008/10/1 Anthony Bedford <Tony.Bedford@sun.com>:
> Kalle Sommer Nielsen wrote:
>>
>> <entry>
>> The full data to post in a HTTP "POST" operation.
>> To post a file, prepend a filename with <literal>@</literal>
>> and
>> - use the full path.
>> + use the full path. This can either be passed as a urlencoded
>> + string like 'para1=val1¶2=val2&...' or as an array with
>> the
>> + field name as key and field data as value.
>> </entry>
>
> I think possibly those ampersands are causing some problems? (would & be
> better?)
>
> When I run php configure.php I get:
>
> ERROR
> (/users/tbedford/php_work/phpdoc/en/reference/curl/functions/curl-setopt.xml:787:42)
> string like 'para1=val1¶2=val2&...' or as an array with the
> ------------------------------------------^
> EntityRef: expecting ';'
>
> ERROR
> (/users/tbedford/php_work/phpdoc/en/reference/curl/functions/curl-setopt.xml:787:48)
> string like 'para1=val1¶2=val2&...' or as an array with the
> ------------------------------------------------^
> xmlParseEntityRef: no name
>
> ERROR
> (/users/tbedford/php_work/phpdoc/en/reference/curl/functions/curl-setopt.xml:unknown)
> chunk is not well balanced
>
>
> Previous errors too severe. Stopping here.
My bad, forgot to use & instead of &. I havn't committed for a
while, but hey :)
Fixed
>
> Thanks,
> Tony
>
--
Kalle Sommer Nielsen