Tuesday, 14 October 2014

Send Mail with File Attachment via SMTP using PHP and Jquery

We have come to realise that most of the emails sent via the PHP mail() function are often treated as Spam and sent to the Spam Box instead of the Inbox because the PHP mail() function does not use a well configured SMTP Server.

We have designed a system that can be used as a Contact Form and be placed at the contact page of any website or be used as a Mail System for any website.

The goal of this tutorial is to introduce a secure means through which you can easily send emails with File Attachment via SMTP using PHP and Jquery without the need to log into your email accounts.

Imagine a situation where you send an email to your users/clients or these users/clients happen to contact you via your website and the messages sent are treated as Spam instead of a genuine message, moreover, it is not all users that bother to check their spam box.

This application brings an end to this kind of situation as illustrated above. This application now gives you the hope that all genuine messages sent or received will go straight to the Inbox where they were sent and no longer the Spam box.

You have received this email in your Box because it was sent with this new Mailing System which is located at the below URL.

Tutorial URL: http://vasplus.info/149-Send-Mail-with-File-Attachment-via-SMTP-using-PHP-and-Jquery.html


Sample Screen Shot when used the system as a Mailing System to single user at a time

Send Mail with File Attachment via SMTP using PHP and Jquery




Sample Screen Shot when used the system as a Mailing System to multiple users at a time

Send Mail with File Attachment via SMTP using PHP and Jquery





Sample Screen Shot when used the system as a Contact Form

Send Mail with File Attachment via SMTP using PHP and Jquery




Tuesday, 23 September 2014

Online Examination System

Vasplus provides an Online Exam Software at competitive rates. Online examination is getting popular on the web these days. The system was designed to ease examination process in organizations worldwide

The main objective of online examination system is to efficiently evaluate the candidate thoroughly through a fully automated system that not only saves lot of time but also gives fast results.

This Online Examination System (OES) is a MCQ(Multiple Choice Questions) based Examination system, which is built using Jquery, PHP and MySQL.

The system provides an easy-to-use environment for preparing questions, conducting exams, test or quiz and managing results.

This system is particularly useful for those websites or organizations that deal in education, recruitment or employee screening process. Presently, institutes are organizing exams, test or quiz online. In this application, a candidate can be given an online exam, test or quiz of a particular subject or topic and get the results instantly through which the candidate can know his/her potential and how much more effort he/she needs to put in to get better marks depending on the settings done at the admin control panel of the system.

Any Educational Institute or training centres can use this system to develop their strategy for putting the exams, tests or quiz and for getting better results in less time.

Online Examination System





Thursday, 4 September 2014

Responsive Menu using CSS and jQuery

This tutorial teaches you how to design a responsive navigation or menu using CSS and jQuery.

Responsive design has basically become a staple to any modern website. Having this in mind, navigation must be ready to adjust to the various screen sizes possible. As you'd imagine, a 10 item long horizontal menu doesn't translate well to a cellphone' screen. However, with a bit of proper tweaking, we can make a proper responsive menu for use on mobile or small screen size.









Friday, 25 July 2014

Convert text via Google to voice using Jquery and PHP

This tutorial teaches you how to convert Text To Speech via Google API using Jquery and PHP.

The system sends a HTTP GET request to Google Speech URL that does the conversion of text to an MP3 audio file as an out put.

Below is a sample URL through which the request to Google is made.

http://translate.google.com/translate_tts?ie=UTF-8&q=The text to convert&tl=en&total=4&textlen=19

Explanation for the above URL is shown below:

(1) ie -> This is the encoding format used. The default as seen in the URL above is: UTF-8
(2) q -> This is the query string. URL encoding is a necessity for this field especially when the string contains special characters.
(3) tl -> This is the language to which the conversion will be done. This means the mp3 audio file will be read in this language. You can get the list of Google supported languages here https://developers.google.com/translate/v2/using_rest#language-params
(4) total -> This is the total of words to be converted.
(5) textlen -> This is the lenghth of text to be converted. The maximum is 100 characters.


PayPal Integration using PHP

This tutorial teaches you how to easily integrate PayPal payment system on your website using PHP.

PayPal has become the most popular method of on-line payment in recent years due to the fact that it is safe, convenient and reliable.

PayPal payment system seems to be generally accepted worldwide.

Because of its ongoing popularity, it has become a necessity for on-line retailers to utilize this method of payment system on their websites.

This system is made up of two major parts which are listed below.

