Nie wiem gdzie się zgłosić o porade, mam nadzieję że wy pomożecie.
Otóż mam strone w HTML/CSS na serwerze swojego dostawcy, nie wiem czy on obsługuje php. Jakiś diabeł mnie podkusił na eksperyment i załadowałem na swoją strone pliki z tego pliku zip http://www.linkor.pl/download/linkor-HTML-1.6.zip . Moja strona przestała się wyświetlać od tego czasu, wykasowanie wszystkich plików i pozostawienie samego index.htm nic nie zmienia - strona nadal nie działa, wyświetla się taki błąd:
Kod
Not Found
The requested URL /linkor_display.php was not found on this server.
Apache/1.3.33 Server at poczta.rybnik.pl Port 80
The requested URL /linkor_display.php was not found on this server.
Apache/1.3.33 Server at poczta.rybnik.pl Port 80
Wygląda na to że wszystkie pliki htm, html odwołują się do linkor_display.php którego już nie ma, nawet gdy jest to nie pomaga. Tak wygląda "wnętrze" w/w pliku:
Kod
<?php
function file_get_contents_linkor($url) {
$handle = fopen($url, 'r');
if (!$handle)
{
$handle = fopen('index.html', 'r');
if (!$handle)
{
$handle = fopen('index.htm', 'r');
}
}
$string = fread($handle, 4096000);
fclose($handle);
return $string;
}
include_once ('linkor.php');
echo preg_replace ("/<\/body>/i", "<center>".$linkor_links[0][0]." ".$linkor_links[1][0]." ".$linkor_links[2][0]." ".$linkor_links[3][0]." ".$linkor_links[4][0].'</center></body>', file_get_contents_linkor(str_replace ('../', '', $_REQUEST['file'])));
?>
function file_get_contents_linkor($url) {
$handle = fopen($url, 'r');
if (!$handle)
{
$handle = fopen('index.html', 'r');
if (!$handle)
{
$handle = fopen('index.htm', 'r');
}
}
$string = fread($handle, 4096000);
fclose($handle);
return $string;
}
include_once ('linkor.php');
echo preg_replace ("/<\/body>/i", "<center>".$linkor_links[0][0]." ".$linkor_links[1][0]." ".$linkor_links[2][0]." ".$linkor_links[3][0]." ".$linkor_links[4][0].'</center></body>', file_get_contents_linkor(str_replace ('../', '', $_REQUEST['file'])));
?>
Teraz pytanie, jak powrócić do stanu poprzedniego?