In this photoshop tutorial, we will show, how to create burn effect in photoshop. Using any image you can add burn effect to image. we given full steps with screen shot and there steps in photoshop.
how to create burn effect in photoshop
First I select one image in PhotoShop
Select another image here I selected one ground image which image 2
In layer panel will look like below
Select layer 2 & give it opacity 62%
Now select first image
go to select >> color range
Cut the part of images
Now the second layer click indicate layer visibility
In this article I will show you how to use Graphic pen tool for text effect. Using this tool we can create easily text effect.
use Graphic pen tool
Draw straight line segments with the Pen tool.
The simplest path you can draw with the Pen tool is a straight line, made by clicking the Pen tool to create two anchor points. By continuing to click, you create a path made of straight line segments connected by corner points.
Select a text write on workspace “Graphic pen”
Then, go to filter option >> sketch option >>Graphic pen…
Then go to effect for Graphic pen this will be show you
If you are programmer then you dont need introduction of array. In every language array is the most important part.
how to work with multidimensional array in php
Using array we can achieve so many things and array is useful for so many times when we do programming.
In this article I am going to share some method about PHP array.
What is PHP array?
An array in PHP is actually an ordered map. A map is a type that associates values to keys. This type is optimized for several different uses; it can be treated as an array, list (vector), hash table (an implementation of a map), dictionary, collection, stack, queue, and probably more. As array values can be other arrays, trees and multidimensional arrays are also possible.
Following is syntax
array(key => value)
Creating PHP array:
<?php
$arr = array("str_arr" => "this is string", 25 => true);
echo $arr["str_arr"]; // print this is string
echo $arr[25]; // print ture
?>
Many PHP programmers facing this issue and hitting same wall. Here in article we shown, how to send email using php. we given code sample with phpmailer.
how to send email using php
PHP itself provides the mail() function to send emails. In this article I will show you the options of sending email using PHP language.
If you are using linux or windows hosting service for running the PHP application. PHP mail() function uses the sendmail mail server to send emails.
If sendmail mail server is configured and running on linux server then only mail() function is able to send the emails.
First we will talk about mail() function. You can pass the following parameters to mail function.
mail(to,subject,message,headers,parameters)
Sample code as follows:
<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php
$to = "support@purabtech.in/files/, wordpressapi@gmail.com";
$subject = "Test mail";
$message = "This is a simple email message.
this is seond line.";
$from = "some@example.com, wordpressapi@gmail.com";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $from";
$headers .= 'Cc: test@test1.com' . "\r\n";
$headers .= 'Bcc: test2@test1.com' . "\r\n";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
If sendmail mail server is not configured on your server, mostly with windows server then there is issue.
But you can send email using anothere PHP programm called PHPmailer.
you can download the PHPmailer from following URL:
http://sourceforge.net/projects/phpmailer/
Download first PHPmailer and extract the phpmailer folder and in that folder you will find the following three files.
1. class.phpmailer.php
2. class.pop3.php
3. class.smtp.php
copy and paste the following files to your PHP application. and use the following code in case of use POP email
<?php
function sendmail_wordpressapi($to,$from,$subject,$body,$id){
//error_reporting(E_ALL);
error_reporting(E_STRICT);
date_default_timezone_set('America/Toronto');
include_once('class.phpmailer.php');
//include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded
$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = "purabtech.in/files/"; // SMTP server
$mail->From = $from;
$mail->FromName = $from;
$mail->Subject = $subject;
$mail->Body = $body;
$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
$mail->WordWrap = 50; // set word wrap
$mail->MsgHTML($body);
$mail->AddAddress($to, $to);
if(!$mail->Send()) {
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
$mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server
$mail->Port = 465; // set the SMTP port for the GMAIL server
$mail->Username = "WORDPRESSAPI@gmail.com"; // GMAIL username
$mail->Password = "YOURPASSWORD"; // GMAIL password
$mail->AddReplyTo("smtp.production@gmail.com","wordpressapi");
$mail->From = "support@purabtech.in/files/";
$mail->FromName = "SMTP EMAIL-wordpressapi";
$mail->Subject = "email server is having some issue";
$mail->Body = "Hi,<br>email server is having some issue,<br> check this out"; //HTML Body
$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
$mail->WordWrap = 50; // set word wrap
$mail->MsgHTML($body);
$mail->AddAddress("support@purabtech.in/files/", "support-wordpressapi");
$mail->IsHTML(true); // send as HTML
$mail->Send();
} else {
echo "Message sent!";
}
}
?>
I created above function in this function I am using SMTP mail function for sending email but in case mail is not going using SMTP details.
you can also send emails using your gmail account details. you can edit or use this function as your requirement.
You can pass following parameters to sendmail_wordpressapi function:
You can send email to multiple email addresses. I am sure using above code sending emails through PHP is very easy. If you have any quries..write to me.
In this tutorial we show, how to create diffuse effect to text in photoshop. we given the step by step with their screen shot and with their explanation.
Step1. Open photoshop first and or choose the 400×400 image and write the text what ever you want.
how to create diffuse effect to text in photoshop
Here I written the diffuse, Select a text write on workspace “diffuse”
Scale this shape by selecting edit >> transform >> scale &
Go to layer >> select type >> & select type
Now you can modify text
Now select filter >> >> select distort
It will look like this
In diffuse filter having more option
Normal, darken only, lighten only & anisotropic
It will give different type of effect of our text
Now select layer >> duplicate layer
Give it name art_1
It will helpful you to give a name to each layer
Now make some more duplicate layers
I made some different diffuse filter it will look like this
WordPress tags and tag cloud is important part in wordpress theme. Here in article given code to add tag cloud to wordpress theme. Tag cloud good for SEO.
I will give so much credit to tags and tag cloud because SEO prospective tag are important.
how to add tag cloud to wordpress theme
What is a tags and Tag cloud?
This is the process of adding keywords which link directly to a site that monitors and allows search of key tags to find information on websites and blogs.
Tag cloud are also same but that will attract the users and give more information about topics which write in your blog. Keep this in mind tag are really important for SEO.
In this article I will show how to create the beautiful tag using wordpress api.
In your template you will found the single.php and page.php or index.php files in that file, You are already using some loop for fetching the posts. In that loop just put following code for displaying the tags.
We will learn html basics with notepad. html is a basic web design language here i going to show you how to make simple web page using notepad only. In windows.
learn html basics with notepad
notepad
first step
open notepad
goto start >> all programs >> accessories >> notepad
now your notepad is open
in web pages having so many types of code so we have to mention bout which code is write
for, this thing will be eiser to write comment on every new code
comment start with // , when web page is run on browser it’s can’t consider that comment
// html language start with this tag in html language every tag tag have to open
& close so here i am given close tag also
<html> // here is open tag
</html> // here is close
now html have internal two parts one is “head” tag & second one is “body” tag in head tag
have to declare web page title also in upcoming article i will show how we can use body tag
for links
body tag is main part of our html web pages here we can write what i have to show in browser
so first head tag
<html>
<head>
<title>first webpage</title> // here is title which can seen in title of browser
</head>
</html>
now start our body tag
<html>
<head>
<title>first webpage</title> // here is title which can seen in title of browser
</head>
<body>
this is my first web page in html language !!
</body>
</html>
now save this notepad file goto file >> save
name it first “webpage.html” & open it in your favourite web browser