php - How can 3rd party access a script on my server?
<p>How can 3rd party access a script on my server?</p>

<p>The 3rd party has a device which send updated values (may be) to their server. Now, i want to do like whenever they receive data, they should call/execute a script on my server.</p>

<p>For example, </p>

<pre><code>while(1) {
    if(DATA_ARRIVED) {
        // execute or call http://example.com/update_data.php
        // to do its own function
    }
}
</code></pre>

<p>The code is just example. I have no idea what/how they receive the new data. But this is what i want to do.</p>

<p>Thanks a lot for help</p>

<p>Regards</p>
