Parašė justaslt· 2009 Vas. 20 17:02:58
#11
Da vienas nesudetingas klausimas jums:
Cia index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<FORM method="POST" action="mail.php">
<b>-Jusiu zinute:</b><BR>
<textarea name="msg" rows="3" cols="20"> </textarea> <br>
<FORM method="POST" action="mail.php">
<I>-Adresas:</I><BR>
<textarea name="add" rows="1" cols="20"> </textarea> <br>
<input type="submit" name="Ok" value="Isiūsta" />
</FORM>
</body>
</html>
o cia mail.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>E-mailo spaminimas</title>
</head>
<body>
<?
$address == $add;
$subject="laiskas nuo : $from";
mail($address,$subject,$msg,"Nuo : $from");
echo " Zinute buvo issiusta i ".$address." sekmingai ";
?>
</body>
</html>
Kode kai paspaudziu issiusti, man ismeta toki uzrasa"
Zinute buvo issiusta i sekmingai ", o turi buti pvz taip
Zinute buvo issiusta i bandymas@gmail.com sekmingai.
Dar kode zinute nenueina i e-maila?
Redagavo justaslt· 2009 Vas. 20 17:02:52