Monday 14 April 2014

Send mails using SMTP in PHP by gmail server or own domain server

0 comments

This article is about send emails in SMTP(Simple Mail Transfer Protocol) using phpmailer by own server or gmail server. Every host provider will provide us the mail server and its configurations. SMTP is using for send mails and POP3 is using for receive email to our mail box. Here we are using PHPMailer for send emails using SMTP in php. Every host provider such as godaddy, hostgator, 1&1, Plesk ect has various SMTP configurations. Here is the list of SMTP Server's

Download Code Click Here

Sunday 13 April 2014

Auto Click after 4 Seconds Using Jquery

0 comments
"Copy and Paste into Notepad and Save as .html and Run .... That's it  Thanks"


<!Doctype>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
</head>
<body>

<script>
var myVar;
$( document ).ready(function() {
    myVar=setTimeout(function(){
       $('#btn').trigger('click');
    },4000);
});
function myStopFunction(){
    clearTimeout(myVar);
}
function AutoCall(){
    alert("click is done...");
    clearTimeout(myVar);
}
</script>
<input type="button" onclick="AutoCall()" name="btn" id="btn" value="Don't Click here..." /> 
</body>
</html>

Sunday 30 March 2014

PHP 5 Introduction

0 comments

What You Should Already Know

Before you continue you should have a basic understanding of the following:
  • HTML
  • CSS
  • JavaScript

What is PHP?

  • PHP is an acronym for "PHP Hypertext Preprocessor"
  • PHP is a widely-used, open source scripting language
  • PHP scripts are executed on the server
  • PHP costs nothing, it is free to download and use

What is a PHP File?

  • PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  • PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • PHP files have extension ".php"

What Can PHP Do?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can collect form data
  • PHP can send and receive cookies
  • PHP can add, delete, modify data in your database
  • PHP can restrict users to access some pages on your website
  • PHP can encrypt data
With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.

Why PHP?

  • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP supports a wide range of databases
  • PHP is free. Download it from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side