Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to resize images from one folder to new desitnation?

Hello Reader's,  If you have a folder full of larger images and you want to resize them into a new folder then PHP offers you to do this in a quick and easy programming. Suppose you have uploaded the website images in upload folder and...

routing in codeingiter

Hello Reader's,  If you are working on CodeIgniter Project and want to customize the pages URLs. Codeigniter offers you to do this by using it Routing function. The Routing the is method for hiding the controller and model functions f...

How to Create your own Exception handler in cakephp ?

Hello readers, today we will discuss a very important topic of a programming language "exception handling". Exception Handling is the process of catching errors which are generated by our program and then taking appropriate action accor...

PHP: Create Bar graph and Pie Chart in pdf

Create Bar graph and Pie chart in PDF format using FPDF Hello friends, I am writing this blog which will help you to create bar graph and pie chart using fpdf. Firstly you need to download fpdf.php file from the following fpdf library. Click h...

How to make Image cropper using mouse in php and javascript

Hello Reader's If you working on Codeingiter and looking for to making the free cropping of image before uploading then this blog is very helpful to you. The process of cropping the images is start from loading the preview of images via...

How to print a text on a image using PHP as watermark

Hello Reader's! If you are looking to learn how to print the text over a image as a water mark then this blog is very helpful to you. Fixing a watermark on image can be used by PHP. So first we will learn how this process going in action. ...

How to Upload Large Files in PHP?

Hi Reader's, Welcome to FindNerd,today we are going to discuss How to Upload Large Files in PHP? Sometimes in a PHP web application. we need to upload a large file. So to manage large file upload in PHP web application we need to configur...

Creating Wordpress Custom Plugin

In this blog post i am explaining how to create a custom plugin which we can use in wordpress. For creating custom plugin first we have to create a file, here i am creating a plugin for a custom form type so i am naming the file as custom-form...

some useful string functions in php

A sequence of characters is called string.There are lots of string functions which are commonly used in php to manipulate the string. Some example given as below strlen() function: Its used find out the length of the string i.e. total number o...

Display WordPress posts by number of Views

Displaying the most viewed posts becomes very helpful for every user to have a look at trendy blog post in your WordPress. There are so many plugins that will help us easily to add most viewed/poipular posts in our WordPress website. But there...

To check if the video exist in YouTube

Hello readers, today I will guide you about "How to Check Video Exist in Youtube through URL and ID using PhP?". As we all know, in many website's generally videos comes from Youtube. Sometimes the videos are not present on the Y...

Move Comment Field to Bottom inWordPress

In this blog i am going to explain why comment field of comment form in wordpress 4.4 and above version comes on the top whereas other fields come on the bottom and how to make comment field to come on the bottom and other fields on the top. ...

How to use strlen() function in PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use strlen() function in PHP? If you want to get the length of your string word then you should use the strlen() function. This function is used for getting the lengt...

Reading setting in Wordpress

In WordPress, there is a Reading setting option in WordPress dashboard which is inside setting option. We can use this Reading setting for controlling Reading experience in WordPress. Reading setting is utilized to set the substance  which i...

Active Inactive button in cakephp using ajax

Suppose we have a table name player and in player table we have field like id , image,player_name, status,  etc. Suppose data inside fields are id=1, name=ram, image=abcd.jpg and status=0, Now we want to change status to 1, and again we have...

How to fetch data from two table in cake php

Suppose we have a table name player having field id, name of player, images, etc having some data .Now we have another table name playergallery having field like id, player_id, images, etc here player_id is foreign key and it is referencing to ta...

How to add page in wordpress

Step 1:- To begin adding another page to your WordPress site, discover the Pages menu in the WordPress Dashboard menu. Click Add new.     Then page editor get open. Where we have to add description of our page.      S...

Wordpress Writing Setting

In wordpress there is writing setting option in wordpress  dashboard which is inside setting option. We can use this writing setting for controlling  writing experience in wordpress and also gives choices to modifying Wordpress site. Th...

How to find unix timestamp in PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to find Unix timestamp in PHP? If you want to get current Unix timestamp then you should use getTimestamp() function which returns Unix timestamp that represents the date...

Creating Menus in wordpress

We can create and use menus in wordpress by simply following below steps. Step 1:- first we have do put our credential and get login to our wordpress dashboard. Step 2:- then we have to select menu option from the   'Appearanc...

How to create a wordpress custom widget?

WordPress widget is a simple approach to include substance and particular elements into your site. You simply need to move and customize the gadget into any widgetized territory like sidebar, footer or header of your site and begin utilizing i...

How to find the number of days between given two dates in php?

Hi Readers,  Welcome to FindNerd, today we are going to discuss how to find the number of days between given two dates in PHP?  If you want to calculate the difference between two dates then you should use date_diff() function for f...

Use of array_reverse() function in PHP

Hi Reader's,  Welcome to FindNerd, today we are going to discuss use of array_reverse() function in PHP. This function is used  to reset the index of elements and returns the reversed array.array_reverse() function accepts array...

Use of json_encode() function in php

 Hi Reader's,  Welcome to FindNerd, today we are going to discuss use of json_encode() function in php. json_encode() is used to convert the array given as it's argument into a JSON string. JSON full form is JavaScript Objec...

How to unzip a file using PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to unzip a file using PHP ? Basically zip_open() function is used for opening the unzip file for reading. This is very simple method to unzip a zip file. So we can say th...

