<?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>PHP Code Search</title>
	<atom:link href="http://phpcodesearch.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpcodesearch.wordpress.com</link>
	<description>php search script - php search engine - php sql search</description>
	<lastBuildDate>Tue, 07 Feb 2012 18:29:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phpcodesearch.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8aee665d2ea7915f96098458c5d99d06?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>PHP Code Search</title>
		<link>http://phpcodesearch.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phpcodesearch.wordpress.com/osd.xml" title="PHP Code Search" />
	<atom:link rel='hub' href='http://phpcodesearch.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Protected: Ramraj</title>
		<link>http://phpcodesearch.wordpress.com/2012/01/12/ramraj/</link>
		<comments>http://phpcodesearch.wordpress.com/2012/01/12/ramraj/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 00:08:17 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=304</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=304&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=304&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2012/01/12/ramraj/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>Questions</title>
		<link>http://phpcodesearch.wordpress.com/2012/01/09/questions/</link>
		<comments>http://phpcodesearch.wordpress.com/2012/01/09/questions/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 02:08:53 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=302</guid>
		<description><![CDATA[Drupal: 1. Features 1. Create / Update the pages easily with desired type of user defined content type like news, page, articles, etc 2. Easily combined the created pages with a common name using &#8220;Views&#8221; that have some filters, sorting our data 3. User, Roles and Permissions 4. SEO friendly URLs, meta data, title for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=302&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Drupal:<br />
1. Features<br />
1. Create / Update the pages easily with desired type of user defined content type like news, page, articles, etc<br />
2. Easily combined the created pages with a common name using &#8220;Views&#8221; that have some filters, sorting our data<br />
3. User, Roles and Permissions<br />
4. SEO friendly URLs, meta data, title for each conent<br />
5. Easily understandable Admin Panel<br />
6. Multi Language<br />
7. Flexible Theming<br />
8. Rich User Experience.<br />
9. Search<br />
10. Revision Control &#8211; Take a revision for each update and we can easily go back to old content<br />
11. Taxonomy &#8211; Powerful category system<br />
12. PHP Templates &#8211; Enabled PHP template to use our PHP code in our content.</p>
<p>2. How to enable clean url<br />
1. Drupal 7 &#8211; Admin -&gt; Configuration -&gt; Server &amp; Meta Data -&gt; Clean URLs. Check the checkbox and click the &#8220;Enable Clean URL&#8221; button.<br />
2. Drupal 6 &#8211; Admin -&gt; Configuration -&gt; Clean URLs. Choose the Enabled radio button and click the &#8220;Enable Clean URL&#8221; button.</p>
<p>3. Core Required Modules list<br />
block<br />
node<br />
filter<br />
user<br />
system</p>
<p>4. Patch<br />
Patches are pieces of code that solve an existing issue. In fact, patches describe the changes between a before and after state of either a module or core. By applying the patch the issue should no longer exist.</p>
<p>Patches are used to maintain control-ability over the entire Drupal project.</p>
<p>MySQL:<br />
1. MySQL Tables<br />
ISAM<br />
MyISAM<br />
InnoDB<br />
Merge Table<br />
Memory / Heap<br />
BDB [BerkleyDB]<br />
Blackhole</p>
<p>2. Diff between MyISAM &amp; InnoDB<br />
MyISAM<br />
Pros<br />
Fulltext search is currently only available with MyISAM tables<br />
Geometric datatypes<br />
Sometimes faster reads<br />
All numeric key values are stored with the high byte first to allow better index compression<br />
Internal handling of one AUTO_INCREMENT column per table is supported. MyISAM automatically updates this column for INSERT and UPDATE operations. This makes AUTO_INCREMENT columns faster (at least 10%)<br />
Cons<br />
Table (not row) level locking only<br />
No foreign keys contraints (but planned for MySQL 6.x)<br />
Slower table checking and restarts after power loss, an issue for those who need high availability<br />
InnoDB<br />
Pros<br />
Provides MySQL with a transaction-safe (ACID compliant) storage engine that has commit, rollback, and crash recovery capabilities<br />
XA transactions<br />
Foreign keys<br />
Row level locking<br />
Maintains its own buffer pool for caching data and indexes in main memory<br />
Faster for some workloads, particularly those where physical ordering by primary key helps or where the automatically built hash indexes speed up record lookups<br />
Tables can be of any size even on operating systems where file size is limited to 2GB.<br />
Fast and reliable recovery from power loss.<br />
Cons<br />
Data takes more space to store<br />
ACID guarantee requires full sync to disk at transaction commit, can be turned off where speed is more important than full ACID guarantees.<br />
Data Versioning and transactions add overhead to table management.<br />
They can lead to high memory requirements to manage large numbers of locks used in row locking.<br />
Indexes are slow to build when they&#8217;re added after a table has been created.Indexes should therefore be created when data is bulk-loaded.<br />
Overall, InnoDB should be used for with applications that rely highly on data integrity or need transactions, while MyISAM can be used where that is not required or where fulltext indexing is needed. Where speed is more important, both should be tried because which is faster depends on the application.</p>
<p>3. How to get the last autoincrement of table<br />
select auto_increment from information_schema.tables where table_name=&#8217;sample&#8217; and table_schema=database();</p>
<p>show table status like &#8216;sample&#8217;</p>
<p>4. Return 100 records from starting 25th<br />
select * from test limit 24,100</p>
<p>PHP:<br />
1. How to configure in Zend Engine -</p>
<p>HTML:<br />
1. DOC types<br />
HTML 4.01 Strict<br />
HTML 4.01 Transitional<br />
HTML 4.01 Frameset<br />
XHTML 1.0 Strict<br />
XHTML 1.0 Transitional<br />
XHTML 1.0 Frameset<br />
XHTML 1.1<br />
2. Define Head tag<br />
1. Head tag is used to provide the inforation about the HTML document.<br />
2. &#8220;title&#8221; tag is the required tag in the head section.<br />
3. base, meta, link, style, scirpt, noscript are the optional tags.<br />
4. We must use the head tag for only one time for one html document.<br />
5. We must start the head tag after the html tag and ends before the body tag.</p>
<p>CSS:<br />
1. Paragraph &#8211; Old brower Red, IE6 color, IE7 color, New browser colo<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
#test {<br />
font-weight:bold;<br />
font-size:14px;<br />
background-color:BlueViolet;/*IE 5 for PC only*/<br />
background-color:GreenYellow;//*IE8 only*/<br />
background-color:CornflowerBlue;<br />
background-color:orange;/*for chrome*/<br />
}<br />
@-moz-document url-prefix() {<br />
#test<br />
{<br />
background-color:Yellow;/*for mozillaFireFox*/<br />
}<br />
}<br />
*+html #test {<br />
background-color:Blue;/*ie7 only*/<br />
}<br />
* html #test {<br />
background-color:green;/*ie6 only*/<br />
}<br />
/* html #test:first-of-type {<br />
background-color:red;/*for opera*/<br />
} */<br />
&lt;/style&gt;<br />
&lt;p id=&#8217;test&#8217;&gt;Background Color Change in Differnt browser.&lt;/p&gt;</p>
<p>&lt;!&#8211;[if !IE6]&#8211;&gt;<br />
&lt;link href=&#8221;" rel=&#8221;sytlesheet&#8221; type=&#8221;text/css&#8221;&gt;<br />
&lt;![end if]&#8211;&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=302&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2012/01/09/questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL &#8211; Rearrange auto increment column values</title>
		<link>http://phpcodesearch.wordpress.com/2011/12/31/mysql-rearrange-auto-increment-column-values/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/12/31/mysql-rearrange-auto-increment-column-values/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 10:03:14 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[auto increment]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[primary key]]></category>
		<category><![CDATA[queries]]></category>
		<category><![CDATA[rearrange]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=299</guid>
		<description><![CDATA[In MySQL table have 10 rows with 1 to 10 as primary key value with auto-increment. We delete the fourth row in the table. I this situation, if we need to rearrange the auto-increment value that is 1 to 9 for already available rows, the following queries do this job: &#160; ALTER TABLE &#60;&#60;table&#62;&#62; DROP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=299&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In MySQL table have 10 rows with 1 to 10 as primary key value with auto-increment. We delete the fourth row in the table. I this situation, if we need to rearrange the auto-increment value that is 1 to 9 for already available rows, the following queries do this job:</p>
<p>&nbsp;</p>
<p><strong>ALTER TABLE &lt;&lt;table&gt;&gt; DROP &lt;&lt;column&gt;&gt;;</strong><br />
<strong>ALTER TABLE &lt;&lt;table&gt;&gt; AUTO_INCREMENT = 1;</strong><br />
<strong>ALTER TABLE &lt;&lt;table&gt;&gt; ADD &lt;&lt;column&gt;&gt; bigint UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=299&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/12/31/mysql-rearrange-auto-increment-column-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete all Duplicate Rows except for One in MySQL?</title>
		<link>http://phpcodesearch.wordpress.com/2011/12/31/delete-all-duplicate-rows-except-for-one-in-mysql/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/12/31/delete-all-duplicate-rows-except-for-one-in-mysql/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 09:54:13 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=291</guid>
		<description><![CDATA[For example: my table: &#8220;sample&#8221;, &#8220;empname&#8221; column contains duplicate values. I want to keep the first inserted rows and delete the duplicated values, the query is: DELETE t1 FROM sample t1, sample t2 WHERE t1.id &#62; t2.id AND t1.empname = t2.empname<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=291&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_03-dec-31-15-18.gif"><img class="alignnone size-full wp-image-293" title="ScreenHunter_03 Dec. 31 15.18" src="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_03-dec-31-15-18.gif?w=500" alt=""   /></a><a href="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_02-dec-31-15-16.gif"><img class="alignnone size-full wp-image-292" title="ScreenHunter_02 Dec. 31 15.16" src="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_02-dec-31-15-16.gif?w=500&#038;h=149" alt="" width="500" height="149" /></a></p>
<p><strong>For example: my table: &#8220;sample&#8221;, &#8220;empname&#8221; column contains duplicate values.<br />
</strong></p>
<p><a href="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_01-dec-31-15-16.gif"><img class="alignnone size-full wp-image-294" title="ScreenHunter_01 Dec. 31 15.16" src="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_01-dec-31-15-16.gif?w=500" alt=""   /></a></p>
<p><em><strong>I want to keep the first inserted rows and delete the duplicated values, the query is:</strong></em></p>
<h2><strong>DELETE t1 FROM sample t1, sample t2 WHERE t1.id &gt; t2.id AND t1.empname = t2.empname </strong></h2>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=291&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/12/31/delete-all-duplicate-rows-except-for-one-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>

		<media:content url="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_03-dec-31-15-18.gif" medium="image">
			<media:title type="html">ScreenHunter_03 Dec. 31 15.18</media:title>
		</media:content>

		<media:content url="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_02-dec-31-15-16.gif" medium="image">
			<media:title type="html">ScreenHunter_02 Dec. 31 15.16</media:title>
		</media:content>

		<media:content url="http://phpcodesearch.files.wordpress.com/2011/12/screenhunter_01-dec-31-15-16.gif" medium="image">
			<media:title type="html">ScreenHunter_01 Dec. 31 15.16</media:title>
		</media:content>
	</item>
		<item>
		<title>KRDS</title>
		<link>http://phpcodesearch.wordpress.com/2011/12/28/krds/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/12/28/krds/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 08:49:34 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=288</guid>
		<description><![CDATA[Which function does return the number of seconds elapsed since the 1st January 1970? What will be displayed in the following case: - No content has been previously sent to the client - You decide to use in your script the PHP header() function to send a 404 error code - You write exit(); just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=288&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Which function does return the number of seconds elapsed since the 1st January 1970?</p>
<p>What will be displayed in the following case:</p>
<p>- No content has been previously sent to the client<br />
- You decide to use in your script the PHP header() function to send a 404 error code<br />
- You write exit(); just after this function.</p>
<p>* A blank page with &#8220;HTTP/1.1 404 Not Found&#8221;<br />
* A PHP error<br />
* A blank page<br />
* The normal page<br />
* A customized error page</p>
<p>What is the effect of the &#8220;return&#8221; instruction when used in a included PHP script?</p>
<p>* Return to the parent script while ignoring the rest of the included file<br />
* A PHP error<br />
* The script stops (same as exit());<br />
* Nothing, it is ignored<br />
* It depends if the file is included with include() or require()</p>
<p>Assuming that the client browser is never restarted, how long after the last access will a session &#8220;expire&#8221; and be subject to garbage collection?</p>
<p>* After exactly 1,440 seconds<br />
ans * After the number of seconds specified in the session.gc_maxlifetime INI setting<br />
* It will never expire unless it is manually deleted<br />
* It will only expire when the browser is restarted<br />
* None of the above</p>
<p>http://phponweb.wordpress.com/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=288&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/12/28/krds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>EDL2Excel</title>
		<link>http://phpcodesearch.wordpress.com/2011/11/17/edl2excel/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/11/17/edl2excel/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 13:55:55 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=282</guid>
		<description><![CDATA[http://phpcodesearch.files.wordpress.com/2011/11/edl2excel.doc<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=282&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://phpcodesearch.files.wordpress.com/2011/11/edl2excel.doc</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=282&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/11/17/edl2excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>stdClass: Storing Data in an Object Instead of an Array</title>
		<link>http://phpcodesearch.wordpress.com/2011/11/17/stdclass-storing-data-in-an-object-instead-of-an-array/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/11/17/stdclass-storing-data-in-an-object-instead-of-an-array/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 12:46:23 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[PHP Array]]></category>
		<category><![CDATA[PHP Object]]></category>
		<category><![CDATA[PHP stdClass]]></category>
		<category><![CDATA[stdClass]]></category>
		<category><![CDATA[stdClass Object]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=280</guid>
		<description><![CDATA[Create new object: $phone = new stdClass; $phone-&#62;id = &#8220;10&#8243;; $phone-&#62;title = &#8220;Nokia 5800&#8243;; $phone-&#62;make = &#8220;Nokia&#8221;; Create new object from array: $phone = array( &#8220;id&#8221; =&#62; &#8220;10&#8243;, &#8220;title&#8221; =&#62; &#8220;Nokia 5800&#8243;, &#8220;make&#8221; =&#62; &#8220;Nokia&#8221; ); $phone = (object)$phone;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=280&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Create new object:</strong></p>
<blockquote><p>$phone = new stdClass;<br />
$phone-&gt;id = &#8220;10&#8243;;<br />
$phone-&gt;title = &#8220;Nokia 5800&#8243;;<br />
$phone-&gt;make = &#8220;Nokia&#8221;;</p></blockquote>
<p><strong>Create new object from array:</strong></p>
<blockquote><p>$phone = array(<br />
&#8220;id&#8221; =&gt; &#8220;10&#8243;,<br />
&#8220;title&#8221; =&gt; &#8220;Nokia 5800&#8243;,<br />
&#8220;make&#8221; =&gt; &#8220;Nokia&#8221;<br />
);<br />
$phone = (object)$phone;</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/280/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=280&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/11/17/stdclass-storing-data-in-an-object-instead-of-an-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP &#8211; Get current URL with querystring values</title>
		<link>http://phpcodesearch.wordpress.com/2011/11/16/php-get-current-url-with-querystring-values/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/11/16/php-get-current-url-with-querystring-values/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 11:05:57 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Querystring]]></category>
		<category><![CDATA[current page]]></category>
		<category><![CDATA[get current page]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=275</guid>
		<description><![CDATA[function getCurrentURL() { $protocol = &#8220;http&#8221;; if($_SERVER["SERVER_PORT"]==443 &#124;&#124; (!empty($_SERVER["HTTPS"]) &#38;&#38; $_SERVER["HTTPS"]==&#8221;on&#8221;)) { $protocol .= &#8220;s&#8221;; $protocol_port = $_SERVER["SERVER_PORT"]; } else { $protocol_port = 80; } $host = $_SERVER["HTTP_HOST"]; $port = $_SERVER["SERVER_PORT"]; $request_path = $_SERVER["PHP_SELF"]; $querystr = $_SERVER["QUERY_STRING"]; $url = $protocol.&#8221;://&#8221;.$host.(($port!=$protcol_port &#38;&#38; strpos($host,&#8221;:&#8221;)==-1)?&#8221;:&#8221;.$port:&#8221;").$request_path.(empty($querystr)?&#8221;":&#8221;?&#8221;.$querystr); return $url; } echo &#8220;Path: &#8220;.getCurrentURL();<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=275&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>function getCurrentURL() {<br />
	$protocol = &#8220;http&#8221;;<br />
	if($_SERVER["SERVER_PORT"]==443 || (!empty($_SERVER["HTTPS"]) &amp;&amp; $_SERVER["HTTPS"]==&#8221;on&#8221;)) {<br />
		$protocol .= &#8220;s&#8221;;<br />
		$protocol_port = $_SERVER["SERVER_PORT"];<br />
	} else {<br />
		$protocol_port = 80;<br />
	}<br />
	$host = $_SERVER["HTTP_HOST"];<br />
	$port = $_SERVER["SERVER_PORT"];<br />
	$request_path = $_SERVER["PHP_SELF"];<br />
	$querystr = $_SERVER["QUERY_STRING"];<br />
	$url = $protocol.&#8221;://&#8221;.$host.(($port!=$protcol_port &amp;&amp; strpos($host,&#8221;:&#8221;)==-1)?&#8221;:&#8221;.$port:&#8221;").$request_path.(empty($querystr)?&#8221;":&#8221;?&#8221;.$querystr);<br />
	return $url;<br />
}
</p></blockquote>
<p>echo &#8220;Path: &#8220;.getCurrentURL();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=275&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/11/16/php-get-current-url-with-querystring-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>Skype / Xampp Port Conflict &#8211; How to overcome the problem</title>
		<link>http://phpcodesearch.wordpress.com/2011/08/31/skype-xampp-port-conflic/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/08/31/skype-xampp-port-conflic/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 01:48:37 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[Xampp]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=249</guid>
		<description><![CDATA[XAMPP is a software package which installs a copy of the Apache Server, Mysql, PHP and Perl onto a Windows computer and allows for local development of PHP and Mysql scripts without the need for uploading onto your Hosting account to test for errors, etc. A really simple to install set of softwares for those [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=249&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XAMPP is a software package which installs a copy of the Apache Server, Mysql, PHP and Perl onto a Windows computer and allows for local development of PHP and Mysql scripts without the need for uploading onto your Hosting account to test for errors, etc. A really simple to install set of softwares for those who need it. The manual install of all of these softwares can be difficult, but the Installer supplied by XAMPP reduces the difficulty factor down to a single download and essentially a one-click install.</p>
<p>SKYPE is a software which allows using the Internet to make phone calls and also offers a Chat service within the same software package. Works well. For a small fee, you can also have Skype become your phone provider, somehow, I am not exactly certain how it all works but apparently it is cheaper than a land line and works for cell phones, too.</p>
<p>Now, the purpose of this Tutorial is to explain that I have had XAMPP installed for a couple of months now, and have never had any problems with it that weren&#8217;t my own doing, sort of. Like when you delete a folder and those scripts won&#8217;t run any more isn&#8217;t really a software issue, is it.</p>
<p>Recently, I have not been able to use the Apache Server on my machine and have been perplexed by why it didn&#8217;t work. I un-installed, downloaded a new version, re-installed, etc, several times, but nope, no go&#8230; Today it became an absolute neccessity that I test a script so I really needed the Xampp to be properly functioning, so away I go to the Google thing and try to find the problem.</p>
<p>Well&#8230; I have only had Skype for a couple of weeks now, and it works terrific, BUT, by searching out this problem, I discovered that Skype uses PORT 80 on the Computer as a secondary PORT for communicating with the Main Server. Guess which PORT Apache uses??? Right, PORT 80&#8230; CONFLICT&#8230;</p>
<p>The fix is as simple as firing up Skype, selecting TOOLS &gt; OPTIONS &gt; Connections and un-checking the use of PORT 80 as an alternative port for incoming calls. Then close and re-open Skype. Simple, easy and quick.<br />
So save yourself a bunch of headaches and if you have an Apache Server installed and also want Skype to run along side it, this is the fix&#8230;</p>
<p>Thanks to <a href="http://www.knowledgesutra.com/forums/topic/47591-skype-xampp-port-conflict/" target="_blank">http://www.knowledgesutra.com/forums/topic/47591-skype-xampp-port-conflict/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=249&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/08/31/skype-xampp-port-conflic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
		<item>
		<title>Access Apace folder with Virtual directory port</title>
		<link>http://phpcodesearch.wordpress.com/2011/08/30/access-apace-folder-with-virtual-directory-port/</link>
		<comments>http://phpcodesearch.wordpress.com/2011/08/30/access-apace-folder-with-virtual-directory-port/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 06:10:23 +0000</pubDate>
		<dc:creator>selvam4win</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[Virutal directory]]></category>

		<guid isPermaLink="false">http://phpcodesearch.wordpress.com/?p=242</guid>
		<description><![CDATA[1. Open the &#8220;httpd.conf&#8221; file 2. Add the below code at the end of file. Listen 82 &#60;VirtualHost localhost:82&#62; DocumentRoot C:/xampp/htdocs/test &#60;Directory &#8220;C:/xampp/htdocs/test&#8221;&#62; allow from all Options +Indexes FollowSymLinks +ExecCGI &#60;/Directory&#62; &#60;/VirtualHost&#62; 3. Save the file and restart the Apache and enjoy with port. 4. Output is: http://localhost/test/ or http://localhost:82 In the above ex: Port: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=242&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Open the &#8220;httpd.conf&#8221; file<br />
2. Add the below code at the end of file.</p>
<blockquote><p>Listen 82<br />
&lt;VirtualHost localhost:82&gt;<br />
DocumentRoot C:/xampp/htdocs/test<br />
&lt;Directory &#8220;C:/xampp/htdocs/test&#8221;&gt;<br />
allow from all<br />
Options +Indexes FollowSymLinks +ExecCGI<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>3. Save the file and restart the Apache and enjoy with port.</p>
<p>4. Output is:<br />
http://localhost/test/ or http://localhost:82</p>
<p>In the above ex:</p>
<p>Port: 82<br />
Virtural host: Localhost with 82 port. We can map any port number above the 80. Ex: localhost:85 [or] 127.0.0.1:85 [or] 192.150.0.12:85<br />
Document root: where the port need to map. In the above example, we mapped the &#8220;C:/xampp/htdocs/test&#8221;. We also map the linux directory as &#8220;/var/www/html/test&#8221;.<br />
Directory: same as Document root</p>
<p><strong>httpd.conf path:</strong></p>
<p>XAMPP: C:\xampp\apache\conf\httpd.conf<br />
Fedora linux: /etc/httpd/conf/httpd.conf<br />
WAMP: c:\wamp\Apache2\conf\httpd.conf</p>
<p>WAMP user please refer this link: <a href="http://www.dennisplucinik.com/blog/2007/08/16/setting-up-multiple-virtual-hosts-in-wamp/" target="_blank">http://www.dennisplucinik.com/blog/2007/08/16/setting-up-multiple-virtual-hosts-in-wamp/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpcodesearch.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpcodesearch.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpcodesearch.wordpress.com/242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpcodesearch.wordpress.com&amp;blog=11322601&amp;post=242&amp;subd=phpcodesearch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpcodesearch.wordpress.com/2011/08/30/access-apace-folder-with-virtual-directory-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>12.969113 80.137758</georss:point>
		<geo:lat>12.969113</geo:lat>
		<geo:long>80.137758</geo:long>
		<media:content url="http://0.gravatar.com/avatar/056d5cf7b246e3756b14bd69ca21145f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selvam4win</media:title>
		</media:content>
	</item>
	</channel>
</rss>
