' . '

' . $LF . ' Enjoy Tiki and' . $LF . ' join the community!' . $LF . '

' . $LF . '' . $LF . '' . $LF; echo $bottomtext; } function checkmyfile_readable($filename) { $read_permission = true; $fileout = fopen($filename, 'r') or $read_permission = false; if ($read_permission) { echo 'testfile is readable'; fclose($fileout); } else { echo 'testfile is NOT readable'; } } function checkmyfile_exists($filename) { if (file_exists($filename)) { echo 'testfile does exist'; } else { echo 'testfile does NOT exist'; } } ?>

Tiki Installation Unzipper

Installation Helper

unzip the Tiki package

This page should always be visible, independent from any installation problems with Tiki. It will help you to download and unzip the downloaded Tiki file directly on the webserver. When this is done you may continue with Tiki installer or (if necessary) with Tiki Permission Check. Make sure to have enough free space on your harddisk. This script will not check and the procedure will fail. If some of the values below are wrong, try reloading this page.

PHP check:



Check Read/Write/Delete Permissions

PHP file check:

PHP read check:

PHP write check: (should be writable)

PHP file check: (should exist now)

PHP read check: (should be readable now)

PHP delete check: (should be deleted)

PHP file check: (should not exist now)

PHP read check: (should not be readable now)

check file permissions



Download Tiki Version

Your Choice: $x

\n"; /* switch($x) { case 'tiki-9.4.zip': $download = true; $download_url = $tiki_zip_url["tiki-9.4"]; $download_name = $x; break; case 'tiki-10.2.zip': $download = true; $download_url = $tiki_zip_url["tiki-10.2"]; $download_name = $x; break; case 'no choice': $download = false; break; default: $download = false; break; } */ if ($download) { if (function_exists(curl_exec)) { echo "$x to be downloaded from Sourceforge to server\n"; $ch = curl_init($download_url); $fp = fopen($download_name, "w"); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_exec($ch); // $info = curl_getinfo($ch); // echo $info."\n"; curl_close($ch); fclose($fp); } else { echo 'PHP curl_exec not installed'; } } else { $dummy = 'foo'; } ?>

$url) { echo ' ' . $version . '.zip
' . $LF ; } // tiki-9.4.zip
// tiki-10.2.zip
?>
INPUT

?>

Unzip Tiki Version

open("$unzip_name"); if ($res === true) { $zip->extractTo('./'); $zip->close(); echo 'unzip ok'; } else { echo 'unzip failed'; } } else { echo 'unzip not successful - does the file exist?'; } } else { $x = 'no unzip'; } ?>

$url) { echo ' ' . $version . '.zip
' . $LF ; } // tiki-9.3.zip
// tiki-9.4.zip
// tiki-10.2.zip
?>