<?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>Bala-Krishna &#187; Error Log</title>
	<atom:link href="http://www.bala-krishna.com/category/error-log/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bala-krishna.com</link>
	<description>Web Developer &#38; Internet Marketing Consultant</description>
	<lastBuildDate>Wed, 17 Mar 2010 12:07:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Fix Wordpress MU Redirect Loop Installation Error</title>
		<link>http://www.bala-krishna.com/how-to-fix-wordpress-mu-redirect-loop-installation-error/</link>
		<comments>http://www.bala-krishna.com/how-to-fix-wordpress-mu-redirect-loop-installation-error/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 12:10:34 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Word Press]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Theme]]></category>
		<category><![CDATA[Wordpress Widget]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=573</guid>
		<description><![CDATA[I recently encounter this issue on my client wordpress mu blog.  When i open main blog page after installation an infinite loop occur and stop at dead end in Firefox. I searched a lot about this on wordpress forum. Surprising, issue is stated everywhere in the forums and blog but no solution was suggested.
Why Redirect Loop?
The issue [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encounter this issue on my client wordpress mu blog.  When i open main blog page after installation an infinite loop occur and stop at dead end in Firefox. I searched a lot about this on wordpress forum. Surprising, issue is stated everywhere in the forums and blog but no solution was suggested.</p>
<p><strong>Why Redirect Loop?</strong></p>
<p>The issue arise because database was not created during wordpress installation but word press config file was written. WordPress uses wp-config.php file to store database configuration.  If WordPress find this file in the  installation directory then no further installation procedure begin. WordPress now look at DB to load default blog but there is no table in the database. Again, control goes to install procedure but WordPress understand blog already installed because WordPress config file is present in root folder. Once again WordPress try to load blog from database and redirect loop occur.  I hope WordPress guys will fix this in future releases.</p>
<p><strong>The Fix</strong></p>
<p>The fix is very simple. Simply, rename or delete WordPress config file and re-install wordpress mu.  Make sure database user you are using during installation have sufficient permission to create and manipulate database tables.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/how-to-fix-wordpress-mu-redirect-loop-installation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control PHP Error Reporting With .htaccess</title>
		<link>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/</link>
		<comments>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 16:10:49 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[htpasswd]]></category>
		<category><![CDATA[htpassword]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/?p=356</guid>
		<description><![CDATA[Create .htaccess file or use existing .htaccess file in your hosting site.  Add below line at the top of file content.

# to stop php startup errors
php_flag display_startup_errors off
# to stop all php errors and warning
php_flag display_errors off

You can also control level of error reporting. Here is the .htaccess syntax:

# php directive for setting error [...]]]></description>
			<content:encoded><![CDATA[<p>Create .htaccess file or use existing .htaccess file in your hosting site.  Add below line at the top of file content.</p>
<pre class="brush: php;">
# to stop php startup errors
php_flag display_startup_errors off
# to stop all php errors and warning
php_flag display_errors off
</pre>
<p>You can also control level of error reporting. Here is the .htaccess syntax:</p>
<pre class="brush: php;">
# php directive for setting error level
php_value error_reporting integer
</pre>
<p>Example:</p>
<pre class="brush: php;">
# report everything except run-time notices.
php_value error_reporting 8191
# report both fatal and non-fatal compile-time warnings by the Zend Engine
php_value error_reporting 128
# report run-time notices, compile-time parse errors, run-time errors and warnings
php_value error_reporting 8
# report fatal run-time errors and unrecoverable errors
php_value error_reporting 1
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/control-php-error-reporting-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CubeCart 4.x.x Cross-Site Scripting Vulnerabilities</title>
		<link>http://www.bala-krishna.com/cubecart-4xx-cross-site-scripting-vulnerabilities/</link>
		<comments>http://www.bala-krishna.com/cubecart-4xx-cross-site-scripting-vulnerabilities/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 13:49:09 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Cube Cart]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/cubecart-4xx-cross-site-scripting-vulnerabilities</guid>
		<description><![CDATA[Two vulnerabilities has been discoverd in CubeCart 4.xx by Russ McRee that can be use by hackers to exploit website by cross-site scripting attacks. The search input string is not properly sanitised before passed to script for execution. This behaviour can be used by attacker to execute malicious script code in the browser to affect [...]]]></description>
			<content:encoded><![CDATA[<p>Two vulnerabilities has been discoverd in CubeCart 4.xx by Russ McRee that can be use by hackers to exploit website by cross-site scripting attacks. The search input string is not properly sanitised before passed to script for execution. This behaviour can be used by attacker to execute malicious script code in the browser to affect website. This may allow to hacker to acess administration by stealing cookies-based aunthentication scheme and destroy website.</p>
<p><b>Solution:</b></p>
<p>CubeCart has been released security patch to fix this problem that can be download from following location.</p>
<ul>
<li><a href="http://forums.cubecart.com/index.php?act=attach&amp;type=post&amp;id=1263" target="_blank"> 			    CubeCart_4.1.1_pl1.zip</a></li>
<li><a href="http://forums.cubecart.com/index.php?act=attach&amp;type=post&amp;id=1264" target="_blank"> 	          CubeCart_4.2.1_pl1.zip</a></li>
</ul>
<p>Also, CubeCart user can fix this manually by editing a single file. Please follow steps described below:</p>
<p>Open ini.inc.php and find at around line 134:</p>
<p><span style="color: red;">$data[$key] = $this-&gt;safety($val);<br />
}</p>
<p>return true;</span></p>
<p>Replace with:</p>
<p><span style="color: red;">$data[$key] = $this-&gt;safety($val);<br />
}</span></p>
<p>All done.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/cubecart-4xx-cross-site-scripting-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to your PC over internet with SynXro</title>
		<link>http://www.bala-krishna.com/connect-to-your-pc-over-internet-with-synxro/</link>
		<comments>http://www.bala-krishna.com/connect-to-your-pc-over-internet-with-synxro/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 09:45:09 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[Dot.Net]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Nation]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Window Application]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/connect-to-your-pc-over-internet-with-synxro</guid>
		<description><![CDATA[SynXro is another web based product to connect, a PC to PC; or PC to LAN connection. SynXro allows you to access all the drives of your PC and all the network drives of all PCs connected to your Local Area Network from anywhere in the world. You only need to have access of internet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.epsam.com/NEW_WEB/" title="Connect to your PC over internet with SynXro" target="_blank">SynXro</a> is another web based product to connect, a PC to PC; or PC to LAN connection. SynXro allows you to access all the drives of your PC and all the network drives of all PCs connected to your Local Area Network from anywhere in the world. You only need to have access of internet and modern web browser to connect to your PC. No additional software or hardware is required.</p>
<p>Features:</p>
<ul>
<li>Navigate through your Local Area Network.</li>
<li>Remote access to LAN and/or Computer.</li>
<li>Remote upload and download capabilities.</li>
<li>Remote execution of commands.</li>
<li>Accessible from any location through the internet via any browser.</li>
</ul>
<p><a href="http://www.epsam.com/NEW_WEB/downloads/synxro.exe" title="Get 7 Days SynXro Trail Version Here">Get 7 Days SynXro Trail Version</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/connect-to-your-pc-over-internet-with-synxro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submit your website to our directory free</title>
		<link>http://www.bala-krishna.com/submit-your-website-to-our-directory-free/</link>
		<comments>http://www.bala-krishna.com/submit-your-website-to-our-directory-free/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 06:36:37 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Firefox Add-On]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[Link Building]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Directory]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Window Application]]></category>
		<category><![CDATA[Word Press]]></category>
		<category><![CDATA[Wordpress Theme]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/submit-your-website-to-our-directory-free</guid>
		<description><![CDATA[Thanks for the Juan to inform me of Captcha submission error in web directory module. Due to the error people was not able to submit website to our directory. You are all welcome to submit your website to our web directory absolutely free. No reciprocal required. Website will be reviewed by editor before acceptance.

Both the [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks for the Juan to inform me of Captcha submission error in <a href="http://directory.bala-krishna.com/" title="Software Web Directory" target="_blank">web directory</a> module. Due to the error people was not able to submit website to our directory. You are all welcome to submit your website to our <a href="http://directory.bala-krishna.com/" title="Software Web Directory" target="_blank">web directory</a> absolutely free. No reciprocal required. Website will be reviewed by editor before acceptance.</p>
<p><a href="http://directory.bala-krishna.com/" target="_blank" title="Software Web Directory"><img src="http://www.bala-krishna.com/wp-content/uploads/2008/01/web-directory.jpg" alt="web-directory.jpg" /></a></p>
<p>Both the <a href="http://www.sharphosts.com/rev/midphase.htm">midphase</a> and the <a href="http://www.sharphosts.com/rev/powweb.htm">powweb</a> offer <a href="http://www.sharphosts.com">cheap web hosting</a> and in the end it is all about personal preferences.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/submit-your-website-to-our-directory-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux / Unix tar command</title>
		<link>http://www.bala-krishna.com/linux-unix-tar-command/</link>
		<comments>http://www.bala-krishna.com/linux-unix-tar-command/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 19:59:38 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Browser Stuff]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[FFMPEG-PHP]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/linux-unix-tar-command</guid>
		<description><![CDATA[Tar is commonly used archive in Linux/Unix platform.  Tar is capable to create new archive and can add or extract files files in a archive .
Syntax
tar c  [ bBeEfFhiklnopPqvwX  [ 0-7 ]  ]  [ block ]   [            [...]]]></description>
			<content:encoded><![CDATA[<p>Tar is commonly used archive in Linux/Unix platform.  Tar is capable to create new archive and can add or extract files files in a archive .</p>
<p><strong>Syntax</strong></p>
<p>tar c  [ bBeEfFhiklnopPqvwX  [ 0-7 ]  ]  [ block ]   [               tarfile  ]   [ exclude-file ]  {-I include-file  | -C directory | file  | file }</p>
<p>tar r   [  bBeEfFhiklnqvw   [  0-7  ]   ]   [  block  ]   {-I include-file  | -C directory  | file  | file }</p>
<p>tar t  [ BefFhiklnqvX  [ 0-7 ]  ]  [ tarfile ]   [               exclude-file ]  {-I include-file  | file }  &#8230;</p>
<p>tar u  [ bBeEfFhiklnqvw  [ 0-7 ]  ]  [ block ]  [ tarfile  ]               file &#8230;</p>
<p>tar x  [ BefFhiklmnopqvwX  [  0-7  ]   ]   [  tarfile  ]   [               exclude-file ]  [ file ... ]</p>
<p><strong>Switches<br />
</strong></p>
<p><span id="more-244"></span></p>
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top"></td>
<td valign="top">Create. Writing begins at  the  beginning  of  the               tarfile, instead of at the end.</td>
</tr>
<tr>
<td valign="top">r</td>
<td valign="top">Replace.  The named file s are written at the end of the tarfile. A file created  with extended headers must be updated with extended headers (see E flag  under Function Modifiers). A file created without extended headers  cannot be modified with extended headers.</td>
</tr>
<tr>
<td valign="top">t</td>
<td valign="top">Table  of Contents. The names of the specified files are listed each time they  occur in the tar file. If no file argument is given, the names of all  files in the tarfile are listed. With the vfunction modifier, additional information for  the               specified files is displayed.</td>
</tr>
<tr>
<td valign="top">u</td>
<td valign="top">Update.  The named file s are written at the end of the tarfile if they are not  already in the tar file, or if they have been modified since last  written to that tarfile. An update can be rather slow. A tarfile  created on a 5.x system cannot be updated on a 4.x system. A file  created with extended headers must be updated with extended headers  (see E flag under Function Modifiers). A file created without extended  headers cannot be modified with extended headers.</td>
</tr>
<tr>
<td valign="top">x</td>
<td valign="top">Extract  or restore. The named file s are extracted from the tarfile and written  to the directory specified in the tarfile, relative to the current  directory. Use the relative path names of files and directories to be  extracted. If a named file matches a directory whose contents has been  writ ten to the tarfile, this directory is recursively extracted. The  owner, modification time, and mode are restored (if possible);  otherwise, to restore owner, you must be the super-user. Character  special and block-special devices (created by mknod(1M)) can only be  extracted by the super user. If no file argument is given, the entire  content of the tarfile is extracted. If the tar- file contains several  files with the same name, each file is written to the appropriate  directory, overwriting the previous one. Filename substitu tion  wildcards cannot be used for extracting files from the archive; rather,  use a command of the form:tar xvf&#8230; /dev/rmt/0 `tar tf&#8230; /dev/rmt/0 | grep &#8216;pattern&#8217; `When extracting tapes created with the r or u functions, directory  modification times may not be set correctly. These same functions  cannot be used with many tape drives due to tape drive limitations such  as the absence of backspace or append capabilities.When  using the r, u, or x functions or the X function modifier, the named  files must match exactly the corresponding files in the tarfile. For  example, to extract ./thisfile, you must specify ./thisfile, and not  thisfile. The t function displays how each file was archived.</td>
</tr>
<tr>
<td valign="top">b</td>
<td valign="top">Blocking  Factor. Use when reading or writing to raw magnetic archives (see f  below). The block argument specifies the number of 512-byte tape blocks  to be included in each read or write operation performed on the  tarfile. The minimum is 1, the default is 20. The maximum value is a  function of the amount of memory available and the blocking  requirements of the specific tape device involved  (see mtio(7I) for  details.) The maximum cannot exceed INT_MAX/512 (4194303).When a tape archive is being read, its actual  blocking factor will be automatically detected, provided that it is  less than or equal to the nominal blocking factor (the value of the  block argument, or the default value if the b modifier is not  specified). If the actual blocking factor is greater than the nominal  blocking factor, a read error will result. See Example 5 in Examples.</td>
</tr>
<tr>
<td valign="top">B</td>
<td valign="top">Block.  Force tar to perform multiple reads (if necessary) to read exactly  enough bytes to fill a block. This function modifier enables tar to  work across the Ethernet, since pipes and sockets return partial blocks  even when more data is coming. When reading from standard input, &#8216;-&#8217;,  this function modifier is selected by default to ensure that tar can  recover from short reads.</td>
</tr>
<tr>
<td valign="top">e</td>
<td valign="top">Error.  Exit immediately with a positive exit status if any unexpected errors  occur. The SYSV3 environment variable overrides the default behavior.  (See ENVIRONMENT section below.)</td>
</tr>
<tr>
<td valign="top">E</td>
<td valign="top">Write  a tarfile with extended headers. (Used with c, r, or u options; ignored  with t or x options.) When a tarfile is written with extended headers,  the modification time is maintained with a granularity of microseconds  rather than seconds. In addition, filenames no longer than PATH_MAX  characters that could not be archived without E, and file sizes greater  than 8GB, are supported. The E flag is required whenever the larger  files and/or files with longer names, or whose UID/GID exceed 2097151,  are to be archived, or if time granularity of microseconds is desired.</td>
</tr>
<tr>
<td valign="top">f</td>
<td valign="top">File. Use the tarfile argument as the name of  the               tarfile.  If  f  is specified, /etc/default/tar is     not searched. If f is omitted, tar will use the device indicated by the  TAPE environment variable, if set; otherwise, it will use the default  values defined in /etc/default/tar. If the name of the tarfile is &#8216;-&#8217;,  tar writes to the standard output or reads from the standard input,  whichever is appropriate. tar can be used as the head or tail of a  pipeline. tar can also be used to move hierarchies with the command:example% cd fromdir; tar cf &#8211; .| (cd todir; tar xfBp -)</td>
</tr>
<tr>
<td valign="top">F</td>
<td valign="top">With  one F argument, tar excludes all directories named SCCS and RCS from  the tarfile. With two arguments, FF, tar excludes all directories named  SCCS and RCS, all files with .o as their suffix, and all files named  errs, core, and a.out. The SYSV3 environment variable overrides the  default behavior. (See ENVIRONMENT section below.)</td>
</tr>
<tr>
<td valign="top">h</td>
<td valign="top">Follow symbolic links as if they were normal files               or  directories.  Normally,  tar   does not follow                      symbolic links.</td>
</tr>
<tr>
<td valign="top">i</td>
<td valign="top">Ignore directory checksum errors.</td>
</tr>
<tr>
<td valign="top">-j, &#8211;bzip2</td>
<td valign="top">filter archive through bzip2,                     use to decompress .bz2 files. WARNING: some previous versions                     of tar used option -I to filter through bzip2. When writing                     scripts, use &#8211;bzip2 instead of -j so that both older and                     newer tar versions will work.</td>
</tr>
<tr>
<td valign="top">k size</td>
<td valign="top">Requires  tar to use the size argument as the size of an archive in kilobytes.  This is useful when the archive is intended for a fixed size device  such as floppy disks. Large files are then split across volumes if they  do not fit in the specified size.</td>
</tr>
<tr>
<td valign="top">l</td>
<td valign="top">Link.  Output error message if unable to resolve all links to the files being  archived. If l is not specified, no error messages are printed.</td>
</tr>
<tr>
<td valign="top">m</td>
<td valign="top">Modify. The modification time of the file  is  the               time  of  extraction.  This  function  modifier isvalid only with the x function.</td>
</tr>
<tr>
<td valign="top">n</td>
<td valign="top">The file being read is a non-tape device.  Reading               of  the  archive is faster since tar  can randomly                      seek around the archive.</td>
</tr>
<tr>
<td valign="top">o</td>
<td valign="top">Ownership.  Assign to extracted files the user and group identifiers of the user  running the program, rather than those on tarfile. This is the default  behavior for users other than root. If the o function modifier is not  set and the user is root, the extracted files will take on the group  and user identifiers of the files on tarfile. The o function modifier is               only valid with the x function.</td>
</tr>
<tr>
<td valign="top">p</td>
<td valign="top">Restore the named files to their  original  modes,               and  ACLs  if  applicable,  ignoring  the  present <strong>umask</strong>.  This is the default behavior if invoked as super-user with the x  function letter specified. If super-user, SETUID and sticky information  are also extracted, and files are restored with their original owners  and permissions, rather than owned by root. When this function modifier  is used with the c function, ACLs are created in the tarfile along with  other information. Errors will occur when a tarfile with ACLs is  extracted byprevious versions of tar .</td>
</tr>
<tr>
<td valign="top">P</td>
<td valign="top">Suppress the addition of a trailing &#8220;/&#8221; on                      directory entries in the archive.</td>
</tr>
<tr>
<td valign="top">q</td>
<td valign="top">Stop after extracting the first occurrence of  the               named  file.  tar   will normally continue reading                      the archive after finding an occurrence of a file.</td>
</tr>
<tr>
<td valign="top">v</td>
<td valign="top">Verbose. Output the name of each file preceded  by               the  function  letter. With the t function, v                      provides additional  information  about  the  tarfile entries. The listing is similar to the format                      produced by the -l option of the <strong>ls</strong> command.</td>
</tr>
<tr>
<td valign="top">w</td>
<td valign="top">What.  Output the action to be taken and the name of the file, then await the  user&#8217;s confirmation. If the response is affirmative, the action is  performed; otherwise, the action is not performed. This function  modifier cannot be used with the t function.</td>
</tr>
<tr>
<td valign="top">X</td>
<td valign="top">Exclude.  Use the exclude-file argument as a file containing a list of relative  path names for files (or directories) to be excluded from the tarfile  when using the functions c, x, or t. Be careful of trailing white  spaces. Also beware of leading white spaces, since, for each line in  the excluded file, the entire line (apart from the newline) will be  used to match against the initial string of files to exclude. Multiple  X arguments may be used, with one exclude-file per argument. In the  case where included files (see -I include-file option) are also  specified, the excluded files take precedence over all included files.  If a file is specified in both the exclude-file and the include-file  (or on the command line), it will be excluded.</td>
</tr>
<tr>
<td valign="top">[0-7]</td>
<td valign="top">Select  an alternative drive on which the tape is mounted. The default entries  are specified in /etc/default/tar. If no digit or f function modifier  is specified, the entry in /etc/default/tar with digit &#8220;0&#8243; is the  default.</td>
</tr>
<tr>
<td valign="top">-I include-file</td>
<td valign="top">Opens include-file containing a list of files, one per line, and treats  it as if each file appeared separately on the command line. Be careful  of trailing white spaces. Also beware of leading white spaces, since,  for each line in the included file, the entire line (apart from the  newline) will be used to match against the initial string of files to  include. In the case where excluded files (see X function modifier) are  also specified, they take precedence over all included files. If a file  is specified in both the exclude-file and the include-file (or on the  command line), it will be excluded.</td>
</tr>
<tr>
<td valign="top">-C directory file</td>
<td valign="top">Performs  a chdir (see cd(1)) operation on directory and performs the c (create)  or r (replace) operation on file . Use short relative path names for  file . If file is `.&#8217;, archive all files in directory. This option  enables archiving files from multiple directories not related by a  close common parent.</td>
</tr>
<tr>
<td valign="top">file</td>
<td valign="top">A  path name of a regular file or directory to be archived (when the c, r  or u functions are specified), extracted (x) or listed (t). When file  is the path name of a directory, the action applies to all of the files  and (recursively) subdirectories of that directory. When a file is archived, and the E flag (see  Function Modifiers) is not specified, the filename cannot exceed 256  characters. In addition, it must be possible to split the name between  parent directory names so that the prefix is no longer than 155  characters and the name is no longer than 100 characters. If E is  specified, a name of up to PATH_MAX characters may be specified.For example, a file whose basename is longer than 100 characters could  not be archived without using the E flag. A file whose directory  portion is 200 characters and whose basename is 50 characters could be  archived (without using E) if a slash appears in the directory name  somewhere in character positions 151-156.</td>
</tr>
</table>
<p><strong>Examples:</strong></p>
<p><strong>tar -cvvf mp3.tar *.mp3  </strong><br />
Create mp3.tar from  from all the mp3 files of current directory.</p>
<p><strong>tar -xvvf mp3.tar</strong><br />
Extract mp3.tar file in the current directory.</p>
<p><strong>tar -xvvzf mp3.tar.gz</strong><br />
Extract mp3.tar.gz file in the current directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/linux-unix-tar-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extract .gz file content by gunzip utility</title>
		<link>http://www.bala-krishna.com/how-to-extract-gz-file-content-by-gunzip-utility/</link>
		<comments>http://www.bala-krishna.com/how-to-extract-gz-file-content-by-gunzip-utility/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 18:43:52 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[FFMPEG-PHP]]></category>
		<category><![CDATA[FLVTool]]></category>
		<category><![CDATA[Financial]]></category>
		<category><![CDATA[Firefox Add-On]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Gmail Stuff]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Online Media]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Page Rank]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Window Application]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/how-to-extract-gz-file-content-by-gunzip-utility</guid>
		<description><![CDATA[Like the windows, gz is common compression utility in Linux.  This guide is to extract content of the .gz file by gunzip utility. Here is the command to see and extract content of the gz file.
View gz file content
gunzip -c mybackup.gz
Extract file file content in another file. you can use different file extension depend [...]]]></description>
			<content:encoded><![CDATA[<p>Like the windows, gz is common compression utility in Linux.  This guide is to extract content of the .gz file by gunzip utility. Here is the command to see and extract content of the gz file.</p>
<blockquote><p>View gz file content</p>
<p>gunzip -c mybackup.gz</p>
<p>Extract file file content in another file. you can use different file extension depend on the content of file.</p>
<p>gunzip -c mybackup.gz &gt; mybackup.sql</p></blockquote>
<blockquote><p>Compress               the mybackup.sql file as mybackup.gz in the current directory.</p>
<p>gunzip  -c mybackup.sql &gt; mybackup.gz</p></blockquote>
<p>Here is the full details of the gzip command.</p>
<p><span id="more-243"></span><br />
<strong>Syntax</strong></p>
<p><em> gzip [ -acdfhlLnNrtvV19 ] [-S suffix] [ name ...  ]</em></p>
<p><em>gunzip [ -acfhlLnNrtvV ] [-S suffix] [ name ...  ]</em></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="120">-a&#8211;ascii</td>
<td valign="top">Ascii text mode: convert end-of-lines using local conventions. This option is  supported                      only  on  some non-Unix  systems.  For  MSDOS,  CR LF is converted to LF when                      compressing, and LF is converted to CR LF when decompressing.</td>
</tr>
<tr>
<td valign="top" width="120">-c&#8211;stdout&#8211;to-stdout</td>
<td valign="top">Write output on standard output; keep original files unchanged. If  there are several input files, the output consists of a sequence of  independently compressed members. To obtain better compression,  concatenate all input files before compressing them.</td>
</tr>
<tr>
<td valign="top" width="120">-d&#8211;decompress&#8211;uncompress</td>
<td valign="top">Decompress.</td>
</tr>
<tr>
<td valign="top" width="120">-f&#8211;force</td>
<td valign="top">Force compression or decompression even if the file has multiple links or the corresponding file already                      exists,  or  if the compressed data is read from or written to a terminal. If the input data is not in a                      format recognized by gzip, and if the option &#8211;stdout is also given, copy the input data without  change                      to  the  standard  ouput: let zcat behave as cat.  If -f is not given, and when not running in the back                      ground, gzip prompts to verify whether an existing file should be overwritten.</td>
</tr>
<tr>
<td valign="top" width="120">-h&#8211;help</td>
<td valign="top">Display a help screen and quit.</td>
</tr>
<tr>
<td valign="top" width="120">-l&#8211;list</td>
<td valign="top">For each compressed file, list the following fields:</p>
<blockquote><p>compressed size: size of the compressed file</p>
<p>uncompressed size: size of the uncompressed file</p>
<p>ratio: compression ratio (0.0% if unknown)</p>
<p>uncompressed_name: name of the uncompressed file</p></blockquote>
<p>The uncompressed size is given as -1 for files not in gzip format, such as compressed .Z files.  To  get                      the uncompressed size for such a file, you can use:</p>
<blockquote><p>zcat file.Z | wc -c</p></blockquote>
<p>In combination with the &#8211;verbose option, the following fields are also displayed:</p>
<blockquote><p>method: compression method</p>
<p>crc: the 32-bit CRC of the uncompressed data</p>
<p>date &amp; time: time stamp for the uncompressed file</p></blockquote>
<p>The  compression methods currently supported are deflate, compress, lzh (SCO compress -H) and pack.  The</p>
<p>crc is given as ffffffff for a file not in gzip format.</p>
<p>With &#8211;name, the uncompressed name,  date and time  are those stored within the compress  file  if  present.</p>
<p>With &#8211;verbose, the size totals and compression ratio for all files is also displayed, unless some sizes                      are unknown. With &#8211;quiet, the title and totals lines are not displayed.</td>
</tr>
<tr>
<td valign="top" width="120">-L&#8211;licence</td>
<td valign="top">Display the gzip license and quit.</td>
</tr>
<tr>
<td valign="top" width="120">-n&#8211;no-name</td>
<td valign="top">When compressing, do not save the original file name and time stamp by default. (The  original  name  is                      always saved if the name had to be truncated.) When decompressing, do not restore the original file name                      if present (remove only the gzip suffix from the compressed file name) and do not restore  the  original                      time stamp if present (copy it from the compressed file). This option is the default when                      decompressing.</td>
</tr>
<tr>
<td valign="top" width="120">-N&#8211;name</td>
<td valign="top">When compressing, always save the original file name and time stamp;  this is the default. When decompressing, restore the original file name  and time stamp if present. This option is useful on systems which have  a limit on file name length or when the time stamp has been lost after  a file transfer.</td>
</tr>
<tr>
<td valign="top" width="120">-q-quiet</td>
<td valign="top">Suppress all warnings.</td>
</tr>
<tr>
<td valign="top" width="120">-r&#8211;recursive</td>
<td valign="top">Travel the directory structure recursively. If any of the file names  specified on the command line are directories, gzip will descend into  the directory and compress all the files it finds there (or decompress  them in the case of gunzip ).</td>
</tr>
<tr>
<td valign="top" width="120">-S .suf&#8211;suffix .suf</td>
<td valign="top">Use suffix .suf instead of .gz. Any suffix can be given, but suffixes other than .z and  .gz  should  be                      avoided  to avoid confusion when files are transferred to other systems.  A null suffix forces gunzip to                      try decompression on all given files regardless of suffix, as in:gunzip -S &#8220;&#8221; *       (*.* for MSDOS)Previous versions of gzip used the .z suffix. This was changed to avoid a conflict with <a href="http://www.computerhope.com/unix/upack.htm">pack</a>.</td>
</tr>
<tr>
<td valign="top" width="120">-t&#8211;test</td>
<td valign="top">Test. Check the compressed file integrity.</td>
</tr>
<tr>
<td valign="top" width="120">-v-verbose</td>
<td valign="top">Verbose. Display the name and percentage reduction for each file compressed or decompressed.</td>
</tr>
<tr>
<td valign="top" width="120">-V&#8211;version</td>
<td valign="top">Version. Display the version number and compilation options then quit.</td>
</tr>
<tr>
<td valign="top" width="120">-#&#8211;fast&#8211;best</td>
<td valign="top">Regulate the speed of compression using the specified digit #, where -1 or &#8211;fast indicates the  fastest                      compression  method  (less  compression) and -9 or &#8211;best indicates the slowest compression method (best                      compression).  The default compression level is -6 (that is, biased towards high compression at  expense                      of speed).</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/how-to-extract-gz-file-content-by-gunzip-utility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Clip-Share Upload Video Internal Server Error</title>
		<link>http://www.bala-krishna.com/clip-share-upload-video-internal-server-error/</link>
		<comments>http://www.bala-krishna.com/clip-share-upload-video-internal-server-error/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 15:54:52 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[FFMPEG-PHP]]></category>
		<category><![CDATA[FLVTool]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/clip-share-upload-video-internal-server-error</guid>
		<description><![CDATA[Clip-Share is mature script to run your own video sharing website like YouTube. This script is available variety of features and options at low cost. Unfortunately, they don&#8217;t have good knowledge base to short out technical problems related to script installation. The common problem with Clipshare and other video sharing script is in video upload [...]]]></description>
			<content:encoded><![CDATA[<p>Clip-Share is mature script to run your own video sharing website like YouTube. This script is available variety of features and options at low cost. Unfortunately, they don&#8217;t have good knowledge base to short out technical problems related to script installation. The common problem with Clipshare and other video sharing script is in video upload and?  conversion module.?  Here is the error i received while i tried to upload video. The script produce error in initialization of progress bar.</p>
<p><strong>Error:?  </strong>&#8220;returned status code 500 Internal Server Error&#8221;</p>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2007/12/clip-share-internal-server-error.jpg" title="Clip share internal server error"><img src="http://www.bala-krishna.com/wp-content/uploads/2007/12/clip-share-internal-server-error.jpg" alt="Clip share internal server error" /></a></p>
<p><strong>Possible Solution:<br />
</strong></p>
<ul>
<li>Check <strong>cgi-bin</strong> directory and files permission. In the script, upload progress monitored by perl script so that <strong>cgi-bin</strong> directory and files inside directory should have 755 permission. Make the changes if applicable.</li>
<li>Check temp and video path setting in &#8220;<strong>cgi-bin/configs/uu_default_config.pm</strong>&#8221; file. It should point to correct folder.?  Both these folder should be writable by webserver.<br />
temp_dir? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?  =&gt; &#8216;/home/domain/public_html/tmp/&#8217;,<br />
upload_dir? ? ? ? ? ? ? ? ? ? ? ? ? ?  =&gt; &#8216;/home/domain/public_html/video/&#8217;,</li>
<li>Check <strong>flvideo </strong>folder permission in your installation directory. It should be writable by webserver<strong>.</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/clip-share-upload-video-internal-server-error/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Permission denied error with godaddy cron job</title>
		<link>http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job/</link>
		<comments>http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 19:53:19 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Godaddy Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[Word Press]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job</guid>
		<description><![CDATA[Cron is a Linux command tool that allows you to schedule tasks unattended at a specified time interval. There are several ways to schedule commands to run. You can run any available command or script like php, perl and shell script as a Cron Job. It run specified command and send output to the user [...]]]></description>
			<content:encoded><![CDATA[<p><span class="highlight">Cron</span> is a Linux command tool that allows you to schedule tasks unattended at a specified time interval. There are several ways to schedule commands to run. You can run any available command or script like php, perl and shell script as a <span class="highlight">Cron</span> <span class="highlight">Job</span>. It run specified command and send output to the user or email id specified in the configuration.</p>
<p><span id="more-214"></span>This is common error godaddy user face when they run Cron job first time. The Godaddy Cron Manager only ask for the script file to run. You need to give executable file path separately otherwise php file will be run with shell script and produce permission denied error.  To over come this problem you simply need to use php executable path as first argument and full path of the script as second argument. Here is the correct Godady executable path.</p>
<p><strong>Shell:  </strong>/bin/sh<strong><br />
Perl :    </strong>/usr/bin/perl<br />
<strong>PHP4: </strong>    /web/cgi-bin/php<br />
<strong>PHP5:</strong>    /web/cgi-bin/php5</p>
<p><strong>Exmple Cron Job:</strong></p>
<p>/web/cgi-bin/php /home/content/youraccount/html/run_cron.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Improve GMAIL Performance</title>
		<link>http://www.bala-krishna.com/improve-gmail-performance/</link>
		<comments>http://www.bala-krishna.com/improve-gmail-performance/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 08:31:00 +0000</pubDate>
		<dc:creator>Bala Krishna</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Bug Fix]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[Error Log]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Gmail Stuff]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Online Media]]></category>
		<category><![CDATA[Operating System Tutorial]]></category>
		<category><![CDATA[PHP Function]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Snap Shot]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://www.bala-krishna.com/improve-gmail-performance/</guid>
		<description><![CDATA[It is common problem for web developers who use firebug to debug JavaScript errors.  Firebug may slow down Gmail by validating each XMLHttpRequests call. This problem is same for all ajax based application have make extensive XMLHttpRequest. Firebug is highly configurable. You can turn-off firebug for specific application or you can just enable when [...]]]></description>
			<content:encoded><![CDATA[<p>It is common problem for web developers who use firebug to debug JavaScript errors.  Firebug may slow down Gmail by validating each <strong>XMLHttpRequests </strong>call. This problem is same for all ajax based application have make extensive XMLHttpRequest. Firebug is highly configurable. You can turn-off firebug for specific application or you can just enable when you need to debug an application.  You can disable firebug for GMail and similar application or optimize it so that it will slow down application.</p>
<p><span id="more-193"></span><strong>Disable Firebug</strong></p>
<ul>
<li> To open Firebug, Click the green (Right Sign)  icon in status bar of the browser window.</li>
<li>Select &#8216;Disable Firebug for mail.google.com.&#8217; See image for more details.</li>
</ul>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-gmail.png" title="Firebug optimization to improve GMail performance"><img src="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-gmail.png" alt="Firebug optimization to improve GMail performance" /></a></p>
<p><strong>Optimize Firebug  </strong></p>
<ul>
<li> To open Firebug, Click the green (Right Sign)  icon in status bar of the browser window.</li>
<li>Click the <strong>Console</strong> tab.</li>
<li>Select <strong>Options.</strong></li>
<li>Uncheck <strong>Show XMLHttpRequests.</strong></li>
<li>Click the <strong>Net</strong> tab.</li>
<li>Select <strong>Options.</strong></li>
<li>Check <strong>Disable Network Monitoring.</strong></li>
<li>See Figure for more details</li>
</ul>
<p><a href="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-optimization1.jpg" title="Firebug optimization to improve GMail performance"><img src="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-optimization1.jpg" alt="Firebug optimization to improve GMail performance" /></a><a href="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-optimization2.jpg" title="Firebug optimization to improve GMail performance"><img src="http://www.bala-krishna.com/wp-content/uploads/2007/11/firebug-optimization2.jpg" alt="Firebug optimization to improve GMail performance" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bala-krishna.com/improve-gmail-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
