Wrapping in a form action into a curl php <p>I'm new to php development and i just heard of curl. i have this data i post in a form action</p> <pre><code>&lt;form id="new_member_sms" name="new_member_sms" method="post" action="http://myserver.com/app_api.php?view=send_sms&amp;amp;&amp;amp;user=username&amp;amp;&amp;amp;pass=password&amp;amp;&amp;amp;message=hello+this+message+is+dynamic+from+server&amp;amp;&amp;amp;sender_id=BlaySoft&amp;amp;&amp;amp;to=&lt;?php echo $row_rs_sms['phone_no']; ?&gt;&amp;amp;&amp;amp;key=4"&gt; &lt;/form&gt; </code></pre> <p>I want to know if there's a way i can wrap this post message <code>"http://myserver.com/app_api.php?view=send_sms&amp;amp;&amp;amp;user=username&amp;amp;&amp;amp;pass=password&amp;amp;&amp;amp;message=hello+this+message+is+dynamic+from+server&amp;amp;&amp;amp;sender_id=BlaySoft&amp;amp;&amp;amp;to=&lt;?php echo $row_rs_sms['phone_no']; ?&gt;&amp;amp;&amp;amp;key=4"</code> in a php curl and send it to the server</p>