Search

Rss Posts

Rss Comments

Login

 

Posts in ‘Uncategorized’

RewriteRule – host redirect

Dec 03

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]

How to block backup in admin side of IPB?

Oct 27

To block backups for admin in IPB,
You need to open FTP read all »

How to get all spam comets from Wordpress blog ?

Sep 25

Run this code from phpmyadmin

1
2
3
 SELECT *
FROM `wp_comments`
WHERE `comment_approved` LIKE 'spam'

How to allow ftp clients to list .htaccess in proftpd?

Sep 21

So how to allow ftp clients to list .htaccess in proftpd?

We need to open
/etc/proftpd/proftpd.conf

1
ListOptions                <--->"-l"

to

1
ListOptions                <--->"-a"

and then restart proftpd!

How to speed-up ProFTPd?

Aug 26

It is really ease!
1) edit /etc/proftpd/proftpd.conf read all »

How to cat text in PHP with HTML?

Jun 02

How to cat text in PHP?

function cut($x) {
    if(strlen($x) > 40) {
        $x = substr($x, 0, 40);
        $y = strrpos($x, ' ');
        $x = substr($x, 0, $y);
    }
    return $x;
}

apachectl configtest -bash: apachectl: command not found

May 14

apachectl configtest -bash: apachectl: command not found

HOW TO FIX apachectl on debian

Just run some commands read all »

How to convert .odt fileas a .txt file or similar windows ward 2007

Mar 06

You could use OpenOffice.Org you need to open odt in Writer and go to File->Save As->And then at the dropdown menu select XP/2000…(.doc) or (.txt).
Or also you could use this website: http://media-convert.com/
Or: http://www.zamzar.com/
You can also view it in this: http://viewer.zoho.com/, if you’re not interested in a long term solution

How to FAST inslall coomands WordPress Lecactus Edition

Feb 06

wget http://lecactus.ru/download-manager.php?id=467
or 
wget http://lecactus.ru/download-manager.php?id=491
unzip wordpress*
rm wordpress*.zip
rm *.html
rm *.txt
cp -r wordpress/. public_html/
rm -r wordpress/
chmod g+w ./public_html/
chmod g+w ./public_html/wp-content/uploads/

also upgrade /wp-admin/options-privacy.php?updated=true

How to change chmod for folders and files recursively?

Dec 09

chmod for all sub folders 4770, also for siles 660 …

1
2
find /path -type f -exec chmod 660 {} \;
find /path -type d -exec chmod 4770 {} \;
 
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
28 queries. 2.393 seconds.