Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Nie działa mi strona php
Forum PHP.pl > Forum > Przedszkole
marnin
Witam!
Mam szablon strony php, który wysłałem przez FTP na serwer yoyo.pl (ten serwer obsługuje php) i kiedy wchodzę na swoją stronę to nic się nie pokazuje. Może trzeba jakoś inaczej wysyłać? Proszę o pomoc.
Cysiaczek
A może tak powiesz do jakiego katalogu? Bo wysłać można, ale trzeba wiedzieć gdzie. Więcej info daj. Np. gdzie masz plik index.php?

Pozdrawiam.
marnin
index.php jest w głownym katalogu
Cysiaczek
Podaj adres, bo inaczej ciężko. Aha. Wklej zawartość pliku index.php
legorek
A mi nie działa samochód.

Dla utrudnienia nie podam jaka to marka model i czy w ogóle ma silnik. Po prostu wsiadam i nie jedzie. Możecie coś poradzić?


Do autora tematu: pokaż kod strony, to może pomożemy.
marnin
To jest kod strony głównej:
<html>
<head>
<title>
<? echo $site_name ?>
-
<? echo $site_title ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<? echo $meta_info ?>
<? echo $head_info ?>
<link rel="stylesheet" href="<? echo "theme/$theme/"; ?>style.css" type="text/css">
</head>
<body background="<? echo "theme/$theme/"; ?>gfx/bg.gif">
<div align="center">
<table cellspacing=0 cellpadding=0 width=760 border=0 align="center">
<tr>
<td bgcolor=#000000>
<table cellspacing=1 cellpadding=0 width="100%" border=0>

<tr>
<td bgcolor=#efefef>
<table cellspacing=0 cellpadding=0 border=0 width=758>
<tr>
<td bgcolor=#efefef width="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>
<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"><img height=4 alt="" src="gfx/separ.gif" width=2></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"></td>
<td valign=top width="752" align="center">
<? header_open();echo '<center>';banner('bannerA');echo '</center>';header_close();?>
</td>

<td width=2 bgcolor=#efefef></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>
<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"></td>
<td bgcolor=#efefef width="752" align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">

<tr>
<td width="145" valign="top">
<? left_menu(); ?>
</td>
<td width="6"><img src="gfx/separ.gif" width="6"></td>
<td align="center" valign="top">
<? print_main() ?>
</td>
<td width="6"><img src="gfx/separ.gif" width="6"></td>
<td width="145" align="right" valign="top">

<? right_menu(); ?>
</td>
</tr>
</table>
</td>
<td bgcolor=#efefef width="2"></td>
</tr>
<tr>
<td bgcolor=#efefef width="4" height="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>

<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

</table>
<br>
<? footer($footer1, $footer2); ?>
</div>
</body>
</html>

A szablon pobrany jest ze strony:http://www.jportal.info/szablony.php
Cysiaczek
No dobrze, ale gdzie jest silnik tej strony?
Skąd bierzesz wartości zmiennych?
Rozumiem, że to "twój pierwszy" raz ze stronami www?
Nic złego, ale....
Jeśli tak, to polecam Temat: Kursy dla poczatkujacych, bo inaczej nie ruszysz. : (

Pozdrawiam.
Sabistik
1) Przenoszę na przedszkole.
2) Proszę poprawić temat na zgodny z regulamin oraz dodać tag zgodny z forum przedszkole.
3) Używaj bbcode!! (popraw w poprzednim poście)
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.