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

Different ways to include a php file into another PHP file

PHP provides different functions to include content of one php file into another file before execution of the file. There are following four methods which can be used to include files :   1. include 2. include_once 3. require ...

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

How to get latitude and longitude of the user's position?

Welcome to FindNerd, today we are going to discuss how to get latitude and longitude of the user's position. If you want to get latitude and longitude of the user's position, then you should use getLocation() method. In a web applic...

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

Different ways to split a string into array in PHP

PHP provides a lot of functions for manipulation of string and array. Many times we need to convert a string into an array to perform operations. This article demonstrate details of different functions which can be used to convert a string into a...

Data table Server-side processing using Cakephp

In cakePhp if have an extensive database which contain a huge number of record so you can apply the datatables server side processing there. By applying the datatable server side processing you are furnished with pagination highlight in which it ...

How to add datatable in cakephp with records fetching from database

In cakePhp if you have an extensive database which contains thousands and a huge number of record so you can apply the datatables there. By applying the datatable you have given pagination highlight in which it is dependent upon you that what num...

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

Fetch the particular data on click of dropdown and display that data in the table

To fetch a particular data with the help of id on click of a drop down, We have to make a database with table named products and in that table we have to add various columns like id, name, cost, color. Then write following code in the ProductC...

Fetch the data from the database and display the fetched data in the dropdown

In this web journal, I'll demonstrate to you generally accepted methods to bring the information from the database and showing the got information in the drop down. I do have a database named CakePHP and in that database I have one table name...

Form and Html using Laravel 4.x:

As we all know that in each and every framework and project we will use form and html.Similarly by using Laravel 4.x we will create form and use html.   Opening A Form: For opening a form in laravel 4.x the following syntax is used:...

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

Responsive Chart with bootstrap 4 using Joomla and chartjs

“You can have data without information, but you cannot have information without data” so when you have data then you might want to represent it by so many popular way. Someone prefer Table to represent data, someone use most creative ...

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

Create And Use Shortcode in Wordpress

Shortcode is a special feature of wordpress .  In other words we can call it a simple set of functions  Developer can  create the functionality specific shortcode and can use it either at admin end in page or post  or in any c...

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 avoid duplicate data insertion using php and MySql

This blog will help user learn how to avoid the duplicate entries in the database. Storing duplicate values in the table must be avoided while inserting data in the database table. As these duplicate entries can create many problem in the applica...

Install symfony using composer

To install symfony following are the list of required requirement: - The minimum version of PHP should be 5.5.9 - Need to enable JSON - Need to enable ctype - Your php.ini should have the date.timezone setting   Run the following c...

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

Associations (Linking Models together) in cakephp

Association is the relationship between two models. By using associations we can join tables. It is like a glue between different related models. Cakephp provides us very powerful feature of linking models together, just by call of one function. ...

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 reset admin password from database in Magento?

Hello Friends, Initially when we are new in Magento after successful installation in local system, some time we forgot the admin password. With the reason the project setup is local, you can't call forgot password to retrieve your password...

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

Custom Admin Module Hello World in Magento

Hello Readers, This tutorial will guide you about how to create custom admin module in magento to print simple text Hello World in the backend. To accomplish this, follow the below steps: Step 1: Create folder Evon/Helloworld inside app/cod...

Sendgrid using laravel 4.x

Laravel 4.x provide n number of sending email library such as mandrill,sendgrid etc. These all library are used to send bulk email. To use Sendgrid in our Laravel project we have to follow few steps. By this way we can implement Sendgrid in our L...

Export data into excel sheet using CakePHP

Hello friends, I am writing this blog which will help you to export data to excel sheet or you can say that it will write data into excel sheet with the help of 'php-export-data-class' library.   Lets start by creating function...

Implement SMS Gateway just in 5 Minutes using php

If you want to implement SMS gateway using php.It's now very easy. Use clickatell SMS Gateway. To implement clickatell SMS Gateway you have to follow below simple steps. Step 1: Just go to the clickatell website.The url of clickatell si...

