Thursday 13 December 2012

Confirmation Box using CSS and Jquery

This tutorial teaches you how to create a nice and pretty confirmation box using CSS and Jquery.
The script is written in a way that any one can easily understand and customize with an appropriate programming comments to further explain the snippets.
To install the script on your server, simply download and extract the zipped folder to your system or server and then locate the folder via your web browser.

To make changes to the confirmation box contents, please open the file named vasplus_programming_blog_confirm.js and then change the following contents to whatever you wish.

(1) 'vpb_confirmation_heading' : 'This is the heading or title of the Confirmation Box',
(2) 'vpb_confirmation_body' : 'This is the body section of the Confirmation Box',
(3) 'vpb_proceed_button' : 'This is the content of the proceed button such as YES',
(4) 'vpb_cancel_button' : 'This is the content of do not proceed button such as Cancel'
Note: Every other information that you need to know are well explained in the code.

Confirmation Box using CSS and Jquery


Confirmation Box using CSS and Jquery

Pure CSS Drop-Down Menu


This tutorial teaches you how to create pure CSS drop-down menu without the need for JavaScript.
The script is very easy to understand as it only contains few lines of CSS and HTML codes.
To install the system on your server, just download the zipped folder containing two files which are index.php and styles.css and then extract the folder to your system or your server.
Locate the folder containing these two files via your web browser and you are done.

Pure CSS Drop-Down Menu

Click here to view this tutorial

Facebook style expand collapsed comments using Ajax, jquery and PHP


This tutorial teaches you how to create Facebook style of expanding collapsed comments using Ajax, jquery and PHP.
The script has been written in a way that any one can easily understand and customize.
To install the system on your server, simply download the zipped folder, extract it to your machine and follow the three steps instruction given in the README.txt file.

Facebook style expand collapsed comments using Ajax, jquery and PHP

Click here to view this tutorial

Post to any wall on Facebook using Ajax, Jquery and PHP


This tutorial helps and teaches you how to reqularly post status updates from your systems or personal websites to your Facebook wall or the walls of your Facebook friends via Ajax, Jquery and the power of PHP.
The system gives you or your website users the option or the ability to establish connection between your website and Facebook before status updates can be posted.
The system does not work on a local machine or localhost as it has to do with Facebook which is on a remote server and its very easy to understand and customize.
To install the system on your server, simply download the zipped folder, extract it to your machine and follow the four steps given in the README.txt file.

Post to any wall on Facebook using Ajax, Jquery and PHP

Post to any wall on Facebook using Ajax, Jquery and PHP

Click here to view this tutorial

Easy Photo Scroller using Ajax, Jquery and PHP

This tutorial teaches you how to create an easy or a very simple but powerful photo scroller application using Ajax, Jquery and PHP.
The script is written in a way that any one can easily understand but if you need any further help, please post it in the comment at the bottom of this explanation.
To install the system on your server, simply download the zipped file, extract it and follow the three steps instruction given in the README.txt file.

Easy Photo Scroller using Ajax, Jquery and PHP

Facebook and Twitter style load more contents using Ajax, jquery and PHP


This tutorial teaches you how to load contents or more contents from your database table using Ajax, jquery and PHP.
This tutorial happens to be the best, more accurate and simplest way to load your contents or data from the database on the internet.
The script is written in a way that any one can easily understand and customize.
To install the system on your server, simply download the zipped file and follow the three steps instructions given in the README.txt file.

Facebook and Twitter style load more contents using Ajax, jquery and PHP

Facebook and Twitter style load more contents using Ajax, jquery and PHP


This tutorial teaches you how to load contents or more contents from your database table using Ajax, jquery and PHP.
This tutorial happens to be the best, more accurate and simplest way to load your contents or data from the database on the internet.
The script is written in a way that any one can easily understand and customize.
To install the system on your server, simply download the zipped file and follow the three steps instructions given in the README.txt file.

Facebook and Twitter style load more contents using Ajax, jquery and PHP

Facebook style Like / Unlike or Delete posts using Ajax, Jquery and PHP

