↓ Skip to Main Content
TechGuru

Main Navigation

  • Home
Home › Tutorial › Archive for PHP

Category: PHP

Create RSS Feed Reader Using PHP and Jquery

By Admin Posted on January 3, 2015 Posted in Jquery, PHP, Tutorial No Comments

In this tutorial, you can create simple RSS reader with help of PHP and Jquery. RSS reader will fetch the latest contents from the webpage using the feed url. To get the RSS (Rich Site Summary), you will need to …

Create RSS Feed Reader Using PHP and Jquery Read more »

jQuery Ajax Based Country, State and City List

By Admin Posted on December 6, 2014 Posted in Ajax, Jquery, MySql, PHP, Tutorial No Comments

In this tutorial, you can populate dynamic list of state and city with the help of jQuery and ajax. By default country drop down is displayed. When you will select country from the list, State drop down will be appeared …

jQuery Ajax Based Country, State and City List Read more »

jQuery – Add/Remove Dynamic Form Fields in PHP

By Admin Posted on November 3, 2014 Posted in Jquery, MySql, PHP, Tutorial 10 Comments

In this tutorial, you can add/remove dynamic form fields with the help of javaScript/jQuery. We start with single Input row and a “Add Row” button to allow user to add more rows. When clicks on the “Add Row” button, one …

jQuery – Add/Remove Dynamic Form Fields in PHP Read more »

PHP – Login Attempts Limit

By Admin Posted on October 31, 2014 Posted in PHP, Tutorial 73 Comments

In this tutorial I am explaining how to restrict the login after 3 unsuccessful login attempts. After 3 unsuccessful login attempts the user will be banned for next 10 minutes. After the given time period the user can try login …

PHP – Login Attempts Limit Read more »

PHP – Import .sql File in mySQL Database

By Admin Posted on August 24, 2014 Posted in PHP, Tutorial 1 Comment

Implemented php script which is imported mysql file into the database. Copy and paste below php script into a file. Save this file. (Example – import.php). Replaced techguru_data.sql file name with your file name. Run import.php on the browser and …

PHP – Import .sql File in mySQL Database Read more »

jQuery – Form Validation Using jQuery Validate Plugin

By Admin Posted on August 20, 2014 Posted in Ajax, Jquery, PHP, Tutorial 5 Comments

Implemented a simple HTML5 Contact us form with the help of jQuery Validate plugin. jQuery validate plugin validate the from when submit button is clicked. If form fields are not empty then form is submitted successfully and you are redirected …

jQuery – Form Validation Using jQuery Validate Plugin Read more »

PHP – Send Secure E-Mails to Stop E-Mail Injections

By Admin Posted on August 17, 2014 Posted in PHP, Tutorial 1 Comment

Created and implemented a PHP Filter Function which will Stop E-mail Injections. To stop e-mail injections I have added an input validator that checks the “email” field when the form is submitted. Filters are used in PHP to filter and …

PHP – Send Secure E-Mails to Stop E-Mail Injections Read more »

PHP – Filter Data to Prevent MySQL Injection Attacks

By Admin Posted on August 16, 2014 Posted in MySql, PHP, Tutorial No Comments

I have created a data filter function to prevent SQL Injection. This function will filter all the parameters before adding into the MySQL. This function escapes all the characters with slashes like single quotes and double quotes (\’ ‘\ and …

PHP – Filter Data to Prevent MySQL Injection Attacks Read more »

Simple Items Listing with PHP, MySQL, jQuery, jQuery UI, Ajax & CSS3

By Admin Posted on August 5, 2014 Posted in Ajax, Jquery, MySql, PHP, Tutorial No Comments

Simple Ajax based item list with PHP, MySQL and jQuery. In this process, added PHP OOPS capability with jQuery UI and implemented jQuery Ajax functionality. It is very user friendly. Any one can create, edit, delete and reorder the items …

Simple Items Listing with PHP, MySQL, jQuery, jQuery UI, Ajax & CSS3 Read more »

Delete a value from comma separated list

By Admin Posted on August 2, 2014 Posted in PHP, Tutorial

Delete a user id from Php Comma separated values array saved in MySQL. Use array_search function to delete the user id and it will delete the user id from the comma separated values with the help of unset function. Demo …

Delete a value from comma separated list Read more »

  • Facebook
  • Twitter
  • LinkedIn
  • Mail

© 2023 | TechGuru
Top