• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
logo

Tutsplanet

Free Technical and Blogging Resources

  • Home
  • Web Hosting
  • Programming
  • Plugins
  • Write For US
  • News
  • About Us
  • Tools

PHP

PHP User Registration Form

May 22, 2017 by Editorial Staff Leave a Comment

This tutorial teaches about building a PHP User Registration Form. When user registering we collect their information such as username, email etc and storing in a database. The application uses this data for user authentication or user reporting etc. In this tutorial user adding their details in the registration form and a validation, script validates all […]

Filed Under: PHP Tagged With: PHP User Registration Form

Better Way To Prevent Image Hotlinking with .htaccess

Apr 11, 2017 by Editorial Staff Leave a Comment

What is image hotlinking and how to prevent it? Image hotlinking – It is someone directly taking the image URL from your server and embedding it on their website. It’s kind of image stealing, but most importantly losing your bandwidth. Usually, you have to pay for the server bandwidth. When someone hotlinking the image in […]

Filed Under: PHP Tagged With: .htaccess

How to do batch insert in codeigniter

Mar 12, 2017 by Editorial Staff Leave a Comment

Follow below to do batch insert in Codeigniter framework.  As a Codeigniter developer you many encounter this situation to insert heavy amount of data using batch insert.

Filed Under: PHP

PHP Redirect 301 permanently

Mar 7, 2017 by Editorial Staff Leave a Comment

You may want redirect one website to another for some reason. This article show you how to redirect a website to another using php scrips. When you do it should be more search engine friendly at any cost. PHP Redirect Code header(“HTTP/1.1 301 Moved Permanently”); header(“Location: https://www.tutsplanet.com”); exit; Basically you can avoid the first line, […]

Filed Under: PHP

PHP date() with timezone?

Feb 27, 2017 by Editorial Staff Leave a Comment

How to get PHP date() with timezone?. PHP date() function returns a string formatted according to the given format string using the given integer timestamp or the current time if there are no timestamp is given. For example, you want print today’s date in Mon 27, Feb 2017. It’s very easy just follow the below […]

Filed Under: PHP

Server Side Form Validation using Regular Expressions

Feb 20, 2017 by Editorial Staff Leave a Comment

In server side scripting its mandatory to do the form validation. It’s not another case for PHP. Here I demonstrate the simple PHP form validation using the regular expression.

Filed Under: PHP

How to Get Yesterday’s Date Using PHP

Feb 20, 2017 by Editorial Staff Leave a Comment

Here are some methods to get yesterday’s date using php. This will return format like 19/02/17. You can get more details from PHP’s date function You can change the -1 to -20 to get the 20 days back.

Filed Under: PHP

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2

Primary Sidebar




Quick Links

  • A Simple YouTube Video Downloader Script in PHP
  • The 50 Most Useful jQuery Plugins for Frontend Development
  • Word Set 01
  • Convert PNG to JPG Online

Subscribe

* indicates required

Share

   

Hot topics

  • A Simple YouTube Video Downloader Script in PHP 13.3k views
  • Open a URL in a new tab using JavaScript 10.7k views
  • Using Third-Party Libraries in Codeigniter 8.4k views
  • Add FTP/SFTP in Visual Studio Code 6.1k views
  • Replace “\n” with new line characters, using Notepad++ 4.8k views
  • Manually Install APK Files In Android Studio Emulator 4.7k views
  • Upload Multiple Images and Store in Database using PHP and MySQL. 4.5k views
  • How To Install And Use CKEditor In Laravel? 4.2k views
  • Simple PHP Shopping Cart 4k views
  • Spout, an awesome library for reading and writing in Excel. 3.3k views

Categories

  • Design & Development
  • Drupal
  • Facebook
  • General
  • How To
  • ios
  • Javascript
  • Linux
  • Magento
  • Marketing
  • News
  • PHP
  • Plugins
  • Programming
  • Snippets List
  • Social Media
  • Softwares
  • Themes
  • Tips
  • Wordpress
  • YouTube

Copyright © 2021 · TutsPlanet Gene Theme on Genesis Framework · Powered By BunnyCDN