<?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>LAMPdocs: Linux, Apache, MySQL, PHP &#187; Uncategorized</title>
	<atom:link href="http://www.lampdocs.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lampdocs.com/blog</link>
	<description>Linux, Apache, MySQL, PHP: Docs, Tricks and Secrets</description>
	<lastBuildDate>Wed, 04 Jan 2012 13:11:27 +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>err: merchant purse not activated step:131: How To Fix</title>
		<link>http://www.lampdocs.com/blog/2012/01/err-merchant-purse-not-activated-step131-how-to-fix/</link>
		<comments>http://www.lampdocs.com/blog/2012/01/err-merchant-purse-not-activated-step131-how-to-fix/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 13:11:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=983</guid>
		<description><![CDATA[This is the most common error when you are trying to accept Webmoney through merchant system. If you are getting this error, you should check your merchant area as your purse was disconnected for any reason.]]></description>
			<content:encoded><![CDATA[<p>This is the most common error when you are trying to accept Webmoney through merchant system. If you are getting this error, you should check your merchant area as your purse was disconnected for any reason. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2012/01/err-merchant-purse-not-activated-step131-how-to-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows-Based ATM in Ukraine :)</title>
		<link>http://www.lampdocs.com/blog/2011/12/windows-based-atm-in-ukraine/</link>
		<comments>http://www.lampdocs.com/blog/2011/12/windows-based-atm-in-ukraine/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 09:38:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=979</guid>
		<description><![CDATA[Just wish to say: Happy New Year to everyone! Wish you not to meet such ATM machines in 2012!]]></description>
			<content:encoded><![CDATA[<p>Just wish to say: Happy New Year to everyone! Wish you not to meet such ATM machines in 2012! <img src='http://www.lampdocs.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://www.lampdocs.com/blog/wp-content/uploads/2011/12/IMAG0109.jpg"><img src="http://www.lampdocs.com/blog/wp-content/uploads/2011/12/IMAG0109-300x179.jpg" alt="" title="IMAG0109" width="300" height="179" class="alignnone size-medium wp-image-980" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2011/12/windows-based-atm-in-ukraine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Godaddy Coupons for April 2011</title>
		<link>http://www.lampdocs.com/blog/2011/04/some-godaddy-coupons-for-april-2011/</link>
		<comments>http://www.lampdocs.com/blog/2011/04/some-godaddy-coupons-for-april-2011/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 13:52:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[godaddy april codes]]></category>
		<category><![CDATA[godaddy coupon]]></category>
		<category><![CDATA[godaddy coupon 2011]]></category>
		<category><![CDATA[godaddy off]]></category>
		<category><![CDATA[godaddy sale]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=964</guid>
		<description><![CDATA[Actual godaddy coupon codes for april 2011]]></description>
			<content:encoded><![CDATA[<p>For those who use Godaddy.com, I&#8217;d like to share some coupon codes. Here they are:</p>
<p>SAVE 15%* off your purchase of $50 or more. Just use source code <strong>gdbb1728</strong></p>
<p>Take 10% off your order. Simply enter<strong> gdbba22</strong></p>
<p>SAVE 20%* off your purchase of $65 or more<strong>.</strong> Just use source code <strong>gd9bb</strong><br />
Hope it saves you some money<strong>.<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2011/04/some-godaddy-coupons-for-april-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Adsense Check Reissue: The Only Method That Works</title>
		<link>http://www.lampdocs.com/blog/2011/02/google-adsense-check-reissue-the-only-method-that-works/</link>
		<comments>http://www.lampdocs.com/blog/2011/02/google-adsense-check-reissue-the-only-method-that-works/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 08:38:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adsense check]]></category>
		<category><![CDATA[google check problems]]></category>
		<category><![CDATA[google check reissue]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=960</guid>
		<description><![CDATA[How to request adsense check reissue: the faster way]]></description>
			<content:encoded><![CDATA[<p>Recently I decided to switch to Electronic Funds Transfer for Google Adsense, since it&#8217;s more quick and convenient for me. I have already received some checks and I decided to credit them back to receive funds via Western Union Quick Cash. I&#8217;ve followed Google advices, and went to the following <a href="http://www.google.com/adsense/support/bin/request.py?hl=en&#038;contact_type=request_reissue&#038;rd=1">link</a>. I have tried filling this form about 10 times, trying different values for Payment Amount (Checks are in USD, but my reporting currency is EUR). Every time the response was the same: We are unable to find your check. There are no guidelines or hints on filling the form; Adsense forums are full of messages reporting errors. </p>
<p>Finally I found the solution, that has successfully stopped my check and funds were credited to account balance. Here it is: </p>
<p>All you need is to use another initial URL for the form. Here is the correct URL: <a href="https://www.google.com/adsense/support/bin/request.py?contact_type=request_reissue_received">https://www.google.com/adsense/support/bin/request.py?contact_type=request_reissue_received</a>. After I filled this form, I got the message that my check was stopped. </p>
<p>Hope it saves you some time, since I spent some hours trying to find the solution. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2011/02/google-adsense-check-reissue-the-only-method-that-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of Browser Safe Fonts</title>
		<link>http://www.lampdocs.com/blog/2010/12/list-of-browser-safe-fonts/</link>
		<comments>http://www.lampdocs.com/blog/2010/12/list-of-browser-safe-fonts/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 09:13:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=934</guid>
		<description><![CDATA[Browser safe fonts for Windows and Mac]]></description>
			<content:encoded><![CDATA[<p>Just sharing the link I found: <a href="http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html">common fonts for all browsers</a>. We have recently had issues with a site, designed in Calibri. It&#8217;s a pity, but that font doesn&#8217;t work for Windows XP, that&#8217;s why we had to revert it to standard fonts. Hope it saves you some time.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/12/list-of-browser-safe-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check that a PHP Variable is a Mysql Resource</title>
		<link>http://www.lampdocs.com/blog/2010/10/how-to-check-that-a-php-variable-is-a-mysql-resource/</link>
		<comments>http://www.lampdocs.com/blog/2010/10/how-to-check-that-a-php-variable-is-a-mysql-resource/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 10:08:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[check mysql resource php]]></category>
		<category><![CDATA[php mysql resource]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=924</guid>
		<description><![CDATA[How to check that a PHP variable is a mysql resource]]></description>
			<content:encoded><![CDATA[<p>When you create something related to mysql, it is always important to verify that your variables contain the things you expect. Here are some code lines that will allow you to verify whether your variables are mysql resources or not. </p>
<p>The first way to verify that we deal with the resource is to check it with <strong>is_resource</strong> php function. Here is the sample form PHP official website: </p>
<blockquote><p>
<?php</p>
<p>$db_link = @mysql_connect('localhost', 'mysql_user', 'mysql_pass');<br />
if (!is_resource($db_link)) {<br />
    die('Can\'t connect : ' . mysql_error());<br />
}</p>
<p>?></p></blockquote>
<p>When we know that our variable contain a resource, we need to ensure that it is a mysql resource. Another PHP function will help us to do this. It&#8217;s <strong>get_resource_type()</strong>. </p>
<blockquote><p><?php<br />
$c = mysql_connect();<br />
$restype=get_resource_type($c);<br />
if (stristr($restype, "mysql")) echo "OK";<br />
?></p></blockquote>
<p>This will check the resource type and will return OK if it is a mysql resource. So the final check will look like: </p>
<blockquote><p>if (is_resource($db_link)  &#038;&#038; stristr($db_link, &#8220;mysql&#8221;)) echo &#8220;OK&#8221;;</p></blockquote>
<p>This way you will be sure that you have a mysql resource associated with your variable. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/10/how-to-check-that-a-php-variable-is-a-mysql-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add MySQL Root Password for Directadmin</title>
		<link>http://www.lampdocs.com/blog/2010/10/how-to-add-mysql-root-password-for-directadmin/</link>
		<comments>http://www.lampdocs.com/blog/2010/10/how-to-add-mysql-root-password-for-directadmin/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 09:39:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Directadmin Tricks]]></category>
		<category><![CDATA[MySQL Tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[add root account mysql]]></category>
		<category><![CDATA[mysql root directadmin]]></category>
		<category><![CDATA[mysql root grant privileges]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=594</guid>
		<description><![CDATA[How to add root account for mysql]]></description>
			<content:encoded><![CDATA[<p>Recently I had to deal with a Directadmin VPS that had mysql installed, but for some reason there wasn&#8217;t a record for root in mysql user table. Here are the queries I used to add a root account, and to assign all the necessary privilegies. </p>
<p>First of all We need to create a record with username and password. </p>
<blockquote><p>INSERT INTO user(user, password) values (&#8216;root&#8217;, PASSWORD(&#8216;PASSWORD_HERE&#8217;));</p></blockquote>
<p>Then we need to add all the privileges to our root: </p>
<blockquote><p>UPDATE `mysql`.`user` SET `Select_priv` = &#8216;Y&#8217;,<br />
`Insert_priv` = &#8216;Y&#8217;,<br />
`Update_priv` = &#8216;Y&#8217;,<br />
`Delete_priv` = &#8216;Y&#8217;,<br />
`Create_priv` = &#8216;Y&#8217;,<br />
`Drop_priv` = &#8216;Y&#8217;,<br />
`Reload_priv` = &#8216;Y&#8217;,<br />
`Shutdown_priv` = &#8216;Y&#8217;,<br />
`Process_priv` = &#8216;Y&#8217;,<br />
`File_priv` = &#8216;Y&#8217;,<br />
`Grant_priv` = &#8216;Y&#8217;,<br />
`References_priv` = &#8216;Y&#8217;,<br />
`Index_priv` = &#8216;Y&#8217;,<br />
`Alter_priv` = &#8216;Y&#8217;,<br />
`Show_db_priv` = &#8216;Y&#8217;,<br />
`Super_priv` = &#8216;Y&#8217;,<br />
`Create_tmp_table_priv` = &#8216;Y&#8217;,<br />
`Lock_tables_priv` = &#8216;Y&#8217;,<br />
`Execute_priv` = &#8216;Y&#8217;,<br />
`Repl_slave_priv` = &#8216;Y&#8217;,<br />
`Repl_client_priv` = &#8216;Y&#8217;,<br />
`Create_view_priv` = &#8216;Y&#8217;,<br />
`Show_view_priv` = &#8216;Y&#8217;,<br />
`Create_routine_priv` = &#8216;Y&#8217;,<br />
`Alter_routine_priv` = &#8216;Y&#8217;,<br />
`Create_user_priv` = &#8216;Y&#8217; WHERE `user`.`Host` = &#8221; AND `user`.`User` = &#8216;root&#8217; LIMIT 1 ;</p></blockquote>
<p>And the last command: </p>
<blockquote><p>GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY &#8216;PASSWORD_HERE&#8217; WITH GRANT OPTION </p></blockquote>
<p>Then you can do the same for da_admin mysql user: </p>
<blockquote><p>GRANT ALL PRIVILEGES ON *.* TO da_admin@localhost IDENTIFIED BY &#8216;PASSWORD_HERE&#8217; WITH GRANT OPTION;</p></blockquote>
<p>Restart mysql and have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/10/how-to-add-mysql-root-password-for-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimized MySQL Configuration File my.cnf for Directadmin</title>
		<link>http://www.lampdocs.com/blog/2010/10/optimized-mysql-configuration-file-my-cnf-for-directadmin/</link>
		<comments>http://www.lampdocs.com/blog/2010/10/optimized-mysql-configuration-file-my-cnf-for-directadmin/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 14:55:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[directadmin mysql]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=916</guid>
		<description><![CDATA[Optimized mysql configuration file]]></description>
			<content:encoded><![CDATA[<p>Here is a sample configuration file with optimized default values for Directadmin. If your server load is average, it should suit your needs. Please, note, that this configuration is ready for MySQL 4, not for MySQL 5.</p>
<blockquote><p>[mysqld]<br />
local-infile=0<br />
skip-locking<br />
query_cache_limit=1M<br />
query_cache_size=32M<br />
query_cache_type=1<br />
max_connections=500<br />
interactive_timeout=100<br />
wait_timeout=100<br />
connect_timeout=10<br />
thread_cache_size=128<br />
key_buffer=16M<br />
join_buffer=1M<br />
max_allowed_packet=16M<br />
table_cache=1024<br />
record_buffer=1M<br />
sort_buffer_size=2M<br />
read_buffer_size=2M<br />
max_connect_errors=10<br />
# Try number of CPU&#8217;s*2 for thread_concurrency<br />
thread_concurrency=2<br />
myisam_sort_buffer_size=64M<br />
server-id=1</p>
<p>[safe_mysqld]<br />
err-log=/var/log/mysqld.log<br />
open_files_limit=8192</p>
<p>[mysqldump]<br />
quick<br />
max_allowed_packet=16M</p>
<p>[mysql]<br />
no-auto-rehash<br />
#safe-updates</p>
<p>[isamchk]<br />
key_buffer=64M<br />
sort_buffer=64M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>[myisamchk]<br />
key_buffer=64M<br />
sort_buffer=64M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>[mysqlhotcopy]<br />
interactive-timeout</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/10/optimized-mysql-configuration-file-my-cnf-for-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make Opera Open On-Page Search Results in a New Tab</title>
		<link>http://www.lampdocs.com/blog/2010/09/how-to-make-opera-open-on-page-search-results-in-a-new-tab/</link>
		<comments>http://www.lampdocs.com/blog/2010/09/how-to-make-opera-open-on-page-search-results-in-a-new-tab/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 19:10:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[opera search new tab]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=905</guid>
		<description><![CDATA[Since my default browser is Firefox, I frequently use its ability to select some text in the page and &#8220;Search Google For [selected text comes here]&#8220;. Opera provides this functionality too, the only bad thing is that results are open in the same window. This way I have to go back to the page, then [...]]]></description>
			<content:encoded><![CDATA[<p>Since my default browser is <strong>Firefox</strong>, I frequently use its ability to select some text in the page and &#8220;Search Google For [selected text comes here]&#8220;. <strong>Opera</strong> provides this functionality too, the only bad thing is that results are open in the same window. This way I have to go back to the page, then select the text, then copy it to clipboard, and then use Google Search. </p>
<p>There is a keyboard shortcut that simplifies this procedure. If you need to open search results in a new page, you have to select the text you like to search for, then <strong>Hold Ctrl+Shift</strong>, then <strong>Right click</strong> your mouse and select &#8220;<strong>Search</strong>&#8220;. It&#8217;s very strange that I cannot do this without pressing two additional buttons on the keyboard, anyway, this is simpler than to copy and paste the text you look for. Hope this saves you some time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/09/how-to-make-opera-open-on-page-search-results-in-a-new-tab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 Basic Rules of Working With Online Payment Systems</title>
		<link>http://www.lampdocs.com/blog/2010/09/7-basic-rules-of-working-with-online-payment-systems/</link>
		<comments>http://www.lampdocs.com/blog/2010/09/7-basic-rules-of-working-with-online-payment-systems/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 09:10:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[epassporte visa]]></category>
		<category><![CDATA[withdraw funds frequently]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=896</guid>
		<description><![CDATA[Basic advices to deal with online payment systems. ]]></description>
			<content:encoded><![CDATA[<p>Yesterday all Epassporte account owners have found a message in their account telling that Epassporte activity was blocked by VISA International and they are no longer able to issue new cards. Al the funds in member accounts have become frozen. Though Epassporte owner encourages us not to worry about this, it is a certain phenomenon in Online Business. </p>
<p>Several years ago a famous Russian payment system named Fethard has faced problems just like these. Funds were frozen for an undefined period of time. I haven&#8217;t seen any changes during last years, and I was happy I had no money there. But most people that had funds there have not received them yet. Since I have been living online for last 7 years, I think I can give some advices to newcomers. </p>
<p>1. <strong>Do not store big amount of funds</strong> on Online Payment Processor accounts. These systems are not as trusty as bank accounts and bank issued credit cards. If your account is blocked, you&#8217;ll have to wait until the situation is resolved. </p>
<p>2. Do <strong>log in to your online accounts frequently</strong>. I have an issue with Moneybookers, that&#8217;s why I already know that it is important. You should log in at least once a week to ensure that there are no problems. </p>
<p>3. Ensure that all the necessary <strong>verification steps are done</strong>. Most online payment systems require to upload documents, recent utility bills, etc. It is a good practice to contact them to find out whether you can do anything to verify your account. If something goes wrong, it is important to have a verified account. </p>
<p>4. <strong>Write down all the contact details</strong> for these payment systems. If their site goes down, you can get in touch with them using these numbers. Some payment providers have even ICQ support (Like Epassporte&#8217;s Michael). </p>
<p>5.<strong> Do not send money to unauthorized</strong> and potentially fraudulent accounts. Even if you&#8217;re planning to deal with some stuff like that, create a separate account and don&#8217;t touch your official one <img src='http://www.lampdocs.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>6. <strong>Do not leave payment memos blank</strong>. If you perform any transfers using your online accounts, make sure that your payments have &#8220;human readable&#8221; destinations. </p>
<p>7. <strong>Withdraw your funds frequently</strong>. This seems to be easy enough, the only thing is you need to have funds to withdraw. This means: receive as many funds as possible <img src='http://www.lampdocs.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope this information saves you from potential financial losses. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/09/7-basic-rules-of-working-with-online-payment-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

