ok sorry let me explain more about it.
curl retrieve the data (result) from add_comment.php, and when this php file, when it completes adding, it will return "SUCCESS" as a result, but if it cannot add to database, or complete the adding, it will return "ERROR"
So, after running the curl script, the result that I get from add_comment.php is "ERROR", so it actually does run the script, but the adding to database thing is wrong, which I don't know why it is wrong..
If I make a form, and just use <form action="http://www.domain.com/path/add_comment.php">...</form>, this will result successfullly, it will return "SUCCESS"...
So do you understand more about my situation?