How to use fgets() function in PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss what is  the  use of  fgets in PHP ?  If you want a function that returns a line from an open file and after a specific length(the length that is specifie...

What is utilization of md5() function in php?

Hi Reader's, Welcome to FindNerd, today we are going to discuss what is utilization of md5() function. md5() function is used to providing security for protecting your password.MD5 stands for Message-Digest Algorithm. Suppose you hav...

How to use getLastInsertId() in CakePHP in 2.4.1 version?

Hi Reader's,  Welcome to FindNerd, today we are going to discuss how to use getLastInsertId() in CakePHP in 2.4.1 version? In CakePHP there are two methods for getting the last inserted id 1-Model::getLastInsertID() 2-Model::ge...

How to upload multiple image in php?

Hi Reader's, Welcome to FindNerd Today we are going to discuss how to upload multiple image in php? To upload  the multiple files you can follow the process by uploading it using different names for input. The process of uploading...

Creating Custom Post Types in Wordpress

As we know wordpress contain post and pages as their primary substance. They are main content type in wordpress .But we can also make our own custom content types these are called custom post types.  They are similar to post and...

Create custom posts in wordpress theme

Default posts option is not sufficient for customized themes in WordPress. Sometimes users need to create and use their own post type with desired names apart from traditional blog posts.      The following PHP code will ...

How to get particular column of a multidimensional array using foreach loop in PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to get particular column of a multidimensional array using foreach loop in PHP? Let have an  array with full of key values:- $detailArr=array( array('name' =...

PHP FILTERS

1. filter_var():- filter_var() function is used to check if the given variable is a valid IPv6 Address <?php $ip = "2001:cdba:0000:0000:0000:0000:3257:9652"; if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) === false) { ...

How to use number_format() function in PHP

Hi Readers, Welcome to FindNerd, today we are going to discuss how to use a number_format() function in PHP ? Basically, a number_format() function is used to format numbers with grouped thousands. This function is very easy to implement. ...

What is method to compare two text strings in PHP

Hi Reader's, Welcome to FindNerd, today we are going to discuss What is method to compare two text strings in PHP There are two method to check two string In php. 1: "==" Operator 2- "strcasecmp() method"  ...

Super Global Variables in PHP

Super Global variables are an assosciative array, that are predefined in PHP. Superglobal means they are always accessible and can be used in function, class or file. They are available in all scopes on script. We can use these variables dir...

Traits in Php 5.4

Hello Readers! Here is a small blog on traits. What is trait? What are its uses? Why it is implemented?.. In this blog all these questions will be covered.   A trait, in simple language, is a group of methods that we would include with...

Wordpress Email Subscribe Plugin

Hello friends, If you want to integrate Email subscription Popup on your site then this Plugin is very useful. Download the Plugin from the following site : https://wordpress.org/plugins/email-subscribe/ This link is having all the ...

Changing accessibility of trait method

Hello Readers! Today, We will discuss about the PHP 5.4 new feature trait and it's method accessibility/visibility. A trait is similar to a class. It is used to reduce the duplication of the code. But a trait cannot instantiate on its own....

What is method to read data from CSV file?

Hi Reader's,   Welcome to FindNerd, today we are going to discuss, "what is method to read data from CSV file? If you want to read your data from "CSV" file in php then you should use fgetcsv() function, which is use...

How to fetch data from one table in cakephp

Suppose we have a table name employees in which a number of employees are there. id Employee Age 1 User1 23 2 User2 34 3 User3 22 4 User4 35 ...

How to implement SMS Gateway in cake php

Hi Reader's,   Welcome to FindNerd, today we are going to discuss how to implement SMS Gateway  in cake php. In web applications sending SMS Gateway is a very important feature for sending SMS in a application. So clickatell ...

Remember Me using Cookie in CakePHP

Remember Me using Cookie We can remember username and password by using Cookie. As we know cookie resides in a browser and used to store user data and other informations. We will remember username and password by using cookie when user chec...

Send email in CakePHP from localhost using CakeEmail Component

Email is the important functionality in web applications. CakeEmail is a class used to send Email from your application. By using CakeEmail class you can send email any where in your application. When we use CakeEmail in our application, it re...

Limit the number of records to be displayed in cakephp

Showing a limited number of records per page has been a basic part of each application and it is very difficult task to bring out. CakePHP provides a easy way for limiting record to be display or for paginate data. The PaginatorHelper gives us...

How to integrate pdf/dompdf Export option with CakePHP

Integration of dompdf library is available online,just download it and save this library to vendor folder, this file is able to convert a html document in pdf format, by using this library the content of the page should look more appropriate and ...

Import excel sheet into database using PHP

Hello friends, This tutorial will help you to insert excel sheet data into the MySQL database using PHP I have also included the snapshots which will help you to understand more clearly.   Import Students: You can import students by cl...

Converting all underscore connected letters to uppercase in php

In PHP if we want to replace all underscore connected letters to upper case then we can use the php function called "preg_replace_callback" . For example if we have string "kp_o_zmq_k" then the output becomes "kpOZmqK&...

Implementing captcha in cakephp

Captcha is a test which can't be pass by computer but it is very easy for the humans to pass it. For implementing captcha in cakephp we have to follow simple steps. Step1:- First we have download captcha package from https://github...

Active and inactive users concept using Ajax in Cakephp

Concept of active,inactive script is mostly used in Online shopping website, Where adminstrator has right to access the database table and can be able to do changes on the table according to his need. For example a site owner wants to hide some o...
prev 1 2 14
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: