Tuesday, 10 June 2014
How To Display Twitter Followers Count In PHP
Friday, 6 June 2014
Php : create pdf from html using mpdf
MPDF
Friday, 30 May 2014
Monday, 12 May 2014
Get User info using JS SDK after login with Facebook
To day iam working with facebook js sdk it is very easy to get user details after user login to facebook.
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
FB.init({
appId : 'your AppId',
status : true,
cookie : true,
xfbml : true
});
FB.login(function (response) {
getFBuserData ();
});
function getFBuserData () {
FB.api('/me', function(data){
var userdetails = data.first_name+ data.last_name + data.id+data.gender+data.link+data.birthday+data.email;
alert(userdetails);
})
}
</script>
Friday, 9 May 2014
How to install SSL Certificates with Apache 2 on Ubuntu
Step – 1 Create a Certificate Signing Request(CSR file)
In the DN for most servers are the following fields: Country, State (or Province), Locality (or City), Organization, Organizational Unit, and Common Name.
Saturday, 3 May 2014
Merge images using php
Iam explain about how to merge images using php
<?php
header('Content-Type: image/jpeg');
$backgroundimage = imagecreatefromjpeg('tshirt.jpg');
$overlayimage= imagecreatefrompng('Buy-Now.png');
imagecopy($backgroundimage, $overlayimage, 100, 200, 0, 0, 130, 40);
imagejpeg($backgroundimage, null, 100);
?>
Before merge Images:
![]() |
After merge the Images:
Tuesday, 29 April 2014
Install,Uninstall/Remove,Update Package through apt-get in Ubuntu
What is apt-get
To install package through apt-get package manager
apt-get install package-name
apt-get install phpmyadminNOTE: if you get permission denied error, then use sudo with this command. To install any package or software in Ubuntu you need root access.
sudo apt-get install phpmyadminonce you type and enter, it ask password for root user
Subscribe to:
Posts (Atom)









