View Single Post
Old 06-18-2007, 01:21 AM   #5 (permalink)
Vormund
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: AJAX ... Javascript - XMLHttp Objects - Getting the XML responses...

More then happy to, but...being the AJAX that it is, you can see my "shout out" thing at my website, it uses Javascript to do so...so it's 99% visible to you now. (Just view the page source, and look for the <script type="text/javascript"> - it's all in there. I just have five spanning fields, make a call to my server-side script, and retrieve messages if there are new ones since the last update, based on a timestamp created on the initial call for messages.

It's not quite secure yet, but semi-close...smart punks can still abuse it, but I worry about the details after the gist of it is working (as it's just the basic post/get calls that can be tampered with).

I plan on adding a few obvious things in the near future - spam/time catching, auto ip-banning for doing such a thing (at least temp), filters for foolios (I have previous project for this), and more importantly, probably adding unlimited message history, as five is a 'lil short.

Anyhow if you have any specific questions, feel free to ask...and I can attempt answering them. I will probably be writing up a guide on it after I'm complete, as it still has a ways to go, but it's a working process.

Quote:
Originally Posted by nickm926 View Post
ajax is a dutch football club
Huh? I sense jealousy here. It's ok, not all people are cool enough to get down with AJAX.
__________________
Vormund is offline