If you see a "0" at the end of the output, you might want to switch to HTTP/1.0:
curl_setopt($ch, CURLOPT_HTTP_VERSION, 1.0);
----
Manual Page -- http://www.php.net/manual/en/function.curl-exec.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33582
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33582&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33582&report=yes