This tutorial teaches you how to create Facebook style of Like, Unlike or Delete comments or posts buttons using Ajax, Jquery and PHP.
For demonstration purpose and to avoid users log in or authentication, the IP Addresses of users are used to identify each user. You can replace these IP Addresses with a session variable if you wish.
This tutorial gives you an insight on how these things are done.
To install the system on your server, simply follow the three steps given in the README.txt file upon downloading and extracting the zipped file to your system.


Animated Pagination using Ajax, Jquery and PHP

This tutorial teaches you how to create an animated pagination with the help of Ajax, Jquery and PHP without having to refresh your website page.
It is a very simple to understand scripts as it only has few lines of codes.
To install the system on your server, just download the zipped file, extract it to your system and follow the 3 steps given in the README.txt file.


Post and Delete records with animated fadeIn/fadeOut effect using Ajax, jquery and PHP

This tutorial helps and teaches you how to post and delete comments or records to and from your database with an animated fadeIn or fadeOut effect without having to refresh your web page using Ajax, Jquery and PHP.
The script is written in a way that any one can easily understand and customize.
All you need to do is to download the zipped folder, extract it to your server, open the folder and locate the README.txt file and then follow the instruction given in that file to install the system on your server.


Click here to view this tutorial

Post and Delete records with animated fadeIn/fadeOut effect using Ajax, jquery and PHP

This tutorial helps and teaches you how to post and delete comments or records to and from your database with an animated fadeIn or fadeOut effect without having to refresh your web page using Ajax, Jquery and PHP.
The script is written in a way that any one can easily understand and customize.
All you need to do is to download the zipped folder, extract it to your server, open the folder and locate the README.txt file and then follow the instruction given in that file to install the system on your server.


Click here to view this tutorial

Post and Delete records with animated fadeIn/fadeOut effect using Ajax, jquery and PHP

This tutorial helps and teaches you how to post and delete comments or records to and from your database with an animated fadeIn or fadeOut effect without having to refresh your web page using Ajax, Jquery and PHP.
The script is written in a way that any one can easily understand and customize.
All you need to do is to download the zipped folder, extract it to your server, open the folder and locate the README.txt file and then follow the instruction given in that file to install the system on your server.


Click here to view this tutorial

Digg and Twitter style Follow and Unfollow Application using Ajax, Jquery and PHP

This tutorial teaches you how a create Digg and Twitter styles of Follow and Unfollow items with the help of Ajax, Jquery and PHP.
Currently, i have used the ID of an item along with the IP Addresses of users to check if a specified user is following an item or not. You may create a session and use that in place of the IP Address of a user if you wish.
The tutorial gives you the basics of how to implement this kind of applications. 
To install the system on your server, simply open the file named README.txt and follow the steps given.
The script is written in a way that any one can easily understand and customize.


Post and Delete records with animated fadeIn/fadeOut effect using Ajax, jquery and PHP

This tutorial helps and teaches you how to post and delete comments or records to and from your database with an animated fadeIn or fadeOut effect without having to refresh your web page using Ajax, Jquery and PHP.
The script is written in a way that any one can easily understand and customize.
All you need to do is to download the zipped folder, extract it to your server, open the folder and locate the README.txt file and then follow the instruction given in that file to install the system on your server.


Click here to view this tutorial

Domain Name Checker using Ajax, Jquery and PHP

This is a domain name checker system that helps you to check for an available domain names on the internet.
All you need to do is to provide a name and press the search button to check if your supplied name is still available on the net or not.
The script gives you a detail list of all available domains with the name you provide and its very simple to understand and customize.


Chat Script Using PHP, Ajax and Jquery

This tutorial helps and teaches you how to create a simple but powerful cross-browser chat system via Javascript (Ajax / Jquery) and PHP.
The script supports all modern browsers with features like login, signup, logout, new chat notification, users online without page refreshing and smileys etc.
The script is very easy to understand and customize. Just download the zipped folder containing the chat files and follow the instruction given in the README.txt file to install and customize the system.













Auto-suggestion using Ajax, Jquery and PHP

This is an auto-suggestion script that helps you to create a user friendly search system with results displayed on the screen and in a nice format as your users type in their search terms.
This is an Ajax, Jquery and PHP script and is simple to understand and customize.


