Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Drow Basic Lines Using Highchart
1- First of all place JS file in JS folder.
jquery-1.11.0.min.js
highcharts.js
exporting.js
2- ...
Jcrop image croping
1- Place JS and CSS files under head tag.
jquery.min.js
jquery.Jcrop.js
main.css
demos.css
jquery.Jcrop.css
2- Also copy and paste bellow piece of javascript code under head tag.
<script type="text/javascript"...
Explain like I'm 10, when and why should I move my site to https from http?
I am new in web development. I notice that in web url there are two typs url 'http' and 'https'. I dont know the deference of these two also when and why we should change it from http to https.
Any can can help me to understand t...
Integrate Cometchat With CakePHP 3.x.x
1- System Requirements
1- PHP version 5 or greater
2- MySQL version 4/5 or MSSQL Server 2005/2008/2012 or PostgreSQL 9.2-9.5
...
Upload files and copy it again
1-Upload selected file.
<?php
move_uploaded_file($_FILES["file"]["tmp_name"],$target);//Upload file
?>
2- Copy uploaded file and place it again in same directory.
<?php
copy($target, $NewFileNameWithFullPath);//Copy...
How to Validate & Process Data Before Posting into Payment Processing Site?
Need to post data to a payment processing website - but need to validate and preprocess first
Apologies if this is a dumb question. I am not an experienced web programmer.
I am trying to integrate an online payment processing site with my o...
How to Instantiate Class Using Namespaces in PHP?
Trying to figure out how to instantiate class with name spaces. The library was built for Composer to manage dependencies, but we're using just the necessary classes for our project.
We are using this library:
https://github.com/thephpl...
Web api to insert data into database using php
Hello Readers! In this blog we are going to create an api for inserting the data into database and then passing the data to the device in JSON format using php.
Step 1 : Firstly you are required to create a database. Here we have cre...
What is overloading and overriding in php?
Overriding:
When we inherit a class into another class and provide the definition for one of the function of parent class inside the child class, then this function is overridden and this process is known as function overridding. Overr...
How to generate report like pivot table from php 3d array on question_id base
Actually I am generating a report and print out answers under that question id. Like 13377 questiin id answered 3 times so i want to echo their answers underneath and the same for other question ids. All data is dynamic. Get unique questions id t...
Getting Foreign Key Constraint Fails Data Insertion Error in MySQL
I am trying to create to 2 tables and inserting data into them but I am getting this error Creating Athlete the table failed SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constraint fail...
How to get selected numbers of character from column using Codeigniter?
Hello Readers, If you are using CodeIgniter you want to fetch limited MySQL results then in this blog we will learn how to to this.
Suppose you want only first 200 chars of a field then you should only fetch limited results, this wil...
How to post a comment on blog using Ajax?
Hello Reader's , If you have developed the blogging website and you want to make commenting via ajax then this article will be very helpful for you. You can develop commenting function with many ways but if you use ajax then you can speed up ...
How to make count down timmer using Javascript?
Hello Reader's, If you want to make a time count-down timer then in this blog we will learn how to make this. A count-down timer is front end clock which shows time in decrement order. This is done by using javascript, So let's get starte...
How to show location image and details inside google marker on map?
Hi reader's, If you are developing website using google map and want to show location image and detail inside the marker then in this we will see how to do this.
Step 1: Create a blank space as an HTML div where the google map will l...
How to change default messages of data tables?
Hello Reader, If you are using data tables in your web website and want to change default message of it then in this blog you can see how to change them.
Now-a-days, Data tables are getting very popular because of its real-time instant s...
How to check if mobile is already register during register via ajax
Hello Reader's if you are developing a user based registration portal and you want to make unique mobile number facility then you can do this via ajax and php. In this tutorial we will see how to develop the portal which will check and verify...
How to make login via ajax in codeingiter
Hello Reader's, If you are developing the website in codeigniter and want to make login via ajax, then you have to use use ajax with PHP in website functionality. Ajax give you a lot of functions by which speed of website will increase. ...
How to create and delete zip folders using PHP
Hello Reader's, If you want to make folder zip functionality through website then PHP give you to do this. PHP uses ZipArchive() to create the zip files from the destination path provided. So lets get started working creating a zip fold...
Most Popular Application Development Frameworks 2016
"Developing mobile applications used to mean that you had to write native code, for each individual device or operating system that your client required. However, these past few years the term Hybrid App Deve...
How to get facebook user details using PHP?
Hello Reader's if you are looking to develop a web app which gets the facebook user profile details then by using PHP you can do this. Facebook gives us the public details of any user like: photo, cover location and birthdays. To use thi...
How to send attachments in email using Codeingniter
Hello Reader's, If you have developed the web project in Codeigniter and want to send attachments using emails then in this blog you can learn how to do this.
Sending the attachments can be done by several way in php, We will do th...
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...
How can I secure my APIs using O-Auth?
I wrote some APIs in PHP to expose my website to a greater no of audience. Now, can anyone help to know how I can secure them using O-Auth.
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...
update multiple values using php and mysql?
i need to update multiple choices for question but every time i run the query it's only update the last choice only also i need to update the value of the correct answer which is (0 or 1 ) which the best using input text or radio button
...
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...
set the correct answers equal to 1?
i'm working in query to insert answer into answers table and i need to set to correct answer equal to 1 and the incorrect answer equal to 0 for that i'm using radio buttons to assigned value into the answer but every time when i run the q...
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...