We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

problem z php-fusion


vero
28-05-2006, 01:42
zamiast odpalac stronke z FTP ftp://mojastronka.ovh.pl/php-fusion/phpfiles/setup.php

odpal ja
http://mojastronka.ovh.pl/php-fusion/phpfiles/setup.php

a co do instalacji to tak da sie wszystko tu zainstalowac tzn. CMSy zbudowane na bazie php/my-sql

b3yx1u
05-05-2006, 13:51
Zalozylem sobie tutaj konto . Zmienilem haslo dla sql , zgralem przez ftp php-fusion do ktalatogu /www/ tak jak to mialo byc nastepnie robie ftp://mojastronka.ovh.pl/php-fusion/phpfiles/setup.php

i wyskakuje mi cos takiego

\n"; if ($step == "0") { $locale_files = makefilelist("locale/", ".|..", true, "folders"); $counter = 0; $columns = 4; echo "\n"; for ($i=0;$i < count($locale_files);$i++) { if ($counter != 0 && ($counter % $columns == 0)) echo "\n\n"; echo "\n"; $counter++; } echo "\n
"; if ($locale_files[$i] == $localeset) { echo "".$locale_files[$i].""; } else { echo "".$locale_files[$i].""; } echo "
\n
\n"; } echo "

\n"; echo "\n"; // mySQL database functions function dbquery($query) { $result = @mysql_query($query); if (!$result) { echo mysql_error(); return false; } else { return $result; } } function dbconnect($db_host, $db_user, $db_pass, $db_name) { $db_connect = @mysql_connect($db_host, $db_user, $db_pass); $db_select = @mysql_select_db($db_name); if (!$db_connect) { die("
Unable to establish connection to MySQL
".mysql_errno()." : ".mysql_error()."
"); } elseif (!$db_select) { die("
Unable to select MySQL database
".mysql_errno()." : ".mysql_error()."
"); } } // Strip Input Function, prevents HTML in unwanted places function stripinput($text) { if (ini_get('magic_quotes_gpc')) $text = stripslashes($text); $search = array("\"", "'", "\\", '\"', "\'", "<", ">", " "); $replace = array(""", "'", "\", """, "'", "<", ">", " "); $text = str_replace($search, $replace, $text); return $text; } // Create a list of files or folders and store them in an array function makefilelist($folder, $filter, $sort=true, $type="files") { $res = array(); $filter = explode("|", $filter); $temp = opendir($folder); while ($file = readdir($temp)) { if ($type == "files" && !in_array($file, $filter)) { if (!is_dir($folder.$file)) $res[] = $file; } elseif ($type == "folders" && !in_array($file, $filter)) { if (is_dir($folder.$file)) $res[] = $file; } } closedir($temp); if ($sort) sort($res); return $res; } if ($step == "2") { require_once "config.php"; $link = dbconnect($db_host, $db_user, $db_pass, $db_name); $basedir = substr($_SERVER['PHP_SELF'], 0, -9); } if ($step == "0") { if (is_writable("images") && is_writable("images/articles") && is_writable("images/avatars") && is_writable("images/news") && is_writable("forum/attachments") && is_writable("config.php")) { $write_check = true; } else { $write_check = false; } echo "\n\n"; } if ($step == "1") { $db_host = stripinput($_POST['db_host']); $db_user = stripinput($_POST['db_user']); $db_pass = stripinput($_POST['db_pass']); $db_name = stripinput($_POST['db_name']); $db_prefix = stripinput($_POST['db_prefix']); $config = ""; $temp = fopen("config.php","w"); if (!fwrite($temp, $config)) { echo $locale['430']."\n\n
".$locale['410']."

Co jest grane jak ominac ten program , wogule da sie tu zainstalowac php-fusion ?