This is Himanshu Kumar ,follow me on Instagram and be the part of HemuVirus . Also subscribe the website for getting new new hacking and coding tricks. Today i am back with a new new hack . In this digital era we all are using android phones which plays a very important role in our daily life from the starting of the to end of the day. But these android phones are also most dangerous for us . this trick is very useful when you give your mobile phone to someone and after that you want to check what he did in your phone .
This trick is all about checking the history of your android phone . you can see all the usage of your android phone with how much time you spend on that app. It is a very simple trick we don’t need to install any other app for this trick. it is totally inbuilt in all android phones. so you can easily access it without doing any changes in your android phone . This trick helps you to check the app you used and how much time you spend .
I am back with a new new topic, which is very user full for a WEB DEVELOPER , Yes Sending mail with the help of PHP MAILER(SMTP) and Mail Function in PHP is the most use full part while developing a website .This topic helps you to send mails to users while using contact us form or while a user registered in your website a automatic mail is send to that user after registration.
PHP is the most popular language for Web Development .When i used PHP mailer to send mail first time it created too many troubles so i thought that nobody should see this kind of trouble from now on. In this tutorial i will show you how we can send mail using Mail function and PHP Mailer function . if you want to know something more or interesting or want to tell me to create new post on any other topic so kindly follow me on Instagram my user id is –hemu_virus.
Now lets start the tutorial-
SEND MAIL USING MAIL FUNCTION
Step 1 – Copy the given code in your mail file and save it on server .
Step 2 – Change the given from address to your email address . and to address to recipient email address.
Step 3 – Open the page with live URL . check recipient email id a mail is received.
$to = 'firstname.lastname@example.org'; // mail id of user to which you want to send mail
$subject = "hemuvirus mailing tutorial"; // subject of mail
$txt = "Dear User,\nThis is the demo of mail function in php. Thank You!"; // Message you want to send
$headers = "From: email@example.com";//Mail id from which you want to send mail
echo "Mail Send";
echo "Mail Not Send";
SEND MAIL USING PHP MAILER FUNCTION
Step 1 – For using PHP Mailer – 5.2 stable version we need to first Download – PHP Mailer for downloading Click Here .
Step 2 – Now extract the zip file and save it to server.
Step 3 -Now in the same directory create a file and paste the given code .
Step 4 – Now open the Page with live URL and check the recipient email id a mail is received .
Source Code –
function smtpmailer($to, $from, $from_name, $subject, $body)
$mail = new PHPMailer();
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tls';
$mail->Host = 'mail.gmail.com';
$mail->Port = 587;
$mail->Username = 'firstname.lastname@example.org'; // your email id
$mail->Password = '********'; //your email password
$mail->SMTPDebug = 3; // error debugger
$mail->Subject = $subject;
$mail->Body = $body;
$error ="Email not sent";
$error = "Email sent.";
$to = 'email@example.com'; // recipient mail address
$from = 'firstname.lastname@example.org'; // your mail address
$name = 'hemuvirus'; //name of sender
$subj = 'hemuvirus tutorial'; //subject of mail
$msg = 'Hey welcome to hemuvirus tutorial'; //message which you want to send
$error=smtpmailer($to,$from, $name ,$subj, $msg);
<center><?php echo $error; ?></center>
And don’t be afraid about the yellow color warning message it is due to the wrong email address so kindly use correct email address if you don’t want these warnings in your mail.
Now a days all we want to convert our mobile look into computer look so today i show you how we can convert our mobile phone view into computer. Its a very cool trick. after this trick your phone will look like a computer. you can do all task in mobile same as computer .
Lets Start the trick
Step 1 – First of all you have to download ANDROMIUM OS. For Download Click Here.
Step 3 – after opening the app an popup will appear now you have to select OK. after selecting ok you have to select Andromium OS from usage access options. and then permit usage access to Andomium OS.
Step 4 – Now For Accessing all the notification in computer theme you have to give notification access to the app.
Step 5 – Now go to notification bar and select Andomium OS . and its all set now your mobile screen is converted into Computer screen.
Today i am telling you Something about Coding not about Hacking. The topic of today is very interesting as you all know hemuvirus.com is all about hacking and coding stuff so today i will tell you some basics of coding. Basics of coding is likewhat is coding? ,what is web designing? and What is Web Devlopment? so now lets start the topic with Coding.
Coding(Programming) – Coding is very use full in terms of any electronic device because for interacting or working with any electrical device we need to code, because electronic devices can’t understand Human languages they only know machine languages and with the help of coding we can talk with those devices easily. The Coders are also known as Web developers, designers and programmers . Coding is used for converting human language to machine language and machine language to human language. Coding is also used for making calculators , android application , websites , software’s , games and so many other things. Coding is also used for Hacking . Some basics coding languages are – JAVA,PHP,JAVA SCRIPT,HTML,CSS,C,C++ .
Web Designing – As we all know now a days all business(Big as well as small business) have their own website. so for making these website we need WEB DESIGNER . Web designer’s use their creativity as well as knowledge for making a website cool and attractive. Due to these website’s business are growing faster as of offline like Amazon,Flipkart. There are so many languages used for Web Designing but i personally refer you HTML,CSS, JAVA SCRIPT. Web designers are also known as Front end Developers. they Design User Interface of any website. web designer only works on client-side code. Now a days there are also so many frameworks available for making websites like bootstrap.
Web Development – Web Development is done by Web Developer‘s. Web designer’s creates the layout for any website and web developers are used for giving functionality to those website with respect to database and servers. Web Developers are most demanding now a days . Web Development works on Server side code. Some Development languages are PHP,Java,MYSQL. Available frameworks for PHP is WordPress .now a days WordPress is very popular CMS. PHP is widely used in Web Development there are too many websites which are builds in PHP .
You can also learn these languages in detail using UDEMY or there are so many other online learning websites . if you want me to add full tutorial of programming languages then put the programming language in the below comment section.
I hope you guys are good in this paramedicSituation(COVID-19),Today i came with a new trick which is very cool and interesting . u can also impress your friends by this trick. You all are aware about Google Chrome as a Internet Browser for using Internet . Google chrome is very popular and most using browser in today’s era. Google Chrome is used for connecting to internet ,surfing the internet but today i will tell you how we can use Google Chrome as a text editor . Google chrome as a text editor is a cool trick. And this trick is also works on all andorid phones.
Now i will show you how you can use your Google chrome as a text editor.
Step 1 – First of all if you don’t have Google Chrome then you have to download it first from – Here . Android user click here .