Comment System Using Ajax, Jquery and PHP

This tutorial teaches you how to build a Simple and User Friendly Comment System whereby users on your websites can leave comments on updates or other information as you wish.
This powerful comment system supports all latest browsers and programming languages used are PHP, Ajax and Jquery.
The script is very easy to understand and customize. Just follow the instructions given in the README.txt File to install the system.


Display RSS Feeds using PHP


This tutorial helps and teaches you how to display contents from your database in an XML Format - RSS Feeds on your server.
RSS Feeds helps you to distribute up-to-date web content from one web site to thousands of other web sites around the world.
RSS Feeds allows fast browsing for news and updates.


Ajax and Jquery Registration or Sign-up Form Submission

This tutorial teaches you how to create or build a registration or sign-up form via Ajax and Jquery without refreshing the page.
Users information are passed to PHP which processes the info and save them to the database if necessary.
The programs are very easy to understand and customize.


Expand and Adjust Textarea Box via Ajax and Jquery

This tutorial teaches you how to expand a text-area box on focus in or mouse in, display the content of the text-area box on the screen and adjust the box on focus out or mouse out via Jquery.
The script is very simple to understand and customize.


Send Email with Cc, Bcc and File Attachment via PHP

This tutorial teaches you how to send email messages to multiple users or friends with files attachment through PHP.
File attachments are in MIME format and the script is written in a way that any one can understand and customize.


Calculate Age from Birth Year via PHP

If you have a system where you need to calculate the actual age of your users from their year of birth, this tutorial brings an end to such problems. 
The tutorial helps you to calculate the age of a user from a given year of birth. To calculate the age of a single user, just pass the year of birth of that user to the below function to output the user's age on the screen.
To calculate the ages of multiple users, simply pass the ages of these users in a while loop based on the year of birth of these users from your database etc, to the below function to output their ages on the screen.
Below is the age calculation function and an example of how to pass a user's year of birth to the function and display it on the screen.

Code:
<?php
$years = "1985"//Assigned year of birth - This is the area you can pass your user's birth year
function calculateAge($birthdate)
{
      return floor((time() - strtotime($birthdate))/31556926); 
}
print calculateAge($years)." year(s)"//This one displays the user's actual age
?>



Username Availability Checker via Ajax and Jquery

This tutorial teaches you how to check your database for an existing information to avoid duplicates.
These information could possibly be a username, an email address or any other information you deem necessary. This tutorial helps you to avoid repetition of information in your database table(s)
The script is written in a way that any one can easily understand and customize.


Login with Gmail Accounts

This tutorial helps and teaches you how to ease logins on your websites through the Gmail Accounts of your website users.
This is a complete PHP script that gives your users the ability to log into your websites using their Gmail Accounts.


PHP File Download Script

This tutorial helps you and your website users to download any type of files from your remote server to your location machine.
This is a complete PHP application that relies mainly on PHP headers and can easily be understood and use for your work.


Load External Page Contents or Load Contents from Database via Jquery, Ajax and PHP

This tutorial teaches you how to load an external page contents or dynamically display contents from the database through the help of Jquery, Ajax and PHP.
With this tutorial, you can load all your external page contents from the database with a click of a button and much more.
The script is written in a way that any one can easily understand and customize.



Simple Jquery, Ajax and PHP Anti-Spam Captcha Script

A good way to avoid automatic form submissions when creating a web form or to prevent automated web robot tools and spammers from taking advantage of your forms and scripts is to use some kind of verification process. 
One of the best ways is to use an image verification also known as captcha. What it does is to dynamically create an image with a random string displayed on it. Then visitors or users of your site are asked to type that string in a text field and once the form is submitted, it checks if the string on the image matches the one inputted by the user. 
Because there is no easy way to read a text from an image (image recognition) this is a good way to protect your web forms from spammers.



Create New Accounts and Login via PHP and Mysql

This tutorial teaches you how to build a secure users registration and log in system whereby users of your websites will be able to create their accounts, log in with their valid information so as to access their various accounts.
Users information during sign up process are validated and stored in the database. The system validates new users for duplicate email addresses and performs valid authentication during registered users log in.
This is a complete PHP and MySql system. Programs are written in a way that any one can understand and customize.



