
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
The setDate() Method in Javascript
To set the day of the month (1-31), we use setDate() method
Example
<!DOCTYPE html>
<html>
<body>
<h1>Evon technologies</h1>
<p>The Example of setDate() method to set the date of a month</p>
&l...
How to detect web browser of user using PHP
Hello Reader! If you are developing the website which depends on user's web browser then you must first find out the web browser that is opened. By using PHP you can get easily this info using the library code below:-
<?php
function detec...
How to detect If user have internet explorer 8 or 9 or higher using PHP
On developing the customer user based web server, developer should choose all supported version of web browser and code according to web browser. If you are looking for detecting the version of all IE using PHP then the code below will help you p...
Types of testing
Unit testing
individual software components or modules are tested in this kind of testing. It is done by programmer and not by testers, as if one must have detailed knowledge of the internal program design and code.
Black Box Testing
Des...
Quick definition question.
Hi,
I am having trouble finding the technical term for this (see attachment), i have no idea what it called in english, it is basically a type of browser that popup on directly on the page, so when i click on an ad, instead of it opening new t...
Wordpress plugin interfere with the template in wordpress
Hello,
I have a problem my plugin which I build it changes the style of my template.
I would like to know how to avoid a problem like this. My plugin should take the main style of the template and not modify it.
Please take a look on my att...
ngCordova oauth facebook
I want to create a facebook login for my ngCordova hybrid app.In backend i use node js.But in client i've saw a plugin which use clientID(app id) from facebook developers.I don't know how to create this client or how to work with this plugin.Doe...
Character set in MySQL
Character set in MySQL is a set of characters that are valid to store in a string. Each character set has one or more collation. Collation is a set of rules to compare characters. To see all the list of Character Set that MySQL supports you need ...
The Fundamentals of Database
Hello Readers,
These are the some important fundamentals of database.
Entity and Entity Relationships:
An Entity is place, question or thing for which we can gather or collect data.
For example, we take the example of employee. Here, ...
self versus $this in php
Hello Readers,
We can use the self in static function while this is not.
we can use accessible class variable and methods with self and this are:
for self self::
for this $this->
$this needs an instantiated object while self...
Using Union All in Linq
This is a simple example of how we use UNION ALL in Linq.
In fact there is no UNION ALL operator in Linq but we have an equivalent of UNION ALL as Concat operator.
So suppose we have two list (oldEmployees and newEmployees) which hold name...
How to upload multiple files using Jquery
Hello Reader's!. Now multiple files on a single getting in fashion so you can use any of the multiple upload library code, But here we'll see how to use Jquery and PHP to do the same
For getting it start we need a html form page and it'll go ...
How to unzip file on Server with Terminal
If you are looking to unzip any zip folder or file on server please use the below command:
Open your terminal and give command
unzip /var/www/html/abc.zip
*Note :: Please change path with your file path
How to connect server with terminal
If you are looking to connect server with your linux terminal. Please follow the below process:
1) You should have .pem file, username and IP address or URL of your server.
2) Open Terminal
3) Get to your folder under .pem file reside. Like I...
How to parse and Excel file in PHP
Hello Reader!
If you want to read a Excel file in PHP then you can learn the library code below
read('excel_file.xls'); // reads and stores the excel file data
// Test to see the excel data stored in $sheets property
var_export($excel...
How to get current date time with you region using PHP
If you are using PHP and want to get the current date time with respect to your time zone then just use the code below :-
$DateTime = new DateTime(null, new DateTimeZone('Asia/New Delhi'));
$DateTime->setTimezone(new DateTimeZone('Asia/Ne...
multiprogramming, multitasking and multiprocessing
In multiprogramming one or more programs gets loaded in the main memory of the system which can be executed. At most one process can run on the system while all the others are waiting for their turn.
To maximize the use of CPU time, is the id...
Some Common Test Scenarios for Security Testing
Hello, Readers.
By this blog, I am sharing some common test scenarios for the Security Testing. I hope these will help in the time of security testing:-
1- Verify that secure or protect pages should be used HTTPS protocol.
2- Verify for SQ...
Keyboard Shortcuts for Wordpress
In my previous blog Keyboard Shortcuts for all Web Browsers, I discussed about some commonly used keyboard shortcuts every Web Developer or a Web Designer will love to use. In this blog I will tell you about some keyboard shortcuts you can use wh...
SQL As statement
If we want to give temporarily name to a table then we can do easily with " as " statement .
Sometime permanent name of table is very confusing so we need temporary name of table to make easy understanding .
Syntax
select old_col_name as...
Convert String to Date in Java
Its very easy in java to convert String to Date.
Java provides SimpleDateFormat to handle Date related functionality.
Here we call parse() method of SimpleDateFormat.
Example
import java.text.SimpleDateFormat;
import java.util.Date;...
How to maximise the maximum size of POST in PHP
If your form sending much more POST request than the default size and you want to increase the size of POST then see the steps:-
Open the file php.ini
you can file the location of file from exicuting the PHP line below
<?php phpinfo(); ...
How to create user in MySQL Database?
Whenever you create a new user in MySQL it wiil stored in the User table of mysql database. There are two ways to create users:
Create user statement:
CREATE USER username@hostname
IDENTIFIED BY 'password'
For example:
CREATE ...
How to convert given seconds into day format using PHP
On converting the given time in seconds you have to follow the calculation in days and hours etc. Using PHP you can get the format by using the code below:-
Here I created the function ConvertToSec ($sec) as param:
function ConvertToSec($...
How to insert multiple rows into mysql by a single query using codeigniter
Most of time we need to insert multiple rows at a time into the database but some developer use multiple INSERT statements to insert multiple rows while it is a bad approach to solve this problem. Codeigniter provides a insert batch function.
Ex...
How to change the password of the MySQL account?
There are different ways to change the password of MySQL account. They are:
Changing password using UPDATE statement:
For this you need to go to the User table of mysql database. To change password you need to execute the following comm...
How to check if user's session is already started in PHP
If you want to know weather the session is already begin or not in PHP then, you can use of the syntax from PHP manual
see the example below
if (!isset($_SESSION)) session_start();
2.
And in case you are using PHP < 5.4 you hav...
Retrieving Objects parse.com android
Hi,
After saving object Saving Object parse.com Android
Now I am writing here how to retrieve object using some key here using objectId.
If you have objectId then it is very easy to retrieve object value.
parseObject use ParseQuery to han...
How the see the body of a submit post using PHP
POST is a common mode of sending or passing the values from one page to another, But on getting what exact is inside the post PHP will offer you the code syntax.
Consider the example below:-
We will get the body part froma POST request or c...
onfocus event in Javascript
When a user clicks on an input field and it gets focus
Example
<!DOCTYPE html>
<html>
<head>
<script>
function evon(i) {
i.style.background = "grey";
}
</script>
</head>
<body>
Ent...
Asp .Net MVC HTML Helpers
Asp .Net MVC HTML Helpers :--
HTML helpers helps to render HTML controls (Like TextBox, label,Checkbox etc) in the view.Suppose you want to display a TextBox and Label on the view,you need to write below html helper code in view:--
@Html.T...
SQL Random Function
Using this function we can retrieve random row from a table in database . Mostly it is used in online exam , for random passwords etc .
Every Database has their own syntax for random function .
Syntax for MySQL Database
select col_name from...
How to get first n Characters from a given string using PHP
Hello Readers!
On a given string if you want to take out the first n number of characters from it then PHP offers you 'substr' to get the characters.
Consider an example below:-
Suppose I want to get the first 5 characters from string, $MySt...
SQL Last ( ) Function
It work similar to Last ( ) function but it return the last column from a table in database .
Syntax
select last ( col_name ) from table_name ;
It support in Ms Access Database . But for other database there is different statement for L...
How to sort the array of objects by date in ascending and descending order using Javascript?
To sort the array of objects by date in ascending and descending order, we are using JavaScript sort() method , as discussed earlier. Below is the code to provide the same functionality.
<!DOCTYPE html>
<html>
<body>
<...
Diffrence between print_r and echo in PHP
Although the syntax echo and print in php is almost do same function. On the performance based work there are some difference between then:-
Echo is much faster in performance than Print, Since it will not return any value.
On the basis of...
General Test Scenarios
General Test Scenarios:-
Hello Readers
When any software or an application is ready for the testing, on that time testers need some general or basic test scenarios to test the application. By this blog i am sharing few general test scenarios wh...
Text Alignment in CSS
the horizontal alignment of a text can be set by using this property
we can aligned the Text to center or to the left or right, or justified.
Example
h1 {
text-align: center;
}
p.date {
text-align: right;
}
p.main {
...
How to detect mobile device in website using PHP
If you want to know any mobile device is accessing your website, Then the easy way to detect device is to run a php code.
Lets see the code below :-
<?php
$useragent=$_SERVER['HTTP_USER_AGENT'];
if(preg_match('/(android|bb\d+|meego)...
How to find current version and database in MYSQL using select statement?
To find the version and the current database you need to execute the following query:
Select VERSION(), DATABASE()
Crowdfunding Basics: Everything You Need to Know to Crowdfund Your Next Project
In digital era, crowdfunding has emerged as a great medium for startups and early stage companies to raise funds by reaching out to masses. Crowdfunding means receiving donations from people who you believe will like, support the ...
sort() method in JavaScript
sort()
sort() method is used to sort the elements of an array in ascending or descending order. The elements of array sort as strings (in alphabetic and ascending order), by default.
Example:
var names=[garry, john, anny, harry];
names...
How to extract a number from given string using PHP
Using the PHP will give you several benefit to use code what you want.
And taking the number from any given string can be by diffrent - diffrent methods
lets se the example below:-
$myString = "I have 8 apples";
preg_match("|\d+|", $s, $myS...
onsubmit javascript Event
After submitting the information,user clicks the submit button.
<!DOCTYPE html>
<html>
<head>
<script>
function confirmInput() {
fname = document.forms[0].fname.value;
alert("Hiii " + fname + "! You will n...
SQL First ( ) function
If you want to select first coulmn from a table in database then you can do with first ( ) function . It return the first column from a table .
Syntax ->
select first ( col_name ) from table_name ; // This is valid for Ms Access Database o...
How to make CSV File form array in PHP
Hello reader! If you have an array with the records and you want it to be download as CSV format. PHP has built in functions for making the format of CSV. Lets take the example below:-
header("Content-Type: text/csv");
header("Content-Disposi...
How to modify a Joomla Template?
To modify a Joomla Template you need to follow the steps given below:
Login to back-end of Joomla Site.
Click Extensions -> Template Manager. It will open the Template Manager : Styles
You can edit the template by clicking on the name o...
SQL Top Statement
Using this SQL Top statement we can select the topmost( first element from top ) element from the table in database . We can also select one or more element from the top in a table . This clause tell how many rows is returned .
Syntax ->
...
How to send SMS using PHP
Php offers you to make the integration of sms. We will discuss how to use php to send sms to any mobile number:-
Before we starts you need to have some any sms pack from mobile data companies but if you don't have you can make one you from twi...
Data formatter in YII
For make data more readable YII provide a application component name as 'formatter' by using this we can format our date,numbers,email.
How to use
$dataFormatter = \Yii::$app->formatter;
echo $dataFormatter->asDate('2016-01-01', '...