Skip to main content


Showing posts from March, 2016

How to move your web folder in the account on!

Run ssh and login with your own account (ex. fs-youraccount)

check the path where is located your web area by going up for 2 folders and changing to the web directory

In my case my home folder is:
 and my web folder is

Just create a symbolic mlink
ln -s /var/www/clients/client456/web303/web /var/www/clients/client456/web303/home/fs-guida/

And now you can see your "web" subfolder via ftp.

That's all :)

If you need a basic (italian) guide to have a new shell and website for free follow this link:
La guida per avere una shell gratis e farci girare un bnc o psybot o altro.

Get the version of opencart from the index file using an external script.

If you are writing standalone scripts that are using the informations from opencart this small function can be useful. It will return the current version of opencart.

function getcurrentversion($indexfile='index.php'){
    if(file_exists($indexfile)) {
        $fd = fopen($indexfile,'r');
        if(empty($fd)){return false;}
        while (!feof($fd)) {
            $buffer = fgets($fd);
            if(preg_match("#define\('VERSION', '(.*?)'\);#",$buffer,$matches)){
                return $matches[1];
    } else {
        return false;

I add also a switch with different opencart versions. Not very useful but there are also older and not (not anymore) documented versions.

    case '':
    case '':
    case '':
    case '':
    case '':

Portable ASP Web Server for Windows! Definitive Solution to not waste time!

If you don't want to install a lot of useless stuff on your computer I highly recommend to use

Baby Web Server

This is the fastest, simple, best, portable solution to have a webserver that supports Microsoft ASP (Active Server Pages).

It's simplicity is a miracle if confronted with all the stuff that you need to do with an iis installation and configuration.

It just Works!

how to refresh Wordfence Falcon Cache - wordpress plugin

The fastest way to *refresh* Wordfence Falcon Cache is to Disable and Reenable it from the "Performance Setup"!


delete all the files from within

That easy? well, yes ...

Remember to manually backup not only the .htaccess but also your wordpress.

Forbidden tiki-install.php - [SOLUTION]

403  Forbidden tiki-install.php

When this error happens during the installation
403 Forbidden You don't have permission to access /tiki-install.php on this server.

In most cases it's not an error related to the files permissions.

Check your error logs before anything so that you can solve the specific problem as fast as possible.

In my case I got this error:
[rewrite:error] [pid 1964:tid 2044] [client ::1:11439] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : tiki-install.php, referer: http://localhost/tikiwiki/tiki-install.php

And solved by configuring the htaccess with:

Options +FollowSymLinks If you have installed tikiwiki in a subfolder also remember to change the rewritebase (ex. with tikiwiki):

RewriteBase   /tikiwiki/