Archive for the 'Scripts' Category

Here it is, an AJAX’d contact form with a captcha. I had an idea to code this about a week ago and thought would be a tough job to do but it wasn’t that tough to code when I started doing it. The only place where I had to spend a lot of time was, pondering how to pass the value from the ‘textarea’ to the PHP preserving the line breaks. After googling for about an hour and reading different articles I finally got what was required, I just had to escape(): the variable before sending it to the PHP script.

On a positive note, I didn’t really have any problem with running this script on IE (I usually have to break my head over this matter). To prelude its features, I guess it does everything you’d normally except a contact form to do. It sanitizes all the variables, checks for the Email structure and disabled the submit button once the email is sent to prevent mass emails. I would like to thank SecondVersion and Psyrens for the PHP backend & ajax captcha respectively. As usual I’m lazy to provide a detailed documentation about it and would *make sure* that I write one in the future. But the whole script isn’t obfuscated at all, you’d just have to edit some constants and woo! it’s done.

I’m currently working on integrating this script as a wordpress plugin. Please let me know any bugs/commments/feedback by commenting below or contacting me. Show-off your own modified version of this script here :P

Script Demo : http://hakc.net/ajax-contact-form-captcha-demo/

Script Download : http://hakc.net/…./….zip

Follow this URL :

http://www.hakc.net/scripts/passjax/

Mar 01

Ajax-In-Ajax

No comment - Post a comment

Someone at Digitalpoint asked me on how to have ajax inside ajax, like how to process a form with ajax which is already processed by ajax. Hope that’s not much obfuscated :P

It’s pretty simple first a file “POSTS” content into a php file which is received by ajax, this php file which receives the data has another form inside it which is too processed with ajax. I’ve written the code for it and made the demo up here with download.

Read on more for Download / Demo link.

» Read more after the jump →

I just made this quick ajax tutorial for people who’re starting out there and want to learn AJAX. The following tutorial will teach on how to submit a simple form through php and get the stuff printed out by using AJAX. The first sect will be plain simple to just print a input string and I’ll add getting some dynamic content after it.

So let’s get started.
For most of you you may have a local server at your PC or a remote hosting, remember there’re no special requirements for this tutorial all you need is a php installed server. If you’re right starting away you can install XAMPP which will install all defauly modules on your PC directly. I’ll be getting a good tutorial on this if I get enough requests.

Click below for continuing the tutorial ….

» Read more after the jump →

There goes another opensource script from me, this one checks with available domain names with the provided string, with the provided TLDs in the script.

This is in BETA yet, I’m going to add much more features to it soon!

I’ve name this DomainJax , as even this name comes from Domain + AJAX and yes I really love AJAX!

Much for coming soon!

After some quite fun time, pleasant vacation and exam I’m back with a bang!

Now with my interest getting more and more in AJAX I’ve like 20 AJAX projects pending out of which one today I am going to make it out and totally for free! This one is known as “cryptojax“, the name came from cryptology+ajax and I made this in less than 24 hours.

I still do have lots and lots of projects in my head, the next one most probably is going to be the AJAX site information and ranking script which is quite good and gets good amount of information from different search engines. But this time I’m going to sell this script.

» Read more after the jump →