February 25

XML based CMS

Hello All,

XML based  CMS. its nice to handle  a project one handed. Its a very big tedious job to design a framework for a application.

Enjoying working on PHP, XML and JavaScript…..

looking forward to finish out this project till next week.

February 20

easy code but so amazing..

Today, i tried to give anchor tag to particular  PDF  page,  and it was so easy,  just add “#” and name or page parameter after “href”  tag..

And its done Easyyy

 

<a href=”yourpdflink#page=23″ target=”_blank”> </a>

Category: PHP | LEAVE A COMMENT
February 4

Create FB share button in php and facebook jdk

1: Add below code to load the FB JDK in your PHP or HTML index page

The script tag-

<div id=”fb-root”></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : ‘YOUR APP ID’,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};

(function() {
var e = document.createElement(‘script’);
e.src = document.location.protocol + ‘//connect.facebook.net/en_US/all.js’;
e.async = true;
document.getElementById(‘fb-root’).appendChild(e);
}());
</script>

Note: Put your App Id in this code.

Continue reading