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

How to use cookies in Codeigniter

Hello Reader's if you are making the auto login sign up form then you must have to use the Cookies. In core php you have to write the long syntax to handling the request to Cookies. Now Codeingiter offers developers to load the nessasry code...

PHP Session

when we work on an application ,the fist thing we do is open it we do some updates on it and then close it, this is similar than an session. the system know who we are,it knows every thing i.e when we start working on application, when we closed ...

useful things you can make from URL in codeinter

Hello Reader's in this blog we will see most usefull things which you can make from your website URL, by using codeingter. Lets talk about the SEO freindly URL. In some site you have seen the URL's are very clean and short. This is imp...

How to make shopping cart in Codeigniter

Hello Reader's if you are developing the project in Codeignter then CI offers you a lot more featured libraries. Shopping cart is on of them. Now in this blog we will see how to develop shopping cart by Library. Suppose your website offers you...

How to print all the files in a directory using PHP

Hello Reader's if you need to get all the files that exists inside any directory then you can get it by using codeigntier FTP class library. This is quick and very easy to get result. For example if you have amazon S3 bucket and you wish to get...

What is process to use base64_encode() in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss How to use base64_encode() in PHP ? So,basically base64_encode() is used for converting any string into MIME base64. If you want to convert any string into MIME base64 the...

SORT FUNCTIONS FOR ARRAY IN PHP

Below are the php sort functions use for sorting an array in php. sort() - This sort function is used for sorting an array in ascending order in php. rsort() - This sort function is used for sorting an array in descending order in php. as...

Which Code Editor is Best to teach PHP?

So Friends, There are such a variety of decisions out there nowadays with regards to composing PHP code. Here are only a couple of prevalent IDE: Notepad++ NetBeans Superb Text Dreamweaver jEdit Eclipse What's more, there are...

Custom Taxonomy in the Word press

We can add taxonomy to our custom post type. Adding taxonomy means adding new category option in our custom post type. We use taxonomy to basically categorize the data. We create the groups of the similar type. To add custom taxonomy ...

Widgets in the Wordpress

Widget is used to add feature to you sidebar or anywhere we want to. We can just simply call the widget in footer or anywhere we want to add it. It is an easy way out to add feature to your page To add widget Go to Appearance > Cus...

Pagination In Wordpress

We can add pagination to our page. In wordpress we can split multiple post in different pages. We can set how many post per page we want When multiple loops are used in a theme template file only one loop, the main loop, can be paginated...

Wordpress Custom Post Type

We can create our own custom post types. We can call them whatever we want. They are content types like posts and pages. We create a custom post type for adding different feature to our website. We can add category to our post. Fo...

How to add Breadcrumbs Without a Plugin in WordPress

Breadcrumbs is very useful in navigation. It is defined as a navigation technique that offers link to the home page to the user navigated through to arrive at the current post/page.There are so many plugins that is used to add breadcrumbs in word...

How to replace login logo with custom logo in wordpress

When we go to the WordPress login page , we see the default WordPress logo there written "WordPress". We can customize it and can put any of the logo in place of that wordpress default logo. It's easy: just open your functions.php file and pas...

How to use link() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use link() function in php ? Basically the link() function is used for creating a hard link from the existing target with the specified name link. The link() functio...

How to use glob() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use glob() function in php ? Basically the glob() function is used for returning an array of filenames or directories matching a specified pattern. The glob() functio...

