News Download FAQ Feedback Site map Demo
Бесплатный хостинг на операционной системе Centos 5.2 в датацентре Internap (Вашингтон, США) <<- cPanel 11 Fantastico Rvskin!
Documentation
AlfaUngzipper - the tool for backup site, following reclamation, transfer to another host, global rights of access (chmod) change on the entire site.
Here are the the beauties to backup site by other assets:
AlfaUngzipper functions with any server with PHP 4.3.2 and higher. Also zlib library is required (gzip, it is installed in most servers supporting PHP).
AlfaUngzipper has a graphic, convenient interface. AlfaUngzipper is multilingual. Now script contains the following languages:
Also external design is also supported. For this you are to put the file auae_tpl.html in the same folder, where the script is.
The structure of the archive in AlfaUngzipper is the following:
A file is packed by the standard gzip library.
Inside a file is of the form of “one row”, i.e. the archive is logged as if in one row but with special delimiters. The delimiters are:
wispl – delimits the relative path, name, rights of access and the data from other files.
wisfn – delimits the path, the name, the rights of access and the data from each other.
When changing the rights of access and packing the php function glob() activates. It functions fast enough but imposes some constraints, or more exactly the impossibility of packing of hidden server files (e.g. those, beginning with a dot). That’s why in the process of the operations the additional check-out for the availability of the two basic server files - .htaccess и .htpasswd is switched on. They, in spite of their “secrecy” are handled by the script.
When unpacking the uninstall (rollback) log file is created. During the deinstallation the information about the paths of the files reads into the array, the array overturns (the key-reverse) and the deletion of the files begins. Non-empty directories and the directories, not included into the delition list, remain unchanged.
The list of the configurational parameters is:
$name – login for the script access (md5 enciphering in one pass).
$pass – password for the script access (md5 enciphering in one pass).
$auth – the authorization method: 1= the authorization through WWW-Authenticate: Basic, 0= the authorization through web-form, other figures= without authorization (INSECURE!!!)
$instname – the display name of the installable batch (instead of AlfaUngzipper).
$skip_testserver – if preset 1 the check-out for the compatibility with the server settings is not passed.
$min_php_vver – the minimum version of the PHP-interpreter (the version not lower than 4.3.2 is recommended)
$max_execution_ttime – the maximal unpackage time of backup site. On default the time of 30 seconds is determined in most servers. Here are some variants of increasing the time:
1) ini_set('max_execution_time', 30);
2) ini_alter('max_execution_time', 30);
3) set_time_limit(30);
The last variant is the most reliable one and in most cases it works. The command is to be inserted in the new line right after the configurational parameters. You can change the number 30 by a notoriously larger number ( about 300). However, if you pack/unpack up to 10 Mb of info, in most cases you won’t have to change anything.
$neverlog – to never create a uninsall (rollback) log. Preset 1 if you don’t want to switch on the deinstallation function.
$gzip_page – the compression of the output. If your hoster forcibly switches on the ad in your output – preset 0.
Stats, counters, статистика, счётчики
©2005-2010 AlfaUngzipper