dzięki działa ale jeszcze trochę kuleje
powstał taki skrypt
<?php
/*
Copyright (c) 2007 Piotrwusek
Released under the GNU General Public License
*/
if(!ini_set('error_reporting', E_ALL
| E_STRICT
)) {
echo 'błąd, zmiana ustawień dla error_reporting nie powiodła się '; }
if(!ini_set('display_errors', 'On')) {
echo '< błąd, zmiana ustawień dla display_errors nie powiodła się '; }
function url_exists($url) {
if($x == False) {
return False;
} else {
return True;
}
}
include("includes/language/polish.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="verify-v1" content="
<?php echo GOOGLE
; ?>" />
<link rel="SHORTCUT ICON" href="
<?php echo IKONA
; ?>">
<meta http-equiv="content-type" content="
<?php echo KODOWANIE
; ?>" />
<meta name="author" content="
<?php echo AUTOR
; ?>" />
<meta name="description" content="Strona klasy 3a gimnazjum" />
<meta name="keywords" content="
<?php echo KEYWORDS
; ?>" />
<meta name="copyright" content="
<?php echo PRAWA
; ?>" />
<meta http-equiv="content-language" content="pl" />
<meta name="distribution" content="GLOBAL" />
<link rel="stylesheet" href="stylesheet.css" type="text/css" />
<title>
<?php echo TITLE
; ?></title>
</head>
<body leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0" background="images/strona/tlo.bmp">
<table border="0" width="908" height="" align="CENTER" valign="TOP" cellspacing="0" cellpadding="0" bgcolor="white">
<tr>
<td background="images/strona/tabela-prawo.bmp" width="11"></td>
<td><?php require("includes/header.php"); ?>
<table border="1" align="CENTER" valign="TOP" cellspacing="0" cellpadding="0" leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0">
<tr>
<?php
$a = url_exists("http://www.zsp3a.za.pl/includes/kolumna-lewa.php");
if($a == True) {
echo('<td width="3"></td><td width="201">'); require("includes/kolumna-lewa.php");
echo('</td><td width="700"><table border="0" width="700" align="JUSTIFY" valign="TOP" cellspacing="0" cellpadding="0"> <tr>
<td><php require("includes/zawartosc.php"); ?></td>
</tr>
</table></td><td width="3"></td>');
} else {
echo('<td width="3"></td><td width="201">'); require("includes/kolumna-lewa.php");
echo ('</td><td width="500"><table border="0" width="500" align="JUSTIFY" valign="TOP" cellspacing="0" cellpadding="0"> <tr>
<td><?php require("inludes/zawartosc.php"); ?></td>
</tr>
</table></td><td width="201"><?php require("includes/kolumna-lewa.php"); ?></td><td width="3"></td>');
}
?>
</tr>
</table>
<?php require("includes/stopka.php"); ?></td>
<td background="images/strona/tabela-lewo.bmp" width="11"></td>
</tr>
<tr background="images/strona/tabela-dol_1.bmp" height="10" widht="201"></tr>
<td ></td>
<td></td>
</table>
<br />
</body>
</html>
a na stronie wyświetla sie
błąd, zmiana ustawień dla display_errors nie powiodła się błąd, zmiana ustawień dla error_reporting nie powiodła się
co robić