What is the right way to transfer leads from a website to a local CRM?
<p>I have a website with a form which allows a visitor to submit their name, phone, email etc.  This website is hosted at a website hosting company.</p>

<p>I also have a CRM system for managing leads.  This resides locally in my office.  I programmed this CRM system. </p>

<p>When a visitor enters their name, phone etc on the public website, ideally I would like that lead data to be transferred <strong><em>instantly</em></strong> into my local CRM system.  </p>

<p>My question is what is the most professional way to do this?</p>

<p>Option 1: One option is have the website form produce a text file of the lead on the website.  The local CRM could have a cron job running every minute to FTP up, retrieve leads, and import them into the CRM.  But this would not be instant. </p>

<p>Option 2: Another option is to have the website form post directly into the local CRM like this: </p>

<pre>
form action="http://www.{IP ADDRESS OF LOCAL CRM}/signup-thankyou.php"
</pre>

<p>What is the best way to do this?  I am the author of the CRM system, and I am a PHP programmer so I should be able to program whatever is the recommended solution.</p>

<p>Thank you.</p>
