
June 27th, 2010, 01:37 PM
|
|
|
|
Don't know if eBay would allow this...
But I use this little function to read files on servers where I have some control of the permissions.
javascript Code:
Original
- javascript Code |
|
|
|
function ReadFile(inURL) { var http = (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP') ; http.open("get", inURL, false); http.send(null); if (http.status == 200) return http.responseText; return null; }
Last edited by ktoz : June 27th, 2010 at 01:39 PM.
|