Parašė Lietuvos_pilietis· 2008 Spa. 4 14:10:05
#1
Ar imanoma i mano padaryto titulinio .htm idėti .php ar cia tik i
php ideti htm turini?
Parašė Lietuvos_pilietis· 2008 Spa. 4 14:10:23
#3
google nepraplete tutorialu gal cia pasakus kas del to ifreimo cia kodai dedami pries ikeliant? Jai taip idekit juos jai imanoma:)
Parašė ozzWANTED· 2008 Spa. 4 14:10:12
#4
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [T=application/x-httpd-php]
Parašė Lietuvos_pilietis· 2008 Spa. 4 14:10:32
#5
tai htm faile reik sita talpinti
<?php
$v_skaicius = 50;
$title = "Pažintys 1.0 by neuro (SinSoul)";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><? print $title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
<meta http-equiv="Content-Language" content="lt">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<table align="center" width="400" height="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td colspan="2" width="100%" height="50" align="center">
<form action="funkcija.php" method="post">
<input type="text" name="vardas" value="Vardas (15)" maxlength="15" size="30">
<input type="text" name="numeris" value="+3706" maxlength="12" size="30"><br>
<input type="text" name="pastas" value="El. Paštas (30)" maxlength="30" size="30">
<input type="text" name="aprasymas" value="Trumpas aprašymas (150)" maxlength="150" size="30"><br>
<select name="lytis" size="1">
<option value="1" selected>Vaikinas</option>
<option value="2">Mergina</option>
</select>
<input type="submit" value="~~ registruotis ~~">
</form>
</td>
</tr>
<tr>
<td width="50%" align="center" valign="top"><p><img src="vyriska.gif" alt="" width="58" height="65" border="0"></p>
<!-- VAIKINAI -->
<table bgcolor="#f4f4f4" width="90%" cellspacing="0" cellpadding="0" border="1" bordercolor="#c0c0c0">
<tr>
<td>
<?php
$failas = file("vaikinai.txt");
if ($psl == "") { $sk=sizeof($failas);
$riba=0;
while ($sk > 0 && $riba < $v_skaicius) {
$sk=$sk-1;
$mas=explode("|", $failas[$sk]);
if($mas[2]=="")
echo("<li>$mas[0] / $mas[1] / $mas[4]<br> $mas[3]<br><br>");
else
echo("<li><b><a href='mailto:$mas[2]'>$mas[0]</a></b> / $mas[1] / $mas[4]<br> $mas[3]<br><br>");
$riba++;
}
}
?>
</td>
</tr>
</table>
<br><br>
</td>
<td width="50%" align="center" valign="top"><p><img src="moteriska.gif" alt="" width="58" height="65" border="0"></p>
<!-- MERGINOS -->
<table bgcolor="#f4f4f4" width="90%" cellspacing="0" cellpadding="0" border="1" bordercolor="#c0c0c0">
<tr>
<td>
<?php
$failas2 = file("merginos.txt");
if ($psl == "") { $sk=sizeof($failas2);
$riba=0;
while ($sk > 0 && $riba < $v_skaicius) {
$sk=$sk-1;
$mas=explode("|", $failas2[$sk]);
if($mas[2]=="")
echo("<li>$mas[0] / $mas[1] / $mas[4]<br> $mas[3]<br><br>");
else
echo("<li><b><a href='mailto:$mas[2]'>$mas[0]</a></b> / $mas[1] / $mas[4]<br> $mas[3]<br><br>");
$riba++;
}
}
?>
</td>
</tr>
</table>
<br><br>
</td>
</tr>
<tr>
<td colspan="2" align="center" height="10"><a href="http://url" target="_blank" title="autorius email">Autorius</a></td>
</tr>
</table>
</body>
</html>
tarp
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [T=application/x-httpd-php]
?
visdelto kazkas netaip mano daroma?|
Redagavo Lietuvos_pilietis· 2008 Spa. 4 14:10:06