
Search In
If you want to save image from url, you have to merge the following code to you js file
First of all, we have to add the following plug-in to read, write and navigate file system.
Write this in your code:
cordova plugin add org.apache.cordova.file
Assertion:
In Assertion if the verification fails in any of the testcase then the further execution of same testcase will not take place and the error will be logged but then the next testcase will be executed.
For eg: If we are on the login page a
Hello Reader's If you need to make ajax request that send the email in backgournd page then you can use the code below:-
$('#submit').click(function() //specify your selector of form
{
$.ajax({
url: sendemail.php, // your action page
If we do not have access to shell and we want to extract a zip file then just put the below php piece of code and run.
$zipObj = new ZipArchive;
$file = $zipObj->open(’zip_file_name.zip’);
if ($file == TRUE) {
$zipObj->extractTo('extract_d
The HTTP response consists of the status line, which is the first line of the response to the request and it contains a code along with a human readable phrase. The code is intended to be used by the user agent or the software agent for handling t
Welcome to FindNerd. Today we are going to discuss the creation of transaction. We use the sale function for transaction creation. You need to pass the amount,customer id,
and nonce from client side. Please have a look.
$result = Braintree_Transacti
Hello Friends,
If you are looking to use page redirection in zend framework. Like as you know we always need to redirect our web-page from one page to another webpage for example after successful record insertion in you always wants to redirect your
Hello Reader's If you want to print the alert messages in color, i.e. Red for danger and Green for success messages then Twitter Bootstrap offers you a good way to showing this.
Let's see the example as below:-
<!DOCTYPE html>
<html lang="
To display MySQL server information in PHP a function mysql_get_server_info() is used. It returns version of MySQL server on success else false.
For example:
<php
//enter your hostname,username and password of mysql
mysql_connect("localhost", ""
I have posted python script for e-mail sending in python project code is given below.
import smtplib
sender = 'from@findnerd.com'
receivers = ['to@todomain.com']
message = """From: From Person
To: To Person
Subject: SMTP e-mail test
This is a te
