formularz - login.php
<?php <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"> <head> <title>infoComp - Twój sklep komputerowy</title> <META http-equiv=Content-Type content=\"text/html; charset=iso-8859-2\"> <link rel=\"stylesheet\" type=\"text/css\" href=\"../bw_style2.css\"> <meta name=\"generator\" content=\"Dev-php 2.0.8\"> <body bottomMargin=\"0\" leftMargin=\"0\" topMargin=\"0\" rightMargin=\"0\" marginheight=\"0\" marginwidth=\"0\" bgcolor=\"white\"> <table cellspacing=\"0\" width=\"100%\" bgcolor=\"#202A5E\" > <tr> <td width=\" 100%\" > <b><font class=\"Verdana_11_white\">Panel administracyjny</font> <a href=\"http://\"><font class=\"Verdana_11_white\">Wyloguj się</font></a></b> </td> </tr> </table><BR> <table cellspacing=\"0\" width=\"97%\" cellpadding=\"4\" align=\"center\" class=\"Verdana_12\"> <tr> <td height=\"32\" style=\"border-width:1; border-top-width:0;border-left-width:0;border-right-width:0; border-bottom-width:1; border-color:black; border-style:solid; \"> <p align=\"left\">Logowanie Administratora<br></p> </td> </tr> <tr> <td > <form name=\"admin\" methd=\"post\" action=\"../admin/panel/admin.php\"> <table cellspacing=\"0\" width=\"100%\"> <tr> <td width=\"108\"> <p>Login:</p> </td> <td> <p><input type=\"text\" name=\"admin_login\"></p> </td> </tr> <tr> <td width=\"108\"> <p>Hasło:</p> </td> <td> <p><input type=\"password\" name=\"admin_haslo\"> <INPUT title=\" Loguj \" type=\"image\" align=\"absmiddle\" alt=\"Loguj\" src=\"../obrazki/zaloguj.jpg\" border=0> </p> </td> </tr> </table> <p> </p> <p> </p> </form> </td> </tr> </table> <p> </p> </body> </html> ?>
plik odbierający:
<?php ?>
przy odbieraniu nie wyświetla nic, pozatym nazwy zmienych umieszcza w adresie ... http://localhost/~sklep/admin/panel/admin....=test&x=11&y=11 jeśli wpiszemy test i test. może coś komuś mówią tajemnicze zmienne x i y? bo ja ich nie umieszczałem, a w ogóle przesyłam POSTEM
o kurde dzięki , jest methd="post" zamiast method="post" można ten temat wykasować?