note 46377 deleted from function.curl-setopt by danbrown

From: Date: Sun, 17 May 2009 17:33:15 +0000
Subject: note 46377 deleted from function.curl-setopt by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154999@lists.php.net to get a copy of this message
Note Submitter: Yura Pylypenko (plyrvt at mail dot ru) ---- Each example of CURLOPT_POSTFIELDS in these comments has missing urlencode() on variable values. This should be applied according to RFC1738 <?php $vars=null; foreach($data as $key=>$value) if($key && $value) $vars.=$key."=".urlencode($value)."&"; ?>

« previous php.notes (#154999) next »