Live edit of Information using Ajax and Jquery

This tutorial helps you to edit your information instantly without having to click on save changes button to have your updated information saved.
Ajax and Jquery does these things easily for you without much effort while PHP does the saving of the changes made.



Upload Image Files without Page Refresh using Ajax and Jquery

This tutorial will teach you how to upload your image files or any type of file to your servers without refreshing your website page.
The languages used for this tutorial are PHP, Ajax and Jquery. The program is written a way that any one can easily understand and customize.
Ajax and Jqery have made life easier for us all. We no longer need to refresh our website pages while uploading files to our servers and this is cool guys. 



Detect and Redirect Mobile Devices using PHP

You must have been thinking of how to build a mobile version of your existing website.
This tutorial helps you to detect and redirect all mobile devices to a page designed for mobile users on your server.
In the case of no special page designed for mobile devices and wish to have one, Just create any page such as mobile.php, drop this file in the same directory as your index page which is normally the first page users see whenever they view any website and copy the below code to this index page or the first page that your users see each time they view your site.
Put the code at the very top of your index page and you are done. All you will need to do next is just to customize your mobile.php page for your mobile users as every mobile device that views the index page will be redirected to this mobile.php page.



Submit form without Refreshing Page using Ajax and Jquery

This Tutorial will help and teach you how to submit your forms without refreshing your website page which is time consuming and annoying using Ajax and Jquery. 
Unlike PHP form where each time you click on your submit button, the whole page refreshes and most time when your internet connection is slow, page will take longer time to appear for you to proceed with your form submission.
Ajax and Jqery have made life easier for us all. We no longer need to refresh our website pages while forms are been submitted and this is cool guys. 



Get any Website Page Title From URL

This tutorial helps you to get the page title of any website via the website url.
The script of this tutorial takes the URL of a given page from which the page title is fetched.
To get started, just pass the url of the page that you wish to fetch its content to the getPage_Title_From_URL('url here') function and you are done.

code:
<?php
function getPage_Title_From_URL($pageURL)
{
      $readPG = fopen($pageURL'r');
      $x = 0;
      $specifiedPG = '';
      if ($readPG
      {
            while (!feof($readPG) && ($x < 10)) 
            {
                  $specifiedPG .= fread($readPG, 8192);
                  $x++;
            }
            fclose($readPG);
      }
      preg_match("/<title.*?>[\n\r\s]*(.*)[\n\r\s]*<\/title>/", $specifiedPG, $pageTitleFromURL);
      if (isset($pageTitleFromURL[1])) 
      {
            if ($pageTitleFromURL[1] == '') 
            {
                  return $pageURL;
            }
            $pageTitleFromURL = $pageTitleFromURL[1];
            return trim($pageTitleFromURL);
      } 
      else 
      {
            return $pageURL;
      }
}
//Example function call
echo getPage_Title_From_URL('https://www.dvlottery.state.gov/');
?>

PHP Send no-cache Headers

This tutorial will teach you how to prevent your pages from being cached and to avoid including so many headers at the top of your pages using a single PHP Function.
Please copy the code and paste in your global functions file that is included at the top of your website pages and call the function with a single line of code.

Code:
<?php
function PHP_DO_NOT_CACHE_HEADERS()
{
      if (!headers_sent()) //Check if header has already been sent
      {
            header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
            header('Last-Modified: ' . gmdate'D, d M Y H:i:s' ) . ' GMT');
            header('Cache-Control: no-store, no-cache, must-revalidate');
            header('Cache-Control: post-check=0, pre-check=0', false);
            header('Pragma: no-cache');
            return true;
      } 
      else 
      {
            return false//Do nothing since it has already been sent
      }
}
//How to call the above function
PHP_DO_NOT_CACHE_HEADERS();
?>


Click here to view this tutorial

How to check if a string is a valid md5 hash

