https://bugzilla.wikimedia.org/show_bug.cgi?id=26624

Mark A. Hershberger <m...@everybody.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #10 from Mark A. Hershberger <m...@everybody.org> 2011-02-02 
18:32:23 UTC ---
You are not using the curl library correctly.

If you pass $message to as the value for CURLOPT_POSTFIELDS instead of
$query_data it will work.

curl cannot be expected to translate arbitrary PHP data structures into usable
POST data.

I recommend you use a HTTP client library (there are a few mentioned in
http://willnorris.com/2009/03/http-client-library-for-php or you can try
MediaWiki's own Http class (found in HttpFunctions.php).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to