<?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>Just A Scrap - Scrap the Crap &#187; Scripts</title>
	<atom:link href="http://www.justascrap.com/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justascrap.com</link>
	<description>Just A Scrap is a Online Blog Sharing Views, Thoughts, Experiences, Forwards, Technology News, Reviews, Job Offers related news and much more.</description>
	<lastBuildDate>Sat, 03 Sep 2011 07:07:15 +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>Cannot modify header information &#8211; headers already sent by (output started at</title>
		<link>http://www.justascrap.com/2008/03/07/cannot-modify-header-information-headers-already-sent-by-output-started-at/</link>
		<comments>http://www.justascrap.com/2008/03/07/cannot-modify-header-information-headers-already-sent-by-output-started-at/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 04:45:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Solving-Cannot-modify-header-information-php-error]]></category>

		<guid isPermaLink="false">http://www.justascrap.com/2008/03/07/cannot-modify-header-information-headers-already-sent-by-output-started-at/</guid>
		<description><![CDATA[&#8220;Cannot modify header information &#8211; headers already sent by (output started at&#8221; If you get a error saying so in wordpress after installing a plugin, the pretty simple reason could be there might be blanks spaces or enters after ?&#62; in your plugin File. Simply remove those blank spaces (or enters) and this warning /Error [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Cannot modify header information &#8211; headers already sent by (output started at&#8221;</p>
<p>If you get a error saying so in wordpress after installing a plugin, the pretty simple reason could be there might be blanks spaces or enters after ?&gt; in your plugin File. Simply remove those blank spaces (or enters) and this warning /Error should go off.</p>
<img src="http://www.justascrap.com/?ak_action=api_record_view&id=299&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.justascrap.com/2008/03/07/cannot-modify-header-information-headers-already-sent-by-output-started-at/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Solving Warning: set_time_limit(): Cannot set time limit in safe mode Error message</title>
		<link>http://www.justascrap.com/2007/07/09/solving-warning-set_time_limit-cannot-set-time-limit-in-safe-mode-error-message/</link>
		<comments>http://www.justascrap.com/2007/07/09/solving-warning-set_time_limit-cannot-set-time-limit-in-safe-mode-error-message/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 06:29:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[PHP-safe-Mode]]></category>
		<category><![CDATA[Solving-set_time_limit()-related-issues]]></category>
		<category><![CDATA[Warning-set_time_limit()]]></category>

		<guid isPermaLink="false">http://www.justascrap.com/2007/07/09/solving-warning-set_time_limit-cannot-set-time-limit-in-safe-mode-error-message/</guid>
		<description><![CDATA[If you get Warning: set_time_limit(): Cannot set time limit in safe mode error message , it is because your server has SAFE_MODE turned on in the php.ini configuration file. How to remove this error use the @ in front of the set_time_limit() or you can try turning off SAFE MODE How To turn off SAFE_MODE: 1.  [...]]]></description>
			<content:encoded><![CDATA[<p>If you get <strong>Warning: set_time_limit(): Cannot set time limit in safe mode </strong>error message , it is because your server has SAFE_MODE turned on in the php.ini configuration file.</p>
<p>How to remove this error</p>
<ul>
<li>use the @ in front of the set_time_limit()</li>
<li>or you can try turning off SAFE MODE</li>
</ul>
<p><strong>How To turn off SAFE_MODE:</strong></p>
<p>1.  Email your hosting company and ask them if they will turn this setting off for you.  It depends on their company policies, if they will comply.</p>
<p>2.  Connect to your server via SSH and use an editor such as PICO to edit your php.ini file manually.  Once you have the php.ini file open, you can change the value to off for this setting.  Save the file and exit.</p>
<p>Hope this information helps</p>
<img src="http://www.justascrap.com/?ak_action=api_record_view&id=168&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.justascrap.com/2007/07/09/solving-warning-set_time_limit-cannot-set-time-limit-in-safe-mode-error-message/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to lock a folder without using a software</title>
		<link>http://www.justascrap.com/2007/06/28/how-to-lock-a-folder-without-using-a-software/</link>
		<comments>http://www.justascrap.com/2007/06/28/how-to-lock-a-folder-without-using-a-software/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 03:10:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.justascrap.com/2007/06/28/how-to-lock-a-folder-without-using-a-software/</guid>
		<description><![CDATA[This is something which i got as a mail. Just sharing Open Notepad and copy the below code and save as locker.bat. Don&#8217;t forget to change your password in the code it’s shown the place where to type your password. Now double click on locker .bat First time start it will create folder with Locker [...]]]></description>
			<content:encoded><![CDATA[<p>This is something which i got as a mail. Just sharing</p>
<p>Open Notepad and copy the below code and save as locker.bat. Don&#8217;t forget to change your password in the code it’s shown the place where to type your password. Now double click on <strong>locker .bat</strong><br />
First time start it will create folder with <strong>Locker</strong> automatically for u. After creation of the Locker folder, place the contents u want to lock inside the <strong>Locker</strong> Folder and run locker.bat again</p>
<blockquote><p>**********************************************************<br />
cls<br />
@ECHO OFF<br />
title Folder Locker<br />
if EXIST &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; goto UNLOCK<br />
if NOT EXIST Locker goto MDLOCKER<br />
:CONFIRM<br />
echo Are you sure u want to Lock the folder(Y/N)<br />
set/p &#8220;cho=&gt;&#8221;<br />
if %cho%==Y goto LOCK<br />
if %cho%==y goto LOCK<br />
if %cho%==n goto END<br />
if %cho%==N goto END<br />
echo Invalid choice.<br />
goto CONFIRM<br />
:LOCK<br />
ren Locker &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
attrib +h +s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
echo Folder locked<br />
goto End<br />
:UNLOCK<br />
echo Enter password to Unlock folder<br />
set/p &#8220;pass=&gt;&#8221;<br />
if NOT %pass%==<strong>type your password here</strong> goto FAIL<br />
attrib -h -s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
ren &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; Locker<br />
echo Folder Unlocked successfully<br />
goto End<br />
:FAIL<br />
echo Invalid password<br />
goto end<br />
:MDLOCKER<br />
md Locker<br />
echo Locker created successfully<br />
goto End<br />
:End</p></blockquote>
<img src="http://www.justascrap.com/?ak_action=api_record_view&id=148&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.justascrap.com/2007/06/28/how-to-lock-a-folder-without-using-a-software/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Speed Up your System</title>
		<link>http://www.justascrap.com/2007/06/19/speed-up-you-system/</link>
		<comments>http://www.justascrap.com/2007/06/19/speed-up-you-system/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 06:35:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Idle-process]]></category>
		<category><![CDATA[PC-improvement]]></category>
		<category><![CDATA[speed-up-computer]]></category>

		<guid isPermaLink="false">http://www.justascrap.com/2007/06/19/speed-up-you-system/</guid>
		<description><![CDATA[Do you some time feel your system is getting slow down? This happens because all the application we run are not memory efficient and do have memory leaks. Now there is some trick to tackle this. 1. Right click on the blank space of your desktop and select New &#62; Shortcut 2. In the location [...]]]></description>
			<content:encoded><![CDATA[<p>Do you some time feel your system is getting slow down? This happens because all the application we run are not memory efficient and do have memory leaks. Now there is some trick to tackle this.<br />
1. Right click on the blank space of your desktop and select New &gt; Shortcut<br />
2. In the location type : %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks<br />
and click next<br />
3. Give some meaningful name and click finish.</p>
<p>Now whenever you feel your system is getting slow down run this shortcut. You will feel the difference.</p>
<img src="http://www.justascrap.com/?ak_action=api_record_view&id=125&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.justascrap.com/2007/06/19/speed-up-you-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Split Text read from a Text file into paragraphs using php</title>
		<link>http://www.justascrap.com/2007/05/31/split-text-read-from-a-text-file-into-paragraphs-using-php/</link>
		<comments>http://www.justascrap.com/2007/05/31/split-text-read-from-a-text-file-into-paragraphs-using-php/#comments</comments>
		<pubDate>Thu, 31 May 2007 04:16:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Webmasters]]></category>

		<guid isPermaLink="false">http://www.justascrap.com/2007/05/31/split-text-read-from-a-text-file-into-paragraphs-using-php/</guid>
		<description><![CDATA[How to read/convert the data read from a text file into paragraphs and display them paragraph wise.  I did a lot of searching about this issue to achieve success. So it thought of just publishing that part of how to split the data paragraph wise and then displaying it. preg_match_all(&#8216;~ &#60;p&#62;.*?&#60;/p&#62;~s&#8217;, $rawdata,$m);  $paragraphs = $m[0]; [...]]]></description>
			<content:encoded><![CDATA[<p>How to read/convert the data read from a text file into paragraphs and display them paragraph wise.  I did a lot of searching about this issue to achieve success. So it thought of just publishing that part of how to split the data paragraph wise and then displaying it.</p>
<blockquote><p>preg_match_all(&#8216;~ &lt;p&gt;.*?&lt;/p&gt;~s&#8217;, $rawdata,$m);<br />
 $paragraphs = $m[0];<br />
foreach($paragraphs as $p)<br />
 { echo $p; }</p></blockquote>
<p>Here $rawdata is the source in which the preg_replace will search for the pattern &lt;p&gt; &lt;/p&gt; and the data between the paragraph tags will be given to $m(array)</p>
<p>$m[0] gives the first  matches ie all the paragraphs in the data to $paragraphs(another array). Using the Loop we can now display Paragraphs one by one.</p>
<p>Note: This is my first time im explaining a script. Please excuse me. I&#8217;ll work out more to learn more n explaing more <img src='http://www.justascrap.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.justascrap.com/?ak_action=api_record_view&id=43&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.justascrap.com/2007/05/31/split-text-read-from-a-text-file-into-paragraphs-using-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