(1) A web page that processes the payment and this page contains the information of the user who is about to make a payment, the information of the payment and initiates a request to PayPal to make the payment.

(2) A web page that confirms the above payment and continues on to the next phase of your web application such as a 'Cancelled transaction Page', 'Completed transaction page' or 'Notification page' depending on the status of the payment brought from PayPal.

This system uses the RC4 algorithm to encrypt and decrypt the data sent via the URL to PayPal and later brought back from PayPal to your website for identification/activation purpose.

To use this system, the first step to take is to create a PayPal account If you do not already have one.

The next step is to open the file named payments.php after you must have downloaded the script and fill in the following information or create a session on the payments.php page then use the username or email address of the user accessing this page based on the session which has been created to get the information you need for the user/payment from your database and then pass these information to the codes below for processing.

$payment_mode = "Test"; // "Live" or "Test"
$user_or_payer_email_address = "info@vasplus.info"; // This is the email address of your user that is about to make a payment
$paypal_email = 'vasplusblog@yahoo.com'; // This is your paypal email address
$your_website_logo_url = "http://example.com/logo/logo.png"; // This is the URL to your website logo
$item_name = 'PayPal Integration Demo'; // This is the name of the item that a user is about to pay for
$item_amount = 1.00; // This is the amount charged for the item that a user is about to pay for
$currency_code = 'USD'; // The currency that you wish to accept on your site

Once you have completed the above settings, you are done to start using the system.




Wednesday, 14 May 2014

Facebook Style Auto Scroll Pagination using jQuery and PHP

This tutorial teaches you how to design a system with a pagination that loads and gets new items or contents automatically from the database just as Facebook / Google Plus does and displays on the screen to the user as the user scrolls the page down using Ajax, Jquery and PHP.

In the past, i gave several tutorials on pagination where you have to click on a button to load more data or content from a database and this process requires the effort of a user before more contents or data can be loaded from a database and its also time consuming.

As a result of this, i decided to come up with another similar tutorial where you do not have to click on a button to load more contents from a database. All you need to do is to scroll down to read the contents on the page while more contents are loaded and displayed on the page.

One major feature of this application is that, it does not work with the ID of each content loaded from the database as it is in the case of our previous tutorials but counts the number of items which have been loaded from the database and then use this number to check for the remaining contents which are left in the database for the next contents to be loaded. Am sure you understand what am talking about.

This application comes with a plugin which has been designed for you to just set things the way you want.
For instance, you can set the total number of items you want the script to load at each down-step, you can set the position you want the loading process to start from, you can set the script to load manually or automatically depending on what you prefer, you can set your desired label for "Loading Status", you can set your desired label for "Finished Contents in the database" and much more.

This is a very simple to understand application as all you need to do are well explained in the script.

The script is very easy to understand and customize with programming code comments to ease usability.



Click here to view this tutorial







Facebook Style Private Messaging System Version 6.0 using Ajax, Jquery and PHP

Everyone likes the Facebook Private Messaging System where communication has been made easy.

This is a paid tutorial and helps and teaches you how to build a Private Messaging System which is similar to that of Facebook with amazing features such as the following:
   

(1) The interface of the message system is responsive to browser height just as Facebook does.

(2) There is an auto and Manual Pagination for messages when scroll to top which is similar to that of Facebook.

(3) Send File or Photo which is also similar to that of Facebook

(4) Delete Multiple messages

(5) Delete entire conversation with a user

(6) Report Spam or Abuse

(7) Send Feedback

(8) Search for messages in conversation with a particular user

(9) Nice smileys box with style

(10) New Message Notification

(11) It expands YouTube Video URL that start with http://

(12) It expands links or URLs that start with http://

(13) It shows user typing notification at the receiver end

(14) You hear a sound if new message comes in

(15) It displays Seen Notification similar to that of Facebook

(16) It scrolls to bottom when new messages are received

(17) There is an option to search for a desired user or friend for messaging purpose.

(18) Set current user or friend communicating with to selected even when the page is reloaded - similar to Facebook.

(19) Download attachment with received photo enlargement - similar to Facebook.

(20) Hide and show send message button - similar to Facebook.

(21) Press enter key to send messages - similar to Facebook.

(22) Nice confirmation box for notification and message deletion, etc.

The system supports all modern browsers and the scripts are written in a way that any one can easily understand and customize with programming code comments to ease usability.




Facebook Style Private Messaging System Version 6.0 using Ajax, Jquery and PHP