How to reads a file into an array ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to reads a file into an array ? If you want to read a file into an array then, you should use file() function.This function reads a file into an array. syntax of file(...

How to hide menu from WordPress admin panel

Sometimes, we see that the clients who do not have any technical knowledge messups with WordPress settings after logging with WordPress admin panel. We can hide the menu from wordpress admin panel by which the client can only see some menu/option...

What is process to find OS version from web browsers using PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to find OS version from web browsers using PHP ? If you want to get the OS version which you are using. Then you can use the library code below:- <?php //here cra...

How to call featured image in WordPress

If we are making a custom wordpress theme , we can call any feature image attached with any post or any custom post. Wordpress have by default option for feature image. We can upload the feature image to any post or any custom posts. We can ca...

How to print HTML code of any website using PHP

Hello Reader's if you want to get all of the HTML code of any website then you use the function as below:- The first way is by using PHP in built function url fopen, and its code will go like this:- $ShowHTML = file_get_contents('http://fin...

How to generate 8 digit random string password in PHP

Hello Reader's you want to generate the 8 digit password with random characters (lower case, upper case and number), Then this function will work for you. Lets see how genrate the password :- $ASCIRangeFrom = 48; $ASCITo = 122; $MakeRan...

How to make validation for credit card using PHP

Hello Reader's if you need to make validation of credit GivenCard using PHP then is blog will be helpful to you. This is only making the validation on user side you should better use seconder validation on payment gate way also. So the code lib...

How to check if a given date is Sunday by PHP

Hello Reader's if you are looking for making the function which detect if a given date is weekend or not then this code will help you. This is a PHP function which will use the date as a input param and will print if its weekend or not. So the ...

How to set anchor on email and urls using PHP

Hello Reader's! If you are looking for code that make your plain MyStringPlainText urls and emails into anchor format then you can use the code function as below:- <? function SetTheAnchor($MyStringPlainText) { $MyStringPlainT...

How to get current file name in PHP

Hello Readers if you getting in codition where you have to find the current file name then this blog is very helpful to you. Suppose you are making user redirect only when he is in account.php then you just have to fine the file name. <?p...

How to get playtime, height and width of a vedio by PHP

Hello Reader's if you want to get the details about the vedio from your local server then you can use the code liberary as below:- $ffmpeg_path = 'ffmpeg'; //or: /usr/bin/ffmpeg - depends on your installation $vid = 'PATH/TO/VIDEO'; //Rep...

How to run php code when click action occur on link

Hello Reader's, If you want to run PHP code when user click any selected anchor tag then you can use the Jquery for this. Lets see how you can run this code. First you have to write the onlclick action on the anchor tag like this:- <a hr...

PHP Condition checking on multidimensional array

Hi Readers, We all have used array_values, but we use array_values just to get the values from an array. However, we can do much more than that with the help of it. One of it's alternative use of array_values is in a situation wher...

How to removes a directory in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to removes a directory in php ? If you want removes a directory then you should use The rmdir() function that is removes an empty directory. The rmdir() function retu...

What is process to unlink a directory in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to unlink a directory by using PHP ? The unlink() function is used to deleted a file.unlink() function returns TRUE on success and FALSE on failure. syntax of unlink(...

How to check validate url in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to check validate url in php ? If want to check validate url in php then you can use FILTER_VALIDATE_URL.This is filter validates a URL. you can see below example &...

What is process to get the vedio views from youtube using API in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to get the video views from youtube using API in PHP ? If you want to see the total counts of a views on youtube video by api, then you should use below code: <?php...

How to get current working directory in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to get current working directory in php ? So basically The getcwd() function is used for returning the current working directory. This function always returns the curre...

How to use opendir() Function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use opendir() function in php ? The opendir() function is used to open a directory handle. The opendir() function always returns a directory handle resource on succe...

How to use is_dir() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use is_dir() function in php ? The is_dir() function is used for checking a specified file in a directory and returns TRUE if the directory exists. syntax of is_dir...

How to use fstat() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use fstat() function in php ? The fstat() function is used for returning information about an open file. syntax of fstat() function fstat(file) file is a requir...

How to use readdir() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use readdir() function in php ? The readdir() function is used for returning the name of the next entry in a directory. This function returns the filename on succes...

Get result of two arrays into a single array

Hello Reader in this blog you will see how to get result of two arrays in a single array using PHP Array one name information Array ( [0] => Array ( [0] => 125479 ...

How to increase or decrease dates in the given dates

Hello Reader's if you have the current date and you want to get some past dates or future dates then here you can see it. PHP offers you to use inbuilt function strtotime. Lets see how you can adjust the dates with this. Here you will get the ...

How to remove words which occurs mutliple times in a string using PHP

Hello Reader's If you have a string with words occurs more than two times then here you can see how to remove them as a single. Lets see the string below full of random words and 34 is repeating. $mystring = '2,34,two,findnerd,logic,66,34,5...

How to find words from a text file using PHP

Hi if you have a long text file full of line and you need to search some text in it then you can use this function. This function will accept the words from user then search from a text file and return the lines which have matching words. <...

Object casting in PHP

Hello Reader's if you need to cast the objects in PHP then this blog is helpful to you . Here below I created a function which will cast the object and relocate the object to location as you define function cast($destination, $sourceObject)...

How to get Tree structure for array in php

Hello reader's I have created a conversion format that can convert array in tree structure. In this code i use while loop but you can either use the recursive also. So here is the function as below:- function treeze( &$a, $parent_key, $ch...

How to Automatically Start XAMPP Server in Ubuntu

Hello Guys, What is XAMPP ? As XAMPP is a user friendly application and very easy to install. It contain components like Apache web server application, Mysql Database , PHP and Perl programming support. In my previous blog post, We d...

How to use ftp_size() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use ftp_size() function in php ? The ftp_size() function is used for returning the size of a specified file on the FTP server. This function returns the file size in byt...

How to use filesize() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use filesize() function in php ? The filesize() function basically is used for returning the size of the specified file. filesize() function returns the file size i...

How to use error_log() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use error_log() function in php ? The error_log() function is used for sending an error message to a log, to a file, or to a mail account. The error_log() function al...

How to use reset() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss the use of reset() function in php ? So, basically The reset() function moves the internal pointer to the first element of the array. syntax of reset() function reset(ar...

How to use next() Function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use next() Function in php ? This function returns the array value in the next place and outputs the next element in the array. means we can say that it always returns...
1 5 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: