On 17/06/06, Richard Lynch <ceo@xxxxxxxxx> wrote:
I dunno if AJAX will let you quit partway through, but you could definitely do this with the lean and mean hand-coded XmlHttpRequest object and sending HEAD to see if the URL is "there" or not.
For security reasons, an XMLHttpRequest objects can only communicate with the originating server. And even if it could, it supports only HTTP (so the PDFs have to be put on a web server behind the firewall). You might want to consider a client-side technology that supports more protocols than just HTTP (e.g a signed Java applet that prompts users for the necessary permissions, ?) if that's not the case (SSH, or even in a database.. ) /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php