note 84832 deleted from function.curl-setopt by danbrown

From: Date: Sun, 17 May 2009 17:20:08 +0000
Subject: note 84832 deleted from function.curl-setopt by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154968@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- Be careful when following Salil Kothadia's suggestion of using http_build_query with CURLOPT_POSTFIELDS. As pinkgothic at gmail dot com explains on the http_build_query page: "Be careful if you're assuming that arg_separator defaults to '&'." For example, XAMPP changes the default in PHP.ini to '& amp' which may cause hours of frustration when trying to resolve failed form submissions.

« previous php.notes (#154968) next »