This tutorial consist of a simple php function that will help you to check if a given string is a valid MD5 hash or not and that means, the given string has to be 32 characters in length and can only consist of letters and numbers.
For instance: To encrypt 123456 with MD5 hash will give you e10adc3949ba59abbe56e057f20f883e
Now test the above hashed with the function to see the result.

Code:

<?php
function MD5_Hashed_is_Valid($md5)
{
      return !empty($md5) && preg_match('/^[a-f0-9]{32}$/', $md5);
}
$MD5_Hashed = "e10adc3949ba59abbe56e057f20f883e";
if(MD5_Hashed_is_Valid($MD5_Hashed))
{
      echo "Your given MD5 Hashed string is valid.";
}
else
{
      echo "Sorry, your given MD5 Hashed string is not valid.";
}
?>

Upload Files to Remote Server, View Files on Remote Server and Delete Files from Remote Server

This tutorial helps you or teaches you how to upload different type of files to your remote server, view already uploaded files on the remote server and also gives you the option to delete uploaded files from the remote server.
Users are given the privilege to choose where they wish to upload their files or to choose their preferred upload location on the server.
There are five default folders or directories at the document root of the server for demonstration purpose.
The names of these directories are Directory A, Directory B, Directory C, Directory D and Directory E.
A user can upload his or her file to any of these directories, view the directories contents and also delete a file of his or her choice from any of the directories.
If a user fails to set the location where he or she intends to upload a file, the script will automatically upload the file to the document root of the server with an upload notification displayed on the screen to the user upon successful upload. 
The script is written completely in PHP and its very easy to understand and customize.
Files are deleted simultaneously and directory contents recursively. 


Encrypt and Secure your PHP Applications with PHP

This tool will encrypt any PHP script using Base 64 encoding technique to secure your work or application. 
To get started, Please copy and paste your PHP script in the text area space provided at the demonstration area. 
I strongly advice you to start your code with the openning of PHP ("<?php") and end it with the closing of PHP ("?>"), to avoid any encoding errors. 
After your code has been encrypted, copy it and paste on your page to see the encypted code in action.



Upload and Extract Files To Remote Server with PHP

This tutorial will help as many who have been having problems uploading and extracting zipped files to their remote servers.
This program is completely written in PHP to upload and extract zipped files of any kind of document to a specified location on the remote server.
The script will display the content of a specified remote directory on the screen with an option to see all the uploaded and extracted files or directories to the server.




Create ZIP Files with PHP

This tutorial will help as many who have been having problems creating zip files for their businesses and other needs.
This program is completely written in PHP to create a zip file from any kind of document.
The script will display the content of a given directory on the screen with an option to select your desired file or directory to zip and as well displays all the zipped files on the screen.
It also detects if an item is a directory or a file and much more...



Click here to view this tutorial

Wall Script Version 3.0

This is Version 3.0 of vasPLUS Programming Blog Wall Script written in PHP, Jquery, Ajax, MySql database and the script is available for users to download.
Please subscribe to our news updates by signing up to be able to download this amazing script.
Your feed backs are highly welcomed...



Click here to view this tutorial

Fancy Checkbox, Radio and Select Options using CSS and Jquery

This tutorial teaches you how to create fancy and nice looking Check boxes, Radio and Select Options using CSS and Jquery.
It is a very simple implementation that can easily be understood and customize.
To install the script on your server, simply download and extract the zipped folder to your system or server and then locate the folder via your web browser.



Click here to view this tutorial

Fancy Contact Form using Ajax, Jquery and PHP

This tutorial teaches you how to create a simple but powerful, fancy or nice looking contact form with animation features using Ajax, Jquery and PHP.
The contact form supports all browsers and the script is very easy to understand and customize with proper code comments.
To install the system on your server, simply download the zipped folder containing the required files, extract it to your machine and then open a file named plugins/vasplus_programming_blog_mailer.php, look at the code line number 53, remove the content "YOUR_EMAIL_HERE@YOUR_SERVERNAME.com" and insert your email address exactly in that space, save the file and upload the entire content of the directory "fancy_contact_form_using_ajax_jquery_and_php" to your server.
Locate the directory via your web browser and you are done to start receiving emails through the contact form.

Click here to view this tutorial