Disable cache for particular section in W3totalcache plugin in WordPress

Hello readers, In this tutorial I will guide you to "Disable cache for particular section in W3totalcache Plugin in WordPress". W3 Total Cache, also called W3TC, It is a very famous plugin of wordpress as with this we do not need to ...

Creating Parent Child theme in Wordpress

Hello readers, In this tutorial I will guide you to "Create Parent Child theme in Wordpress". The web that modifying a theme and even slightly prevents you from updating it to more recent version in the future, because in case you tr...

Creating Cookie in cakephp

Hello Readers this is small blog on creating cookie in your cakephp application. Cookies are a mechanism for storing data in the web  browser and helps in  identifying  users. Cookies are files that contain information about the...

How to create your own helper in cakephp

In our application there are  situations, where we need presentational logic which will be shared between many views, elements, or layouts. For this  purpose cakephp provides view helpers. Some of them are: CacheHelper,  Form...

How would you create Sessions in Cakephp

Hello readers , this is a small blog on session in cakephp. Sessions are the most useful and important function of PHP. I think Sessions are used in every website. Sessions can be used in  e-commerce website, job portals, payroll systems ...

Create your own component in cakephp

Suppose in our application we need to perform a  mathematical operation in many different parts, then we could create our own component to  use in many different controllers.   1. First create a file named MathComponent.php i...

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

Remove incomplete multibyte character input string

Hello friends, while importing excel file in MySQL using PHP I was getting following error: iconv(): Detected an incomplete multibyte character in an input string   Before proceeding further to solve the error let's first unders...

How To Generate Form and Input Fields in Yii 2

This article demonstrate different methods to create an active form with different input fields in Yii 2. Yii 2 provides  yii\widgets\ActiveForm class which is the best way to create forms based upon models. Another helper class  yii\he...

How to generate a pseudo-random string of bytes

sometime we need to generate a random string of byte, For this purpose openssl_random_pseudo_bytes method is used,which gives us a random string of  byte. Syntax string openssl_random_pseudo_bytes ( $length ,$crypto_strong ) ...

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

How to implement If else condition in Twig

Hello Friends, Twig is a simple template system used in Symfony and Slim Framework. This is something different to implement your code in HTML file as other frameworks or CMS. If you want to implement conditional statement(if else) in twig tem...

Get Country from IP Address

Hello friends, I was facing issue of getting country name from IP address. Here I am going to tell you how to resolve this issue by passing IP address and retrieving country name. There are many APIs which will do this for you. I am using the ser...

Request & Response Objects In Cakephp

Request & Response Objects The request object in CakePHP permits you to find out the current status of the incoming request while the response object permits you to easily make HTTP responses from your controllers. Request By de...

How to implement blowfish hashing for passwords in cakephp ?

Hello Readers ,   Their are many methods to hash password in cakephp like cakephp alias , md5 etc blowfish is also one of them . One thing we have to note down that we can’t use Blowfish if we already have a database filled with ...

File upload in Yii 2

File uploading is one of the most required feature in most of applications. This tutorial demonstrate how we can upload an image file in an application developed on Yii2 framework. There is an inbuilt class yii\web\UploadedFile in Yii2 which can ...

How to hide $_GET variables using encryption ?

Hide $_GET variables using encryption Hello friends, I am writing this blog which will let you know how to hide variables using encryption. I have created activation url, though which users will activate their account by clicking on it. So, I ...

PHP PDO

Welcome to FindNerd. Today we are going to discuss PHP PDO. It is not a new term in PHP but many of us want to work in old patterns. Most common extensions are MySql and MySqli. If you are using PHP then you should be familiar with these terms...

Socket creation php

Welcome to Findnerd. Today we are going to discuss socket programing in PHP.   First question which arise is what is socket? Socket is an end point in two way communication. Two way communication has client and server sides. Client ...
1 8 44
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: