Please note that strictly development-related issues should be discussed 
on the developers group:
      http://groups.google.com/group/TiddlyWikiDev/

> I need a script that checks with "store.php" [...] to see if the
> [user] information is correct

I'm not very familiar with the UploadPlugin's store.php script, but I 
think you need to perform a POST to get back a relevant response - that 
is, you need to attempt a write operation in order to check whether 
you're actually authorized to do so.
If you do so without submitting any data (i.e. your TiddlyWiki 
document), you might overwrite the document on the server with a blank file.

Nevertheless, here's the basic concept:
---------------
var url = "http://example.org/store.php";;
var callback = function(status, params, responseText, url, xhr) {
     if(status) { // authorized
         /* ... */
     } else { // unauthorized
         /* ... */
     }
};
var req = httpReq("POST", url, callback);
---------------


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to