Submitted by Anonymous (not verified) on Mon, 05/10/2010 - 01:15

Apuesta Cartas Affiliate Program

Are you tired of the rat race, working from 9 to 5 with little or no rewards? Do you dream of financial freedom, where you are your own boss, make your own decisions and write your own paycheck?

Business Plan
Then you need to partner with our Poker Affiliate Program. We will help you to take charge of your financial future with a profitable business plan that includes:

•A guaranteed rev share of 20%, to 40% of net profits!
•A global strategy – access all markets, worldwide!

Set auto_prepend_file with .htaccess on Hosteurope managed hosting

Submitted by Anonymous (not verified) on Mon, 05/03/2010 - 11:11

To set a standart auto_prepend_file for php on a dedicated root server is not a bit thing but on a virtual webhosting or managed server it could be a big issue. Because you dont have systemwide global access to httpd.conf and php.ini files.

My small solutions for Hostrurope managed virtual hosting packets:

Add this line to your .htaccess file
php_value auto_prepend_file  /is/htdocs/wp1193698874_ABCDEFGH/www/auto_prepend.php

And be sure that your auto_prepend.php really exists and its path is correct.

Replace string in big database or large text file

Submitted by Anonymous (not verified) on Sun, 05/02/2010 - 22:28

You have a cms and a big database with over 100 tables and 100.000 entries. And you need to replace all entries contain "" with "". How you do that? Editing all entries manually with phpmyadmin? It could takes weeks to complete. I have found a solution and want to share with you.


1. Export your whole database in a text file : db.sql
2. Replace string using Linux sed command
3. Empty your db and import new sql file

Export your mysql database into a text file: db.sql

mysqldump -u root -p your_database_name > db.sql

[Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired

Submitted by rex on Fri, 04/30/2010 - 17:16

I've tryed to dump my whole databases with mysqldump

mysqldump --all-databases > all_databases.sql

got the error 'Table './eximstats/sends' is marked as crashed and should be repaired when using LOCK TABLES'

'eximstats' is my databasename und 'sends' my tablename.

I've tryed to repair the table with

mysqlcheck -u root --check auto-repair --optimize all-databases

but it no not worked

I've also tryed to repair ith with

mysql> repair table eximstats.sends;

Configure phpMyAdmin to login automagicly without prompted for username and password

Submitted by n8coder on Thu, 04/29/2010 - 11:30

Do you need to configure phpMyAdmin to login automagicly without prompted for username and password? I needed two hours to get it works, do not spend so much time and just follow steps below:

1. Download PhpMyAdmin

2. unzip phpmyadmin

3. create a file named "" with following content and replace login information with yours

 * Date: Thu, 29 Apr 2010 11:20:23 +0200

/* Servers configuration */
$i = 0;