<div dir="ltr"><div>If you're going to be communicating with the OSM API server directly from PHP I'd recommend Services_OpenStreetMap ( <a href="https://pear.php.net/package/Services_OpenStreetMap">https://pear.php.net/package/Services_OpenStreetMap</a> ). It's fully unit tested and allows for mock requests so you can test your app without hitting the OSM server until you're sure that you have everything in place. ;)<br>
<br></div><div>Ken<br></div><div><br></div>Disclaimer: I'm the guy that developed it.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 12, 2013 at 8:42 AM, Sazal Sthapit <span dir="ltr"><<a href="mailto:sazalsthapit@gmail.com" target="_blank">sazalsthapit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am writing an app which allows users to submit values to pre-defined keys. But in order to make these edits by the user's own name, I first need to check if s/he has entered valid username/password combination. And I want to check it against the OSM user database. What is the easiest way to do it? And I'm using php for that</div>

<br>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://blogs.linux.ie/kenguest/">http://blogs.linux.ie/kenguest/</a>
</div>