<?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>Web Design Help</title>
	<atom:link href="http://www.testmywebsite.info/web_design_help/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.testmywebsite.info/web_design_help</link>
	<description></description>
	<lastBuildDate>Sat, 13 Aug 2011 01:34:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Remove Unnecessary Space Between lines in Dreamweaver</title>
		<link>http://www.testmywebsite.info/web_design_help/how-to-remove-unnecessary-space-between-lines-in-dreamweaver/</link>
		<comments>http://www.testmywebsite.info/web_design_help/how-to-remove-unnecessary-space-between-lines-in-dreamweaver/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 01:11:47 +0000</pubDate>
		<dc:creator>Shan</dc:creator>
				<category><![CDATA[PHP Tips]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://www.testmywebsite.info/web_design_help/?p=24</guid>
		<description><![CDATA[Sometimes you get awful lots of line spacing after you download a file from the server. It’s really annoying to delete one by one and it takes your valuable time do that. I was searching for a easy way to fix this and found a solution in the following forum. http://forums.digitalpoint.com/showthread.php?t=622323 This is how you [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you get awful lots of line spacing after you download a file from the server.<br />
It’s really annoying to delete one by one and it takes your valuable time do that. I was searching for a easy way to fix this and found a solution in the following forum.<br />
<a href="http://forums.digitalpoint.com/showthread.php?t=622323">http://forums.digitalpoint.com/showthread.php?t=622323</a></p>
<p>This is how you do it (as for nico_swd’s post)</p>
<ol>
<li>Open the file</li>
<li>Click CTRL + F</li>
<li>Select &#8220;Current document&#8221; in &#8220;Find in&#8221; (You can also select the folder if you have multiple files)</li>
<li>Search in &#8220;Source code&#8221;</li>
<li>Tick &#8220;Use regular expression&#8221;</li>
<li>Type &#8220;[\r\n]{2,}&#8221; (without quotes) in &#8220;Find&#8221;</li>
<li>Type &#8220;\n&#8221; (without quotes) in &#8220;Replace&#8221;</li>
<li>Press &#8220;Replace All&#8221;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.testmywebsite.info/web_design_help/how-to-remove-unnecessary-space-between-lines-in-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Dreamweaver CS3 Crashing all of a sudden?</title>
		<link>http://www.testmywebsite.info/web_design_help/adobe-dreamweaver-cs3-crashing-all-of-a-sudden/</link>
		<comments>http://www.testmywebsite.info/web_design_help/adobe-dreamweaver-cs3-crashing-all-of-a-sudden/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 09:51:35 +0000</pubDate>
		<dc:creator>Shan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://www.testmywebsite.info/web_design_help/?p=16</guid>
		<description><![CDATA[All of a sudden my Dreamweaver CS3 started to crash. After searching in Dreamweaver support forums I found out that there is a bug in Dreamweaver time modification and editing functions. Then I realise We (Australia) had our clock set to daylight saving time during the weekend.     This is how you fix it [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">All of a sudden my Dreamweaver CS3 started to crash.</p>
<p>After searching in Dreamweaver support forums I found out that there is a bug in Dreamweaver time modification and editing functions. </span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">Then I realise We (Australia) had our clock set to daylight saving time during the weekend. <span style="mso-spacerun: yes;"> </span></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small; font-family: Calibri;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>This is how you fix it</strong></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">Close Dreamweaver.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">Go to (On Vista) C:\Users\&lt;your username&gt;\AppData\Roaming\Adobe\Dreamweaver 9\Configuration</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">And delete WinFileCache-AD76BB20.dat file</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">Open the Dreamweaver.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small; font-family: Calibri;"> </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">It should work. </span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.testmywebsite.info/web_design_help/adobe-dreamweaver-cs3-crashing-all-of-a-sudden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to develop a page search function in php</title>
		<link>http://www.testmywebsite.info/web_design_help/how-to-develop-a-page-search-function-in-php/</link>
		<comments>http://www.testmywebsite.info/web_design_help/how-to-develop-a-page-search-function-in-php/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 13:34:00 +0000</pubDate>
		<dc:creator>Shan</dc:creator>
				<category><![CDATA[PHP Tips]]></category>

		<guid isPermaLink="false">http://www.testmywebsite.info/web_design_help/?p=12</guid>
		<description><![CDATA[This function is developed using simple php. This will not work in dynamic contents because it’s searches the file; line by line in the server end. If you have a website with lots of static html pages I think you will find this very useful. One of the down side is even if you have [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">This function is developed using simple php. This will not work in dynamic contents because it’s searches the file; line by line in the server end. If you have a website with lots of static html pages I think you will find this very useful. One of the down side is even if you have a html comment in the file it’ll search that as well. </span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">HTML Form:</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">&lt;form action=&#8221;test_search.php&#8221; method=&#8221;post&#8221; name=&#8221;d&#8221;&gt;<br />
&lt;input name=&#8221;send&#8221; type=&#8221;hidden&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;input name=&#8221;term&#8221; type=&#8221;text&#8221; /&gt;<br />
&lt;input name=&#8221;submit&#8221; type=&#8221;submit&#8221; value=&#8221;submit&#8221; /&gt;<br />
&lt;/form&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">PHP Code:</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">&lt;?php<br />
//this fucntion is used to get the tile tag of the page<br />
function get_title($a,$b,$c){<br />
$y = explode($b,$a);<br />
$x = explode($c,$y[1]);<br />
return $x[0];<br />
}</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"> </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small; font-family: Calibri;">//if form is submited do the following</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">if(isset($_POST['send'])){<br />
if ($handle = opendir(&#8216;/path to your directory/&#8217;)) { //example path  /home/site-user-name/public_html/my-folder/<br />
 // lets loop over the directory.<br />
 $i=0;<br />
 while (false !== ($file = readdir($handle))) {<br />
     if ($file != &#8220;.&#8221; &amp;&amp; $file != &#8220;..&#8221;) {<br />
   $page= &#8216;myfolder/&#8217;.$file;<br />
   $page= file ($page);<br />
   $numtlines = count ($page); //Number of lines in the file<br />
   <br />
   $line = 0;<br />
   while ($line &lt; $numtlines) {<br />
    if(stristr ($page[$line], &#8221;.$_POST['term'].&#8221;)){ //found a match</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-size: small; font-family: Calibri;">     //let&#8217;s get the page title </span><span style="font-size: small;"><span style="font-family: Calibri;"><br />
     echo &#8216;&lt;br&gt;&lt;a href=&#8221;http://www.url-to-your-file/&#8217;.$file.&#8217;&#8221;&gt;&#8221;&#8216;.get_title(file_get_contents(&#8216;http://www.url-to-your-file/&#8217;.$file), &#8220;&lt;title&gt;&#8221;, &#8220;&lt;/title&#8221;).&#8217;&lt;/a&gt;&lt;br&gt;&#8217;;<br />
     $metatagarray = get_meta_tags(&#8216;http://www.url-to-your-file/&#8217;.$file);<br />
     echo $description = $metatagarray[ "description"];<br />
     $line = $numtlines;<br />
    }<br />
    $line++;<br />
   }<br />
     }<br />
 $i++;<br />
 }<br />
closedir($handle);<br />
}<br />
}</span></span><span style="font-size: small;"><span style="font-family: Calibri;"><br />
?&gt;</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.testmywebsite.info/web_design_help/how-to-develop-a-page-search-function-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

