<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Boolean Island !</title>
	<atom:link href="http://ranacse05.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ranacse05.wordpress.com</link>
	<description>Think Binary.</description>
	<lastBuildDate>Thu, 26 Jan 2012 15:05:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ranacse05.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/72ed6c636d1d4bdeb4394e13a9c6e7e0?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Boolean Island !</title>
		<link>http://ranacse05.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ranacse05.wordpress.com/osd.xml" title="Boolean Island !" />
	<atom:link rel='hub' href='http://ranacse05.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Show Facebook Group Wall on web site</title>
		<link>http://ranacse05.wordpress.com/2011/02/04/show-facebook-group-wall-on-web-site/</link>
		<comments>http://ranacse05.wordpress.com/2011/02/04/show-facebook-group-wall-on-web-site/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 10:03:29 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[facebook group feed]]></category>
		<category><![CDATA[show facebook group info]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=139</guid>
		<description><![CDATA[I was working last night and my task was to show the facebook groups wall on a normal website . It can be done easily using facebook graph api after working an hour it was done. So lets discuses the steps here. And the output will be something like this First get the group name,description [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=139&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was working last night and my task was to show the facebook groups wall on a normal website . It can be done easily using facebook graph api after working an hour it was done. So lets discuses the steps here.</p>
<pre>
<pre>And the output will be something like this

<a href="http://ranacse05.files.wordpress.com/2011/02/screen-shot-2011-02-04-at-3-35-13-pm.png"><img class="aligncenter" title="Facebook Group wall" src="http://ranacse05.files.wordpress.com/2011/02/screen-shot-2011-02-04-at-3-35-13-pm.png?w=316&#038;h=498" alt="Facebook Group wall" width="316" height="498" /></a></pre>
</pre>
<p>First get the group name,description and photo.</p>
<p><pre class="brush: php;">
$group_id = '2204685680';
$url1 = 'https://graph.facebook.com/'.$group_id;
$des = json_decode(file_get_contents($url1));
</pre></p>
<p>This will return all the basic info and those will be in Json format, after decoding that we&#8217;ll get some data</p>
<p>stdClass Object</p>
<pre>(
    [id] =&gt; 2204685680
    [version] =&gt; 0
    [owner] =&gt; stdClass Object
        (
            [name] =&gt; Fatih Beyaz
            [id] =&gt; 709103042
        )

    [name] =&gt; PHP
    [description] =&gt; PHP: Hypertext Preprocessor

For anyone who uses PHP.
    [privacy] =&gt; OPEN
    [icon] =&gt; http://b.static.ak.fbcdn.net/rsrc.php/y_/r/CbwcMZjMUbR.png
    [updated_time] =&gt; 2006-07-09T11:39:30+0000
)

Now we have to pull the posts. For this we need to add <strong>feed</strong> at the end of the previous url , and the code will be like 

<pre class="brush: php;">
$url2 = &quot;https://graph.facebook.com/{$group_id}/feed&quot;;
$data = json_decode(file_get_contents($url2));
</pre>

This will return last 25 wall post , we can get more if we want by using <strong>&amp;limit=NUMBER</strong> .

For the design lets write some css .

<pre class="brush: css;">
&lt;style type=&quot;text/css&quot;&gt;
 .wrapper {
 width:300px;
 border:1px solid #ccc;
 font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif;
 float:left;
 }

 .top {
 margin:5px;
 border-bottom:2px solid #e1e1e1;
 float: left;
 width:290px;
 }

 .single {
 margin:5px;
 border-bottom:1px dashed #e1e1e1;
 float:left;
 }

 .img {
 float:left;
 width:60px;
 text-align:center;
 margin:5px 5px 5px 0px;
 border-right:1px dashed #e1e1e1;
 }

 .text {
 width:220px;
 float:left;
 font-size:10px;
 }

 a {
 text-decoration: none;
 color: #3b5998;
 }
&lt;/style&gt;
</pre>

and including all the things together the full code will be like

<pre class="brush: php;">
&lt;?php
header ('Content-type: text/html; charset=utf-8'); 
$limit = 5;

$group_id = '2204685680';
$url1 = 'https://graph.facebook.com/'.$group_id;
$des = json_decode(file_get_contents($url1));


echo '&lt;pre&gt;';
print_r($des);
echo '&lt;/pre&gt;';


$url2 = &quot;https://graph.facebook.com/{$group_id}/feed&quot;;
$data = json_decode(file_get_contents($url2));
?&gt;
&lt;style type=&quot;text/css&quot;&gt;
 .wrapper {
 width:300px;
 border:1px solid #ccc;
 font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif;
 float:left;
 }

 .top {
 margin:5px;
 border-bottom:2px solid #e1e1e1;
 float: left;
 width:290px;
 }

 .single {
 margin:5px;
 border-bottom:1px dashed #e1e1e1;
 float:left;
 }

 .img {
 float:left;
 width:60px;
 text-align:center;
 margin:5px 5px 5px 0px;
 border-right:1px dashed #e1e1e1;
 }

 .text {
 width:220px;
 float:left;
 font-size:10px;
 }

 a {
 text-decoration: none;
 color: #3b5998;
 }
&lt;/style&gt;


&lt;div&gt;
 &lt;div&gt;
 &lt;a href='http://www.facebook.com/home.php?sk=group_&lt;?=$group_id?&gt;&amp;ap=1'&gt;
&lt;?=$des-&gt;name?&gt;&lt;/a&gt;
 &lt;div style=&quot;width:100%; margin: 5px&quot;&gt;
 &lt;?=$des-&gt;description?&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;?
 $counter = 0;
 
 foreach($data-&gt;data as $d) {
 if($counter==$limit)
 break;
 ?&gt;
 &lt;div&gt;
 &lt;div&gt;
 &lt;a href=&quot;http://facebook.com/profile.php?id=&lt;?=$d-&gt;from-&gt;id?&gt;&quot;&gt;
    &lt;img border=&quot;0&quot; alt=&quot;&lt;?=$d-&gt;from-&gt;name?&gt;&quot; src=&quot;https://graph.facebook.com/&lt;?=$d-&gt;from-&gt;id?&gt;/picture&quot;/&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;div&gt;
 &lt;span style=&quot;font-weight:bold&quot;&gt;&lt;a href=&quot;http://facebook.com/profile.php?id=&lt;?=$d-&gt;from-&gt;id?&gt;&quot;&gt;
&lt;?=$d-&gt;from-&gt;name?&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
 &lt;span style=&quot;color: #999999;&quot;&gt;on &lt;?=date('F j, Y H:i',strtotime($d-&gt;created_time))?&gt;&lt;/span&gt;
 &lt;br/&gt;
 &lt;?=$d-&gt;message?&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;?
 $counter++;
 }
 ?&gt;
&lt;/div&gt;
</pre>

Enjoy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 
</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=139&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2011/02/04/show-facebook-group-wall-on-web-site/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>

		<media:content url="http://ranacse05.files.wordpress.com/2011/02/screen-shot-2011-02-04-at-3-35-13-pm.png" medium="image">
			<media:title type="html">Facebook Group wall</media:title>
		</media:content>
	</item>
		<item>
		<title>Post on Facebook Fan page as Admin</title>
		<link>http://ranacse05.wordpress.com/2010/11/01/post-on-facebook-fan-page-as-admin/</link>
		<comments>http://ranacse05.wordpress.com/2010/11/01/post-on-facebook-fan-page-as-admin/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 18:08:08 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[fan page]]></category>
		<category><![CDATA[post on fan page]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=124</guid>
		<description><![CDATA[I was working on a project which needs to post feed/status on facebook fan page . Its easy and there are lots of example on web but the requirement was to post as the page admin not the user . There are lots of users on the facebook developers forum asking for this and in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=124&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was working on a project which needs to post feed/status on facebook fan page . Its easy and there are lots of example on web but the requirement was to post as the page <strong>admin not the user</strong> . There are lots of users on the facebook developers forum asking for this and in the doc http://developers.facebook.com/docs/reference/rest/stream.publish there is one thing <strong>enable_profile_selector</strong> but there is an easy way .</p>
<p>First of all you have to install the app to the fan page . So first go to the application profile which will be like http://www.facebook.com/apps/application.php?id=XXXXXXXXXXXXX, xx is the application id and click on the <strong>Add to my page</strong> , from there choose your page and click <strong>Add to page</strong>. First part done <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://ranacse05.files.wordpress.com/2010/11/screen.png"><img src="http://ranacse05.files.wordpress.com/2010/11/screen.png?w=595" alt="Add app to fan page" title="Add app to fan page"   class="aligncenter size-full wp-image-129" /></a></p>
<p>Now for coding , you have to save the session key of the admin of that page. Be sure that u have the <strong>offline_access,publish_stream and manage_pages permission</strong> , manage_pages is a new kind of extended permission we need to use to post on behalf of the page admin .</p>
<p>Then set the session and the user id of the admin </p>
<p><pre class="brush: php;">
    $facebook = new Facebook(APP_ID,APP_SECRET);
    $facebook-&gt;api_client-&gt;user = $fb_userid;
    $facebook-&gt;api_client-&gt;session_key = $session_key;
</pre></p>
<p>And then call the stream_publish like this </p>
<p><pre class="brush: php;">

  $link = 'http://www.mylink.com/';

$attachment = array( 'name' =&gt; 'Name of the feed',
        'href' =&gt; $link,
        'description' =&gt; 'Description of the post'
);

$image_link = 'Image Link';
$attachment['media'] = array(array(
                'type'=&gt;'image',
                'src'=&gt;$image_link,
                'href'=&gt;$link
));
$status = json_encode($attachment);

try {
    $facebook-&gt;api_client-&gt;stream_publish('',$status,'','',$pageid);
}
catch(Exception $e) {
    print_r($e);
}

</pre></p>
<p>Thats it , enjoy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=124&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2010/11/01/post-on-facebook-fan-page-as-admin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>

		<media:content url="http://ranacse05.files.wordpress.com/2010/11/screen.png" medium="image">
			<media:title type="html">Add app to fan page</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Background image using Twitter API</title>
		<link>http://ranacse05.wordpress.com/2010/03/28/change-background-image-using-twitter-api/</link>
		<comments>http://ranacse05.wordpress.com/2010/03/28/change-background-image-using-twitter-api/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 12:04:31 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[background change with api]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[cURL with twitter api]]></category>
		<category><![CDATA[php & curl]]></category>
		<category><![CDATA[twitter api]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=122</guid>
		<description><![CDATA[I was playing with the twitter API and i found that they allow to change the background image and color scheme using API . So i tried to change those using php. For this test i used the cURL and php . Here is the code Thats it. Have fun.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=122&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was playing with the twitter API and i found that they allow to change the background image and color scheme using API . So i tried to change those using php.</p>
<p>For this test i used the cURL and php . Here is the code</p>
<p><pre class="brush: php;">
&lt;?php

set_time_limit(0);
$twitterUser = $_REQUEST['username'] ;
$twitterPass = $_REQUEST['password'] ;

$link = &quot;http://twitter.com/account/update_profile_background_image.xml&quot;; // The URL to change the background image

$params = array(
			&quot;image&quot;=&gt;&quot;@$fullfilepath&quot;,
			&quot;tile&quot;=&gt; $tile);

//$fullfilepath is NOT the http:// path , this is the file location . Its like /home/tmp/test.jpg . But if you want to use any file from the web you need to make a copy of that file in the server then use that .

// Tile is boolean , if you want to set the background tile then this should be 'true' , it took few minutes of me because i tried with 1 , then true but it needs string true so that is 'true' or &quot;true&quot; . 


twitter($link,$params); // Make the call with the parameters 

function twitter($link,$params){
	global $twitterUser; // This is the username
	global $twitterPass; // Password of the user

	$curl = curl_init();
	curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
	curl_setopt($curl, CURLOPT_HTTPHEADER, array('Expect:')); // Without the header you'll get 100 Error
	curl_setopt($curl, CURLOPT_URL, $link);
	curl_setopt($curl, CURLOPT_POST, 1);
	curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
	curl_setopt($curl, CURLOPT_USERPWD, &quot;$twitterUser:$twitterPass&quot;);
	$resp = curl_exec($curl);
	curl_close($curl);
	
	return $resp;
	}
</pre></p>
<p>Thats it. Have fun. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=122&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2010/03/28/change-background-image-using-twitter-api/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Read mp3 tags with php</title>
		<link>http://ranacse05.wordpress.com/2010/03/15/read-mp3-tags-with-php/</link>
		<comments>http://ranacse05.wordpress.com/2010/03/15/read-mp3-tags-with-php/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 14:57:56 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mp3 tags]]></category>
		<category><![CDATA[read mp3 tags]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=117</guid>
		<description><![CDATA[I was working on music application , so i needed a script that can read the tags from the mp3 file . Tags holds all the necessary information about the mp3 file like the song,artists,year,genre etc Here is the script This code will show data like this song: If u were a sailboat artist: Katie [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=117&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was working on music application , so i needed a script that can read the tags from the mp3 file . Tags holds all the necessary information about the mp3 file like the song,artists,year,genre etc</p>
<p>Here is the script </p>
<p><pre class="brush: php;">
&lt;?php
     $mp3 = &quot;1.mp3&quot;; //The mp3 file.
 
     $filesize = filesize($mp3);
     $file = fopen(&quot;1.mp3&quot;, &quot;r&quot;);

     fseek($file, -128, SEEK_END); // It reads the 
     
     $tag = fread($file, 3);
     
     if($tag == &quot;TAG&quot;)
     {
         $data[&quot;song&quot;] = trim(fread($file, 30));
         $data[&quot;artist&quot;] = trim(fread($file, 30));
         $data[&quot;album&quot;] = trim(fread($file, 30));
         $data[&quot;year&quot;] = trim(fread($file, 4));
         $data[&quot;comment&quot;] = trim(fread($file, 30));
         $data[&quot;genre&quot;] = trim(fread($file, 1));
         
     }
     else
         die(&quot;MP3 file does not have any ID3 tag!&quot;);
     
     fclose($file);

     while(list($key, $value) = each($data))
     {
         print(&quot;$key: $value&lt;br&gt;\r\n&quot;);    
     }
 ?&gt;    
</pre></p>
<p>This code will show data like this</p>
<p>song: If u were a sailboat<br />
artist: Katie Melua<br />
album: Pictures<br />
year: 2007<br />
comment: sumon&#8217;s collection<br />
genre: ÿ</p>
<p>But to get the more information about the Genre we can add an array and change the code a bit.</p>
<p><pre class="brush: php;">

$genre = array(&quot;Blues&quot;,&quot;Classic Rock&quot;,&quot;Country&quot;,&quot;Dance&quot;,&quot;Disco&quot;,&quot;Funk&quot;,&quot;Grunge&quot;,
 &quot;Hip-Hop&quot;,&quot;Jazz&quot;,&quot;Metal&quot;,&quot;New Age&quot;,&quot;Oldies&quot;,&quot;Other&quot;,&quot;Pop&quot;,&quot;R&amp;B&quot;,
 &quot;Rap&quot;,&quot;Reggae&quot;,&quot;Rock&quot;,&quot;Techno&quot;,&quot;Industrial&quot;,&quot;Alternative&quot;,&quot;Ska&quot;,
 &quot;Death Metal&quot;,&quot;Pranks&quot;,&quot;Soundtrack&quot;,&quot;Euro-Techno&quot;,&quot;Ambient&quot;,
 &quot;Trip-Hop&quot;,&quot;Vocal&quot;,&quot;Jazz+Funk&quot;,&quot;Fusion&quot;,&quot;Trance&quot;,&quot;Classical&quot;,
 &quot;Instrumental&quot;,&quot;Acid&quot;,&quot;House&quot;,&quot;Game&quot;,&quot;Sound Clip&quot;,&quot;Gospel&quot;,
 &quot;Noise&quot;,&quot;AlternRock&quot;,&quot;Bass&quot;,&quot;Soul&quot;,&quot;Punk&quot;,&quot;Space&quot;,&quot;Meditative&quot;,
 &quot;Instrumental Pop&quot;,&quot;Instrumental Rock&quot;,&quot;Ethnic&quot;,&quot;Gothic&quot;,
 &quot;Darkwave&quot;,&quot;Techno-Industrial&quot;,&quot;Electronic&quot;,&quot;Pop-Folk&quot;,
 &quot;Eurodance&quot;,&quot;Dream&quot;,&quot;Southern Rock&quot;,&quot;Comedy&quot;,&quot;Cult&quot;,&quot;Gangsta&quot;,
 &quot;Top 40&quot;,&quot;Christian Rap&quot;,&quot;Pop/Funk&quot;,&quot;Jungle&quot;,&quot;Native American&quot;,
 &quot;Cabaret&quot;,&quot;New Wave&quot;,&quot;Psychadelic&quot;,&quot;Rave&quot;,&quot;Showtunes&quot;,&quot;Trailer&quot;,
 &quot;Lo-Fi&quot;,&quot;Tribal&quot;,&quot;Acid Punk&quot;,&quot;Acid Jazz&quot;,&quot;Polka&quot;,&quot;Retro&quot;,
 &quot;Musical&quot;,&quot;Rock &amp; Roll&quot;,&quot;Hard Rock&quot;,&quot;Folk&quot;,&quot;Folk-Rock&quot;,
 &quot;National Folk&quot;,&quot;Swing&quot;,&quot;Fast Fusion&quot;,&quot;Bebob&quot;,&quot;Latin&quot;,&quot;Revival&quot;,
 &quot;Celtic&quot;,&quot;Bluegrass&quot;,&quot;Avantgarde&quot;,&quot;Gothic Rock&quot;,&quot;Progressive Rock&quot;,
 &quot;Psychedelic Rock&quot;,&quot;Symphonic Rock&quot;,&quot;Slow Rock&quot;,&quot;Big Band&quot;,
 &quot;Chorus&quot;,&quot;Easy Listening&quot;,&quot;Acoustic&quot;,&quot;Humour&quot;,&quot;Speech&quot;,&quot;Chanson&quot;,
 &quot;Opera&quot;,&quot;Chamber Music&quot;,&quot;Sonata&quot;,&quot;Symphony&quot;,&quot;Booty Bass&quot;,&quot;Primus&quot;,
 &quot;Porn Groove&quot;,&quot;Satire&quot;,&quot;Slow Jam&quot;,&quot;Club&quot;,&quot;Tango&quot;,&quot;Samba&quot;,
 &quot;Folklore&quot;,&quot;Ballad&quot;,&quot;Power Ballad&quot;,&quot;Rhythmic Soul&quot;,&quot;Freestyle&quot;,
 &quot;Duet&quot;,&quot;Punk Rock&quot;,&quot;Drum Solo&quot;,&quot;Acapella&quot;,&quot;Euro-House&quot;,&quot;Dance Hall&quot;);

//Change the $data['genre'] inside the if tag
$data[&quot;genre&quot;] = $genre[ord(trim(fread($file, 1)))];

</pre></p>
<p>Nice hun ? Have fun .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=117&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2010/03/15/read-mp3-tags-with-php/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Change UI on Deactive</title>
		<link>http://ranacse05.wordpress.com/2010/01/13/change-ui-on-deactive/</link>
		<comments>http://ranacse05.wordpress.com/2010/01/13/change-ui-on-deactive/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 14:56:02 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[HTML AIR]]></category>
		<category><![CDATA[onActive]]></category>
		<category><![CDATA[onDeactive]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=110</guid>
		<description><![CDATA[I was working on Adobe AIR few days ago . Honesty i liked it very much . We needed a desktop app for our web application then we were worried about the various OS and languages , then suddenly i thought about AIR . So we did it using AIR , that makes it cross-platform [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=110&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was working on Adobe AIR few days ago . Honesty i liked it very much . We needed a desktop app for our web application then we were worried about the various OS and languages , then suddenly i thought about AIR . So we did it using AIR , that makes it cross-platform and easy to develop because we used HTML,CSS &amp; JS .</p>
<p>So i was thinking to make the UI fade if the app is not Active but the problem is when i tested the application i saw that after deactive the UI just become fade and after 2~3 seconds its fade effect gone again !</p>
<p>Here is the solution .</p>
<p>First we have to add a new addEventListener on boot . Suppose our function is onDeactive so it&#8217;ll be like </p>
<p><pre class="brush: plain;">
nativeWindow.addEventListener(air.Event.ACTIVATE, onActive);
nativeWindow.addEventListener(air.Event.DEACTIVATE, onDeactive); 
</pre></p>
<p>the onDeactive function is here<br />
<pre class="brush: plain;">
function onActive(){
			document.getElementById('BodyWarpper').style.opacity = 1;
		}

function onDeactive(){
		if(!window.nativeWindow.active)
			document.getElementById('BodyWarpper').style.opacity = 0.8;
		}
</pre></p>
<p>How its working ? Actually in AIR after every second the the EventListener called . So when we make the UI deactive it called the ondeactive function and set the opacity 0.8 but then again after 1 second it call the onDeactive and onActive and if we don&#8217;t use the checking </p>
<p><pre class="brush: plain;">
if(!window.nativeWindow.active)
</pre></p>
<p>It just make the UI opacity 1 again .</p>
<p>Have fun !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=110&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2010/01/13/change-ui-on-deactive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>After a long time &#8230;.</title>
		<link>http://ranacse05.wordpress.com/2009/11/25/after-a-long-time/</link>
		<comments>http://ranacse05.wordpress.com/2009/11/25/after-a-long-time/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 20:33:30 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=108</guid>
		<description><![CDATA[Hello guys . Its been a long time . Ok so what was i doing for this very long time ?? Here is a summery . I was doing freelancing for more then a year . So most of the time i was very very busy . In this time i worked with some nice [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=108&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello guys .<br />
Its been a long time . Ok so what was i doing for this very long time ??</p>
<p>Here is a summery .<br />
I was doing freelancing for more then a year . So most of the time i was very very busy .<br />
In this time i worked with some nice guys like William (from JumpFox) and Jeff (Noobis).</p>
<p>After few days i joined <a href="http://web3dtech.com">web3dtech.com</a> and worked there only 7 days .</p>
<p>And last 1st may i joined <a href="http://rightbrainsolution.com">RBS</a> and after 3 months i quit . </p>
<p>Then i joined <a href="http://leevio.com">Leevio</a> , i&#8217;m still working with Leevio and i loved it very much . So this time i&#8217;m gonna stay for a long long time .</p>
<p>And from now i&#8217;ll try to post a new problem and solution on every week .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=108&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2009/11/25/after-a-long-time/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Make timestamp more readable</title>
		<link>http://ranacse05.wordpress.com/2009/02/05/make-timestamp-more-readable/</link>
		<comments>http://ranacse05.wordpress.com/2009/02/05/make-timestamp-more-readable/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 13:11:46 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/2009/02/05/make-timestamp-more-readable/</guid>
		<description><![CDATA[Hello guys , this post for the newbie .Ofter we need to store the current time using mysql NOW() , but when later we want to print that we get 2009-02-05 19:02:49 . But using a single line we can make that like 05 Feb, 2009 . Handy code hun ?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=107&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello guys , this post for the newbie .Ofter we need to store the current time using mysql NOW() , but when later we want to print that we get 2009-02-05 19:02:49 .</p>
<p>But using a single line we can make that like 05 Feb, 2009 .</p>
<p><pre class="brush: php;">
&lt;?
	echo date(&quot;d M, Y&quot;,strtotime($date)); 
        // Here $date is the timestamp value from the database .
?&gt;
	
</pre></p>
<p>Handy code hun ?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=107&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2009/02/05/make-timestamp-more-readable/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Fixing position:fixed for IE</title>
		<link>http://ranacse05.wordpress.com/2008/12/14/fixing-positionfixed-for-ie/</link>
		<comments>http://ranacse05.wordpress.com/2008/12/14/fixing-positionfixed-for-ie/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 22:08:25 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[position:fixed]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=100</guid>
		<description><![CDATA[Today i was trying to code a fixed footer . It took very small time to code. And that works ok in FireFox but when i open that page in Internet Explorer it looks different . Here is the first code . Then i try to fix this problem . The code below works in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=100&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today i was trying to code a fixed footer . It took  very small time to code. And that works ok in <span style="color:#3366ff;"><strong>FireFox</strong></span> but when i open that page in <strong><span style="color:#3366ff;">Internet Explorer</span> </strong><span style="color:#000000;">it looks different . Here is the first code .</span><br />
<pre class="brush: xml;">
body {
margin:0px;
padding:0 0 0 0 ;
}
#footer{
height:50px;
width:100%;
position:fixed;
top:95%;
background:#efefef;
border:1px solid #ccc;
}

#main {
height:1200px;
background:#A8C5FF;
}

&lt;div id=”main”&gt;&lt;/div&gt;

&lt;div id=”c” align=”center”&gt;

&lt;div id=”footer”&gt;Its Fixed !&lt;/div&gt;

&lt;/div&gt;</pre><br />
Then i try to fix this problem . The code below works in IE and the FF fine .<br />
<pre class="brush: xml;">
&lt;!-- IE in quirks mode --&gt;
body{
margin:0;
padding:0 0 50px 0;
}
div#footer{
position:absolute;
bottom:0;
left:0;
width:100%;
height:30px;
}
#chat{
background:#efefef;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
width:800px;
height:100%;
padding:0px;
margin:0px;
}
@media screen{
body&amp;gt;div#footer{
position:fixed;
}
}
* html body{
overflow:hidden;
}
* html div#content{
height:100%;
overflow:auto;
}

&lt;div id=&quot;footer&quot; align=&quot;center&quot;&gt;

&lt;div id=&quot;chat&quot;&gt;

Content can be placed here......

&lt;/div&gt;

&lt;/div&gt;

&lt;div id=&quot;content&quot;&gt;

&lt;span style=&quot;height:1300px&quot;&gt;&lt;/span&gt;

&lt;/div&gt;
</pre><br />
Nice hun ? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=100&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2008/12/14/fixing-positionfixed-for-ie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Book Review : Learning PHP Data Objects</title>
		<link>http://ranacse05.wordpress.com/2008/10/27/book-review-learning-php-data-objects/</link>
		<comments>http://ranacse05.wordpress.com/2008/10/27/book-review-learning-php-data-objects/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 18:05:47 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[Book Review]]></category>
		<category><![CDATA[review of Learning PHP Data Objects]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=98</guid>
		<description><![CDATA[Learning PHP Data Objects, by Dennis Popel, is an introduction to PDO. I like this book. A real world example – Library management is here. Its very easy to read and understand. This book is very much useful to the beginner of PDO. Dennis Popel discusses details of the PDO , In the beginning you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=98&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.packtpub.com/Learning-PHP-Data-Objects-Open-Source/book">Learning PHP Data Objects, by Dennis Popel,</a> is an introduction to PDO. I like this book. A real world example – Library management is here. Its very easy to read and understand.</p>
<p>This book is very much useful to the beginner of PDO. Dennis Popel discusses details of the PDO , In the beginning you will see how to connect the database using Mysql, Sqlite ,PG sql and with the PDO .</p>
<p>Then he start to discuss the details of the PDO using that Library Management project . There are some useful function in the book .</p>
<p>One of the most important chapter of this book is <strong>Chapter 3 : Error Handling</strong><span style="font-size:13pt;"><span> </span></span>, in this chapter you will found every kind of errors and how to handle them .</p>
<p>Next chapters are on the <strong>Prepare Statement , and Handling Rowsets</strong> , These chapters has also some nice example to understand the PDO .</p>
<p>Chapter 6 and 7 is very important. They named <strong>Advance PDO Usage </strong>and <strong>An Advance Example</strong>. There are also a lots of nice real world examples. But the main thing is every chapter is very much readable . Any learner will find it very much easy to understand .</p>
<p>All the example of this book follows the MVC of PHP. But<span> </span>when I saw there is a chapter named Introduction to OOP in PHP I just amazed ! This will help you a lot if u don’t have any idea about the OOP of PHP.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=98&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2008/10/27/book-review-learning-php-data-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
		<item>
		<title>Ajax Im in Bangla</title>
		<link>http://ranacse05.wordpress.com/2008/09/08/ajax-im-in-bangla/</link>
		<comments>http://ranacse05.wordpress.com/2008/09/08/ajax-im-in-bangla/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 15:12:33 +0000</pubDate>
		<dc:creator>ranacse05</dc:creator>
				<category><![CDATA[Bangla computing]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[Web Developing]]></category>
		<category><![CDATA[ajaxim]]></category>
		<category><![CDATA[ajaxim localization]]></category>

		<guid isPermaLink="false">http://ranacse05.wordpress.com/?p=92</guid>
		<description><![CDATA[Hello every body I localized the AJAXIM chat software . Its an awesome software based on the AJAX .Very nice interface and very much use full.Lets see what the developer says ajax im (&#8220;asynchronous javascript and xml instant messenger&#8221;) is a browser-based instant messaging client. It uses AJAX to create a near real-time IM environment [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=92&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello every body<br />
I localized the AJAXIM chat software . Its an awesome software based on the AJAX .Very nice interface and very much use full.Lets see what the developer says</p>
<blockquote><p>ajax im (&#8220;asynchronous javascript and xml instant messenger&#8221;) is a browser-based instant messaging client. It uses AJAX to create a near real-time IM environment that can be used in conjunction with community, intranet, and social websites. No refreshing of the page is ever needed for this &#8220;web application&#8221; to work, as everything is updated in real-time via JavaScript.</p></blockquote>
<p>If you want to use the Bangle language pack just download it from <a title="Ajax IM Bangla" href="http://itsmywall.com/ajax_im_bangla.zip" target="_blank">AJAXIM Bangla</a> . Just download it and after unzip the folder just copy that english folder inside the AJAXIM folder.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ranacse05.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ranacse05.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ranacse05.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ranacse05.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ranacse05.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ranacse05.wordpress.com&amp;blog=1781316&amp;post=92&amp;subd=ranacse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ranacse05.wordpress.com/2008/09/08/ajax-im-in-bangla/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2fd6b19302ac599a95b9239f56b22f24?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">rana</media:title>
		</media:content>
	</item>
	</channel>
</rss>
