<!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" lang="pl"> <head> <title id="page_title">Mailing</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> </head> <body > <form method="post" target="_self"> <p>text:</p> <textarea name="tresc" rows="8" cols="38" ></textarea> <p>tytul</p><input class="text" name="tytul" maxlength="64" value="" /> <p>nadawca</p><input class="text" name="nadawca" maxlength="64" value="" /> <input type="hidden" name="action" value="send"/> <input type="submit" value="Wyslij"> <? switch($action) { case "send": $username="$username"; $password="$password"; $database="$database"; $host="localhost"; { { $mail = $dane["mail"]; } } default: break; } ?> </bpdy> </html>
Pytanie ejst dalekj aktualne
