Hi Stan, just a small remark - why don't you use ajax.php? This is the official API we have for json/xml/text response for ajax-requests, it simplifies the building of response. So you don't have to take care sending correct header and json_encode. vg Steffen