<?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/"
	>

<channel>
	<title>Programming blog - website programming blog, blog on website programming .net, java , php and mor</title>
	<atom:link href="http://www.searchenginegenie.com/programming-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.searchenginegenie.com/programming-blog</link>
	<description></description>
	<lastBuildDate>Fri, 05 Aug 2011 10:43:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Code to get Title and Link in WordPress RSS Feed</title>
		<link>http://www.searchenginegenie.com/programming-blog/code-to-get-title-and-link-in-wordpress-rss-feed/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/code-to-get-title-and-link-in-wordpress-rss-feed/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 10:41:08 +0000</pubDate>
		<dc:creator>Camilla</dc:creator>
				<category><![CDATA[PHP Scripts]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[PHP code for Rss Feed]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=389</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/code-to-get-title-and-link-in-wordpress-rss-feed/"></g:plusone></div>
&#60;?php $con = file_get_contents(&#8216;http://www.xxxxxx.com/blog/feed/&#8217;);/* Feed Url */ $title = getlinks(&#8220;&#60;title&#62;&#8221;, &#8220;&#60;/title&#62;&#8221;, $con); // gets Title and stored in array $url = getlinks(&#8220;&#60;link&#62;&#8221;, &#8220;&#60;/link&#62;&#8221;, $con); // gets Url and stored in array echo &#8220;&#60;ul&#62;&#8221;; for($i=0; $i &#60; 6; $i++) { echo &#8216;&#60;li&#62;&#60;a href=&#8221;&#8216;.$url[$i].&#8217;&#8221; title=&#8221;&#8216;.$title[$i].&#8217;&#8221; &#62;&#8217;.urldecode($title[$i]).&#8217;&#60;/a&#62;&#60;/li&#62;&#8217;; } echo &#8220;&#60;/ul&#62;&#8221;; function getlinks($s1,$s2,$s) { $myarray=array(); $s1 = strtolower($s1); $s2 [...]]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/code-to-get-title-and-link-in-wordpress-rss-feed/"></g:plusone></div>
<p style="text-align: left;">&lt;?php</p>
<p style="text-align: left; padding-left: 30px;">$con = file_get_contents(&#8216;http://www.xxxxxx.com/blog/feed/&#8217;);/* Feed Url */<br />
$title = getlinks(&#8220;&lt;title&gt;&#8221;, &#8220;&lt;/title&gt;&#8221;, $con); // gets Title and stored in array<br />
$url = getlinks(&#8220;&lt;link&gt;&#8221;, &#8220;&lt;/link&gt;&#8221;, $con); // gets Url and stored in array</p>
<p style="padding-left: 60px;">echo &#8220;&lt;ul&gt;&#8221;;<br />
for($i=0; $i &lt; 6; $i++)<br />
{<br />
echo &#8216;&lt;li&gt;&lt;a href=&#8221;&#8216;.$url[$i].&#8217;&#8221; title=&#8221;&#8216;.$title[$i].&#8217;&#8221; &gt;&#8217;.urldecode($title[$i]).&#8217;&lt;/a&gt;&lt;/li&gt;&#8217;;<br />
}<br />
echo &#8220;&lt;/ul&gt;&#8221;;</p>
<p style="padding-left: 30px;">function getlinks($s1,$s2,$s)<br />
{<br />
$myarray=array();<br />
$s1 = strtolower($s1);<br />
$s2 = strtolower($s2);<br />
$L1 = strlen($s1);<br />
$L2 = strlen($s2);<br />
$scheck=strtolower($s);</p>
<p style="padding-left: 30px;">do<br />
{<br />
$pos1 = strpos($scheck,$s1);<br />
if($pos1!==false)<br />
{<br />
$pos2 = strpos(substr($scheck,$pos1+$L1),$s2);<br />
if($pos2!==false)<br />
{<br />
$myarray[]=substr($s,$pos1+$L1,$pos2);<br />
$s=substr($s,$pos1+$L1+$pos2+$L2);<br />
$scheck=strtolower($s);<br />
}<br />
}<br />
}<br />
while (($pos1!==false)and($pos2!==false));<br />
return $myarray;<br />
}</p>
<p>?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/code-to-get-title-and-link-in-wordpress-rss-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Link Boxes in CSS</title>
		<link>http://www.searchenginegenie.com/programming-blog/creating-link-boxes-in-css/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/creating-link-boxes-in-css/#comments</comments>
		<pubDate>Sat, 11 Sep 2010 06:08:42 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Style Sheet Designs]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=384</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/creating-link-boxes-in-css/"></g:plusone></div>
&#60;html&#62; &#60;head&#62; &#60;style type=&#8221;text/css&#8221;&#62; a:link,a:visited //Styles to be applied in link Box { display:block; font-weight:bold; color:#FFFFFF; background-color:#98bf21; width:120px; text-align:center; padding:4px; text-decoration:none; } a:hover,a:active { background-color:#7A991A; } &#60;/style&#62; &#60;/head&#62; &#60;body&#62; &#60;a href=&#8221;default.asp&#8221; target=&#8221;_blank&#8221;&#62;This is a link&#60;/a&#62; &#60;/body&#62; &#60;/html&#62; Output: The link box will be created with the Specified Styles.]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/creating-link-boxes-in-css/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
a:link,a:visited<br />
//Styles to be applied in link Box</p>
<p>{<br />
display:block;<br />
font-weight:bold;<br />
color:#FFFFFF;<br />
background-color:#98bf21;<br />
width:120px;<br />
text-align:center;<br />
padding:4px;<br />
text-decoration:none;<br />
}<br />
a:hover,a:active<br />
{<br />
background-color:#7A991A;<br />
}<br />
&lt;/style&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;a href=&#8221;default.asp&#8221; target=&#8221;_blank&#8221;&gt;This is a link&lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Output:</p>
<p>The link box will be created with the Specified Styles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/creating-link-boxes-in-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>To set an Background Image and repeat the image Horizontally by using CSS</title>
		<link>http://www.searchenginegenie.com/programming-blog/to-set-an-background-image-and-repeat-in-horizontally-in-css/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/to-set-an-background-image-and-repeat-in-horizontally-in-css/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 09:57:30 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Style Sheet Designs]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=377</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/to-set-an-background-image-and-repeat-in-horizontally-in-css/"></g:plusone></div>
&#60;html&#62; &#60;head&#62; &#60;style type=&#8221;text/css&#8221;&#62; body { background-image:urlC:\Users\systemuser\Pictures\flower.jpg&#8217;); background-repeat:repeat-x; } &#60;/style&#62; &#60;/head&#62; &#60;body&#62; &#60;h1&#62;Hai Friends!!&#60;/h1&#62; &#60;/body&#62; &#60;/html&#62; Output: The image in the given URL will be set as the Background  with the Text &#8220;Hai Friends!!&#8221;.]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/to-set-an-background-image-and-repeat-in-horizontally-in-css/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body<br />
{<br />
background-image:urlC:\Users\systemuser\Pictures\flower.jpg&#8217;);<br />
background-repeat:repeat-x;<br />
}<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;Hai Friends!!&lt;/h1&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Output:</p>
<p>The image in the given URL will be set as the Background  with the Text &#8220;Hai Friends!!&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/to-set-an-background-image-and-repeat-in-horizontally-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>External css</title>
		<link>http://www.searchenginegenie.com/programming-blog/external-css/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/external-css/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 13:51:12 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Style Sheet Designs]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=369</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/external-css/"></g:plusone></div>
Steps: 1:Create new html file and copy link.html code and save it as link.html. 2.Create  new css file and copy external.css code and save it as external.css. 3.link.html will connect css externally. 4.Run link.html to get output. link.html: &#60;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&#62; &#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&#62; &#60;head&#62; &#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;external.css&#8221; /&#62; &#60;meta [...]]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/external-css/"></g:plusone></div>
<p><span style="text-decoration: underline;">Steps:</span></p>
<p><strong>1:Create new html file and copy link.html code and save it as </strong><strong> link.html</strong><strong>.</strong></p>
<p><strong>2.Create  new css file and copy external.css code and save it as </strong><strong>external.css</strong><strong>.</strong></p>
<p><strong>3.link.html will connect css externally.<br />
</strong></p>
<p><strong>4.Run link.html to get output.<br />
</strong></p>
<p><span style="text-decoration: underline;">link.html:</span></p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;external.css&#8221; /&gt;</p>
<p>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;</p>
<p>&lt;title&gt;CSS&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;h3 align=&#8221;center&#8221;&gt;External css&lt;/h3&gt;</p>
<p>&lt;p&gt;This page uses external CSS.&lt;/p&gt;</p>
<p>&lt;p&gt;p.first class code&lt;/p&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p>﻿</p>
<p><span style="text-decoration: underline;">external.css:</span></p>
<p>body{ background-color:#00CCCC;}</p>
<p>p { color:#FFFFFF;</p>
<p>}</p>
<p>h3{ color:#000000;</p>
<p>text-decoration:underline;</p>
<p>text-transform:uppercase;</p>
<p>}</p>
<p>p.first{</p>
<p>color:#33FFCC;</p>
<p>}</p>
<p><span style="text-decoration: underline;">output:</span></p>
<p style="text-align: center;"><span style="text-decoration: underline;"><strong>External css</strong></span></p>
<p>This page uses external CSS.</p>
<p class="first">p.first class code</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/external-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explode function in php</title>
		<link>http://www.searchenginegenie.com/programming-blog/explode-function-in-php/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/explode-function-in-php/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:46:00 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php explode command]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=365</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/explode-function-in-php/"></g:plusone></div>
How to split a name using explode function? 1. Get the name in a variable 2. Specify the position from which you need to split the name. 3. If you need to split the name after an underscore, use &#8220;_&#8221;. 4. If you need to split the name after @, use &#8220;@&#8221;. &#60;?php $name  = [...]]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/explode-function-in-php/"></g:plusone></div>
<p>How to split a name using explode function?<br />
1. Get the name in a variable<br />
2. Specify the position from which you need to split the name.<br />
3.  If you need to split the name after an underscore, use &#8220;_&#8221;.<br />
4. If you need to split the name after @, use &#8220;@&#8221;.</p>
<p>&lt;?php</p>
<p>$name  = &#8220;john_abraham@gmail.com&#8221;;<br />
$pieces = explode(&#8220;_&#8221;, $name);<br />
echo &#8220;firstname = $pieces[0]&#8220;.&#8221;&lt;br /&gt;&#8221;;</p>
<p>$pieces = explode(&#8220;@&#8221;, $name);<br />
echo &#8220;username = $pieces[0]&#8220;;</p>
<p>?&gt;</p>
<p>Output will be displayed as:<br />
firstname = john<br />
username = john_abraham</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/explode-function-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IF Statement In PHP</title>
		<link>http://www.searchenginegenie.com/programming-blog/if-statement-in-php/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/if-statement-in-php/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 06:11:05 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Basic PHP]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=361</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/if-statement-in-php/"></g:plusone></div>
&#60;html&#62; &#60;head&#62; &#60;title&#62;IF statements in PHP.&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;?php $name = &#8220;Rose&#8221;; if ( $name == &#8220;Rose&#8221; ) echo &#8220;Your name is Rose!&#60;br /&#62;&#8221;; else echo &#8220;Welcome to my homepage!&#8221;; ?&#62; &#60;/body&#62; &#60;/html&#62; Output: If the Given input is Rose,the output will be Your name is Rose! Else Welcome to my homepage!]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/if-statement-in-php/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;IF statements in PHP.&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;</p>
<p>&lt;?php</p>
<p>$name = &#8220;Rose&#8221;;</p>
<p>if ( $name == &#8220;Rose&#8221; )</p>
<p>echo &#8220;Your name is Rose!&lt;br /&gt;&#8221;;</p>
<p>else</p>
<p>echo &#8220;Welcome to my homepage!&#8221;;<br />
?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Output:</p>
<p>If the Given input is Rose,the output will be</p>
<p>Your name is Rose!</p>
<p>Else</p>
<p>Welcome to my homepage!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/if-statement-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Switch Case in Java Script</title>
		<link>http://www.searchenginegenie.com/programming-blog/switch-case-in-java-script/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/switch-case-in-java-script/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 07:25:26 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=357</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/switch-case-in-java-script/"></g:plusone></div>
&#60;html&#62; &#60;body&#62; &#60;head&#62; &#60;title&#62;Switch Case &#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var d = new Date(); theDay=d.getDay(); switch (theDay) { case 5: document.write(&#8220;&#60;b&#62;Finally Friday&#60;/b&#62;&#8221;); break; case 6: document.write(&#8220;&#60;b&#62;Super Saturday&#60;/b&#62;&#8221;); break; case 0: document.write(&#8220;&#60;b&#62;Sleepy Sunday&#60;/b&#62;&#8221;); break; default: document.write(&#8220;&#60;b&#62;I&#8217;m really looking forward to this weekend!&#60;/b&#62;&#8221;); } &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; /*This JavaScript will generate a different greeting based on [...]]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/switch-case-in-java-script/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Switch Case &lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var d = new Date();<br />
theDay=d.getDay();<br />
switch (theDay)<br />
{<br />
case 5:<br />
document.write(&#8220;&lt;b&gt;Finally Friday&lt;/b&gt;&#8221;);<br />
break;<br />
case 6:<br />
document.write(&#8220;&lt;b&gt;Super Saturday&lt;/b&gt;&#8221;);<br />
break;<br />
case 0:<br />
document.write(&#8220;&lt;b&gt;Sleepy Sunday&lt;/b&gt;&#8221;);<br />
break;<br />
default:<br />
document.write(&#8220;&lt;b&gt;I&#8217;m really looking forward to this weekend!&lt;/b&gt;&#8221;);<br />
}<br />
&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>/*This JavaScript will generate a different greeting based on what day it is. Note that Sunday=0, Monday=1, Tuesday=2, etc.*/</p>
<p>Output:</p>
<p><strong>I&#8217;m really looking forward to this weekend!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/switch-case-in-java-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Script for Mouse Events</title>
		<link>http://www.searchenginegenie.com/programming-blog/java-script-for-mouse-events/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/java-script-for-mouse-events/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 06:41:49 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=354</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/java-script-for-mouse-events/"></g:plusone></div>
&#60;html&#62; &#60;head&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; function mouseOver() { document.getElementById(&#8220;b1&#8243;).src =&#8221;b_blue.gif&#8221;; } function mouseOut() { document.getElementById(&#8220;b1&#8243;).src =&#8221;b_pink.gif&#8221;; } &#60;/script&#62; &#60;/head&#62; &#60;body&#62; &#60;img border=&#8221;0&#8243;   src=&#8221;E:\pictures\baby.jpg&#8221; id=&#8221;b1&#8243; onmouseover=&#8221;mouseOver()&#8221; onmouseout=&#8221;mouseOut()&#8221; /&#62;&#60;/a&#62; &#60;/body&#62; &#60;/html&#62; output: The function mouseOver() causes the image to shift to &#8220;b_blue.gif&#8221;. The function mouseOut() causes the image to shift to &#8220;b_pink.gif&#8221;.]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/java-script-for-mouse-events/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function mouseOver()<br />
{<br />
document.getElementById(&#8220;b1&#8243;).src =&#8221;b_blue.gif&#8221;;<br />
}<br />
function mouseOut()<br />
{<br />
document.getElementById(&#8220;b1&#8243;).src =&#8221;b_pink.gif&#8221;;<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;img border=&#8221;0&#8243;   src=&#8221;E:\pictures\baby.jpg&#8221;  id=&#8221;b1&#8243;<br />
onmouseover=&#8221;mouseOver()&#8221; onmouseout=&#8221;mouseOut()&#8221; /&gt;&lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>output:</p>
<p>The function mouseOver() causes the image to shift to &#8220;b_blue.gif&#8221;.</p>
<p>The function mouseOut() causes the image to shift to &#8220;b_pink.gif&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/java-script-for-mouse-events/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>To upload a file using php</title>
		<link>http://www.searchenginegenie.com/programming-blog/to-upload-a-file-using-php/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/to-upload-a-file-using-php/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 05:07:11 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[PHP Code]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=350</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/to-upload-a-file-using-php/"></g:plusone></div>
Steps: 1. Create new html file and copy upload.html code and save it as upload.html. 2. Create new php file and copy uploader.php code and save it as uploader.php. 3. Run upload.html, then it will display the html data. 4. Click browse button and select any file or image and press upload button. 5. Then [...]]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/to-upload-a-file-using-php/"></g:plusone></div>
<p><strong>Steps:</strong></p>
<p><strong>1. Create new html file and copy upload.html code and save it as upload.html.</strong></p>
<p><strong>2. Create new php file and copy uploader.php code and save it as uploader.php.</strong></p>
<p><strong>3. Run upload.html, then it will display the html data.</strong></p>
<p><strong>4. Click browse button and select any file or image and press upload button.</strong></p>
<p><strong>5. Then it will transfer that specific file or image to the created folder and display the output as file is uploaded.</strong></p>
<p><strong>upload.html:</strong></p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;upload&lt;/title&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;form enctype=&#8221;multipart/form-data&#8221; method=&#8221;post&#8221; action=&#8221;uploader.php&#8221;&gt;<br />
&lt;input type=&#8221;file&#8221; name=&#8221;file&#8221; /&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;upload&#8221; /&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>It displays the output as:</p>
<form action="uploader.php" enctype="multipart/form-data" method="post">
<input name="file" type="file" />
<input name="submit" type="submit" value="upload" /></form>
<form action="uploader.php" enctype="multipart/form-data" method="post"><strong>uploader.php</strong></form>
<form action="uploader.php" enctype="multipart/form-data" method="post">&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;?php<br />
if(isset($_REQUEST['submit']))<br />
{<br />
$to=&#8221;uploaded/&#8221;.$_FILES['file']['name'];<br />
move_uploaded_file($_FILES['file']['tmp_name'],$to);<br />
echo &#8220;file is uploaded&#8221;;</p>
<p>}<br />
?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>//create a new folder uploaded</p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/to-upload-a-file-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Program to insert Background Image</title>
		<link>http://www.searchenginegenie.com/programming-blog/program-to-insert-background-image/</link>
		<comments>http://www.searchenginegenie.com/programming-blog/program-to-insert-background-image/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 06:15:22 +0000</pubDate>
		<dc:creator>programming_genies</dc:creator>
				<category><![CDATA[Style Sheet Designs]]></category>

		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=346</guid>
		<description><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/program-to-insert-background-image/"></g:plusone></div>
&#60;html&#62; &#60;head&#62; &#60;style type=&#8221;text/css&#8221;&#62; body {background-image:url(&#8216;systeuser/desktop/bc.jpg&#8217;);}/*inserting background image*/ &#60;/style&#62; &#60;/head&#62; &#60;body&#62; &#60;h1&#62;Hello!&#60;/h1&#62; &#60;/body&#62; &#60;/html&#62; output: Hello! (If u run this code in Internet Explorer,the background image will be displayed with &#8220;Hello!&#8221; Message).]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:right;margin-left:1em"><g:plusone href="http://www.searchenginegenie.com/programming-blog/program-to-insert-background-image/"></g:plusone></div>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body {background-image:url(&#8216;systeuser/desktop/bc.jpg&#8217;);}/*inserting background image*/<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;Hello!&lt;/h1&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>output:</p>
<p>Hello!</p>
<p>(If u run this code in Internet Explorer,the background image will be displayed with &#8220;Hello!&#8221; Message).</p>
<p><!-- body {background-image:url('systeuser/desktop/bc.jpg');} --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.searchenginegenie.com/programming-blog/program-to-insert-background-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

