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

Featured

How to make ajax searching in codeigniter?

Hello Reader's, If you are making searching and want to look it as ajax which show records then this blog is helpful to you. In this blog, we will make it for CodeIgniter framework. Ajax searching will show the matching results from the typed...

How to make visitor counter using ajax and php

Hello Reader's, If you want to get the records of visitors that visits your webpage then in this blog you can learn and build your own. Here we will develop it by using PHP and Ajax. Page counters are easy to get and install but if you w...

How to send email via sendgrid curl using PHP

Hello Reader's if you are looking to send emails via curl using PHP then this blog is helpful to you. Curl is a tool which sent the data in forms to any other server with multiple data. So lets get started working on sending email with ...

How get camera make and model from Image using PHP?

Hello, Reader's if you are uploading images for website gallery and looking for extract the Camera make and model from it, Then  PHP offers you to do this via EXIF meta. Every original digital photo contains the detail of Camera ...

Discussion on upload File in PHP

Hi Reader's, Welcome to FindNerd, today we are going to discuss File upload in PHP. When developing a web application in PHP sometimes we need to upload images in our application. Basically, we can say that when a user goes for registrati...

Create symfony bundle using command line

Create new bundle using commands: Run the following command to create new bundle: # php app/console generate:bundle   Following are some options which need to fill after running the above command:   Welcome to the Sy...

Discuss on export MySQL Table Records into CSV file

Hi Reader's, Welcome to FindNerd, today we are going to discuss export MySQL Table Records into CSV file. If we are developing any web application in PHP then sometimes we need to export MySQL Table Records into CSV file. fputcsv() is a f...

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. ...

Web Security Vulnerabilities

Cross site scripting (XSS) XSS is sending unfiltered data such as <script> or any other HTML data to the server, when the user needs any resource, the server sends unfiltered data to the client. The attacker may get private data. Prev...

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...

Send email in PHP with HTML Template

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to send email in PHP. In web applications sending email is a very important feature.  PHP provides a built-in mail() function for creating and sending emails to...

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...

How to use LIKE operator in MySQL

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use  LIKE operator in MySQL? Basically, LIKE operator is used for searching for a specified pattern in a column. So in other words we can say that the LIKE operat...

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...
prev 1 2 15
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: