<?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>Ask me Questions and get Answers ! &#187; Uncategorized</title>
	<atom:link href="http://askmetoo.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://askmetoo.com</link>
	<description>Ask Questions and get Answers About everything for free!</description>
	<lastBuildDate>Wed, 21 Dec 2011 08:04:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>gz unzip gz file from php</title>
		<link>http://askmetoo.com/gz-unzip-gz-file-from-php.htm</link>
		<comments>http://askmetoo.com/gz-unzip-gz-file-from-php.htm#comments</comments>
		<pubDate>Wed, 21 Dec 2011 08:03:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=245</guid>
		<description><![CDATA[php example code 1 2 3 4 5 6 7 8 9 10 11 12 &#60;?php function uncompress&#40;$srcName, $dstName&#41; &#123; $sfp = gzopen&#40;$srcName, &#34;rb&#34;&#41;; $fp = fopen&#40;$dstName, &#34;w&#34;&#41;; &#160; while &#40;$string = gzread&#40;$sfp, 4096&#41;&#41; &#123; fwrite&#40;$fp, $string, strlen&#40;$string&#41;&#41;; &#125; gzclose&#40;$sfp&#41;; fclose&#40;$fp&#41;; &#125; uncompress&#40;'codhacks.sql.gz','codhacks.sql'&#41;;echo 1;exit;]]></description>
			<content:encoded><![CDATA[<p>php example code<br />
<span id="more-245"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> uncompress<span style="color: #009900;">&#40;</span><span style="color: #000088;">$srcName</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dstName</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$sfp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">gzopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$srcName</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;rb&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dstName</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$string</span> <span style="color: #339933;">=</span> <span style="color: #990000;">gzread</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sfp</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4096</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$string</span><span style="color: #339933;">,</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$string</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #990000;">gzclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sfp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
uncompress<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'codhacks.sql.gz'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'codhacks.sql'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>echo <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>exit<span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/gz-unzip-gz-file-from-php.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian autoreboot after kernel.panic /etc/sysctl.conf</title>
		<link>http://askmetoo.com/debian-autoreboot-after-kernel-panic-etcsysctl-conf.htm</link>
		<comments>http://askmetoo.com/debian-autoreboot-after-kernel-panic-etcsysctl-conf.htm#comments</comments>
		<pubDate>Sat, 11 Jun 2011 10:38:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=227</guid>
		<description><![CDATA[echo &#8216;kernel.panic = 20&#8242; >> /etc/sysctl.conf sysctl -p or echo 10 > /proc/sys/kernel/panic or echo &#8220;10&#8243; > /proc/sys/kernel/panic so if kernel.panic happents, system will reboot automaticaly in 10 sec]]></description>
			<content:encoded><![CDATA[<p>echo &#8216;kernel.panic = 20&#8242; >> /etc/sysctl.conf<br />
sysctl -p</p>
<p>or<br />
echo 10 > /proc/sys/kernel/panic</p>
<p>or</p>
<p>echo &#8220;10&#8243; > /proc/sys/kernel/panic </p>
<p>so if kernel.panic happents, system will reboot automaticaly in 10 sec </p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/debian-autoreboot-after-kernel-panic-etcsysctl-conf.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx alias-location  for phpmyadmin</title>
		<link>http://askmetoo.com/nginx-alias-phpmyadmin.htm</link>
		<comments>http://askmetoo.com/nginx-alias-phpmyadmin.htm#comments</comments>
		<pubDate>Tue, 26 Apr 2011 12:23:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=224</guid>
		<description><![CDATA[location ^~ /phpmyadmin/ { root /usr/local/www; }]]></description>
			<content:encoded><![CDATA[<p><span id="more-224"></span><br />
location ^~ /phpmyadmin/ {<br />
root /usr/local/www;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/nginx-alias-phpmyadmin.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql sleep connections lot of</title>
		<link>http://askmetoo.com/mysql-sleep-connections-lot-of.htm</link>
		<comments>http://askmetoo.com/mysql-sleep-connections-lot-of.htm#comments</comments>
		<pubDate>Mon, 11 Apr 2011 19:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=219</guid>
		<description><![CDATA[vi /etc/my.cnf And add this line in my.cnf wait_timeout = 60]]></description>
			<content:encoded><![CDATA[<p>    vi /etc/my.cnf</p>
<p>And add this line in my.cnf</p>
<p>    wait_timeout = 60</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/mysql-sleep-connections-lot-of.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>position: absolute center</title>
		<link>http://askmetoo.com/position-absolute-center.htm</link>
		<comments>http://askmetoo.com/position-absolute-center.htm#comments</comments>
		<pubDate>Mon, 21 Mar 2011 15:30:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=213</guid>
		<description><![CDATA[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 &#60;div id=&#34;xyz_main&#34;&#62; &#60;div id=&#34;xyz_header&#34;&#62; Header &#60;/div&#62; &#60;div id=&#34;xyz_body&#34;&#62; Body &#60;/div&#62; &#160; &#60;div id=&#34;xyz_footer&#34;&#62; Footer &#60;/div&#62; &#60;/div&#62; #xyz_main { width: 140px; border: 1px solid #666666; text-align: left; position: absolute; top: 0px; left: 50%; margin-left: -70px; }]]></description>
			<content:encoded><![CDATA[<p><span id="more-213"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;xyz_main&quot;&gt;
    &lt;div id=&quot;xyz_header&quot;&gt; Header &lt;/div&gt;
    &lt;div id=&quot;xyz_body&quot;&gt; Body &lt;/div&gt;
&nbsp;
    &lt;div id=&quot;xyz_footer&quot;&gt; Footer &lt;/div&gt;
&lt;/div&gt;
#xyz_main {
    width: 140px;
    border: 1px solid #666666;
    text-align: left;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -70px;
}</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/position-absolute-center.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove all img from html</title>
		<link>http://askmetoo.com/remove-all-img-from-html.htm</link>
		<comments>http://askmetoo.com/remove-all-img-from-html.htm#comments</comments>
		<pubDate>Wed, 26 Jan 2011 14:37:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=187</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><span id="more-187"></span></p>
<pre lang="php" line="1">
<?php<br />
$string = 'Here is your content with an image tag _____img src="http://bavotasan.com/wp-content/themes/bavotasan_new/images/bavota.png" alt="Image" /_______' ;<br />
$string = preg_replace("/<img[^>]+\>/i", "", $string); </p>
<p>echo $string // will output "Here is your content with an image tag" without the image tag</p>
<pre>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/remove-all-img-from-html.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CURL Big files download</title>
		<link>http://askmetoo.com/curl-big-files-download.htm</link>
		<comments>http://askmetoo.com/curl-big-files-download.htm#comments</comments>
		<pubDate>Wed, 07 Jul 2010 15:39:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix-Linux]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=161</guid>
		<description><![CDATA[It is not so trivial task but i do not know till now how to make this! 1 2 3 4 5 6 7 8 9 10 11 12 while ! curl -C - -O 'http://download.parallels.com/GA/Parallels%20Desktop%203186%20Mac%20en.dmg'; do sleep 10; done &#160; Also &#160; WGET wget -c http://example.org/file.iso &#160; Or MANUAL with CURL &#160; $ curl [...]]]></description>
			<content:encoded><![CDATA[<p>It is not so trivial task but i do not know till now how to make this!<br />
<span id="more-161"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #000000; font-weight: bold;">!</span> curl <span style="color: #660033;">-C</span> - <span style="color: #660033;">-O</span> <span style="color: #ff0000;">'http://download.parallels.com/GA/Parallels%20Desktop%203186%20Mac%20en.dmg'</span>; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">10</span>; <span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
Also
&nbsp;
WGET
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> http:<span style="color: #000000; font-weight: bold;">//</span>example.org<span style="color: #000000; font-weight: bold;">/</span>file.iso
&nbsp;
Or MANUAL with CURL
&nbsp;
$ curl <span style="color: #660033;">-r</span> <span style="color: #000000;">0</span>-<span style="color: #000000;">350000000</span> http:<span style="color: #000000; font-weight: bold;">//</span>mirror.sov.uk.goscomb.net<span style="color: #000000; font-weight: bold;">/</span>linuxmint.com<span style="color: #000000; font-weight: bold;">/</span>stable<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">/</span>LinuxMint-<span style="color: #000000;">7</span>.iso <span style="color: #660033;">-o</span> LinuxMint-<span style="color: #000000;">7</span> <span style="color: #000000; font-weight: bold;">&amp;</span>
$ curl <span style="color: #660033;">-r</span> <span style="color: #000000;">350000001</span>- hhttp:<span style="color: #000000; font-weight: bold;">//</span>mirror.sov.uk.goscomb.net<span style="color: #000000; font-weight: bold;">/</span>linuxmint.com<span style="color: #000000; font-weight: bold;">/</span>stable<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">/</span>LinuxMint-<span style="color: #000000;">7</span>.iso <span style="color: #660033;">-o</span> LinuxMint-<span style="color: #000000;">7</span>_2 <span style="color: #000000; font-weight: bold;">&amp;</span>
$ <span style="color: #c20cb9; font-weight: bold;">cat</span> LinuxMint-<span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">&gt;</span> LinuxMint-<span style="color: #000000;">7</span>.iso.</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/curl-big-files-download.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RewriteRule &#8211; host redirect</title>
		<link>http://askmetoo.com/rewriterule-host-redirect.htm</link>
		<comments>http://askmetoo.com/rewriterule-host-redirect.htm#comments</comments>
		<pubDate>Thu, 03 Dec 2009 18:53:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=135</guid>
		<description><![CDATA[Will redirect all request from _ld/ folder to another website (.htaccess!!) 1 2 RewriteRule ^_ld/(.*)$ http://fantasy-worlds.ru/_ld/$1 [L] RewriteRule ^_nw/(.*)$ http://fantasy-worlds.ru/_nw/$1 [L]]]></description>
			<content:encoded><![CDATA[<p>Will redirect all request from _ld/ folder to another website<br />
 (.htaccess!!)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bach" style="font-family:monospace;">RewriteRule ^_ld/(.*)$ http://fantasy-worlds.ru/_ld/$1 [L]
RewriteRule ^_nw/(.*)$ http://fantasy-worlds.ru/_nw/$1 [L]</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/rewriterule-host-redirect.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to block backup in admin side of IPB?</title>
		<link>http://askmetoo.com/block-backup-ipb-admin.htm</link>
		<comments>http://askmetoo.com/block-backup-ipb-admin.htm#comments</comments>
		<pubDate>Tue, 27 Oct 2009 08:04:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IPB]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=128</guid>
		<description><![CDATA[To block backups for admin in IPB, You need to open FTP then edit file public_html/admin/index.php 2-line add if (@$_GET['code']==&#8217;backup&#8217;) {EXIT;}; save]]></description>
			<content:encoded><![CDATA[<p>To <strong>block backups for admin in IPB</strong>,<br />
You need to open FTP <span id="more-128"></span><br />
then<br />
edit file public_html/admin/index.php<br />
2-line add<br />
if (@$_GET['code']==&#8217;backup&#8217;) {EXIT;};<br />
<strong>save</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/block-backup-ipb-admin.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get all spam comets from WordPress blog ?</title>
		<link>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm</link>
		<comments>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm#comments</comments>
		<pubDate>Fri, 25 Sep 2009 12:13:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=126</guid>
		<description><![CDATA[Run this code from phpmyadmin 1 2 3 SELECT * FROM `wp_comments` WHERE `comment_approved` LIKE 'spam']]></description>
			<content:encoded><![CDATA[<p>Run this code from phpmyadmin</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"> <span style="color: #990099; font-weight: bold;">SELECT</span> <span style="color: #CC0099;">*</span>
<span style="color: #990099; font-weight: bold;">FROM</span> <span style="color: #008000;">`wp<span style="color: #008080; font-weight: bold;">_</span>comments`</span>
<span style="color: #990099; font-weight: bold;">WHERE</span> <span style="color: #008000;">`comment<span style="color: #008080; font-weight: bold;">_</span>approved`</span> <span style="color: #CC0099; font-weight: bold;">LIKE</span> <span style="color: #008000;">'spam'</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

