JsHttpRequest: AJAX+PHP library with Prototype JS and file uploading
JsHttpRequest is a library for AJAX-based script creation compatible with the popular Prototype JS library. It could be used as a server part (PHP) for the Prototype JS, has a great cross-browser compatibility (IE 5.0+ including disabled ActiveX, Mozilla 1.7+, FireFox 1.0+, Opera 7.3+, and Safari); file uploads from user browser to the server; full support of PHP debug features (including fatal error handling); multi-dimensional data structures exchange (JSON analog); PHP session support; and optimal data loading method choosing (XMLHttpRequest, Microsoft.XMLHTTP, etc.) depending on the current browser. The interface is compatible with XMLHttpRequest.Visit publisher site: JsHttpRequest: AJAX+PHP library with Prototype JS and file uploading
Displaying 1-1 out of 1 reviews
I learned to use this library in half an hour. Documentation is lacking, or I couldn't find it. But the interface is the same as for IE XmlHttpRequest, so if you look on the internet or in a book for that object, you will get a jump start. I tested it in IE 7. Opera 9.xx and Firefox 2. No complaints whatsoever. I did not really get the PHP backend, but whatever you echo after creating the backend object will end up in your response, so that is easy (if maybe not the proper way!). Good work.