Mandrill is a powerful SMTP provider. Developers tend to use a third party SMTP provider for better inbox deliveries. For the below function you would have to put a file “Mandrill.php” in the same folder as the PHP file you would be using to send emails. function send_email($to_email,$subject,$message1) { require_once ‘Mandrill.php’; $apikey …
Read More »Latest Posts
How to send sms using php ?
While working on web or mobile applications, you often face a situation where you need to send an SMS to your user either for login purposes or providing them with some information. The below PHP function would help you with it. For sending SMS using any language, you’d need an …
Read More »What is the difference between include(), include_once() and require_once() ?
The include() statement includes and evaluates a specified line i.e. it will include a file based in the given path. require() does the same thing expect upon failure it will generate a fatal error and halt the script whereas include() will just gives a warning and allow script to continue. …
Read More »What is canvas in HTML 5?
Canvas is an HTML area on which you can draw graphics. <canvas height=""500"" id=""mycanvas"" solid=""style=""border:1px" width=""600""></canvas>
Read More »How can detact incoming call in android using code ?
Step. 1 : Create android project by selecting file > new > new android application. Now name your app whatever you like. When done hit finish.
Read More »Add data in Android ListView
Android ListView is a view which groups several items and display them in vertical scrollable list. The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database.
Read More »How can create connection with database usin php ?
First of all we need a connection with database. after this we can modify and access the data from the database.
Read More »How to upload file on server using php ?
We can easily upload a file or image on the server using this php code. Before upload an image or file we should configure php.ini file. In your “php.ini” file, search the file_uploads directive, and change it to On: file_uploads = On
Read More »How can start session in php ?
A session in php is started using session_start() function. Globle variables (eg. $_SESSION.) are used for session variables. Now we create a page “example_session.php” and start a session with some session variables :
Read More »How to download images from server in android application ?
In this tutorial we will show how to use picasso library in Android. Picasso is open source and widely used image downloader library in android. There are various methods for downloading images from server . From which Picasso library is widely used for this purpose.It is easy to use. How …
Read More »