Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 59 Pomógł: 0 Dołączył: 15.07.2003 Skąd: Zduńska Wola Ostrzeżenie: (0%)
|
Mam taki skrypt:
pozdrowienia.php [php:1:586f0b6ad2]<?php <html> <head> <body bgcolor="#053765"> <title>Pozdrowanienia</title> </head> <? if ($_post[nick]==admin and $_post[haslo]==admin) { echo("<input type=['text' name='pseudo'>"); } ?>[/php:1:586f0b6ad2] I pozdrowienia.html Kod <html>
<head> <body bgcolor="#053765"> <title>Pozdrowanienia</title> </head> <table border="0" widtrh="400" align="center"><tr> <td><font color="white"><div align="right">nick:</div></font></td> <td><form method="post" action="pozdrowienia.php"> <input type="text" name="nick" size="30"></td></tr> <tr> <td><font color="white"><div align="right">hasło:</div></font></td> <td><input type="text" name="haslo" size="30"></td></tr></table><br> <div align="center"><input type="submit" value="wejdź"></div> </html> </body> I jak zrobic by po podaniu nicku i hasla admin wyswietlal sie <input type="text" name="pseudo"> Co mam zle prosze o poprawki |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 2 064 Pomógł: 1 Dołączył: 22.01.2003 Skąd: Poznań Ostrzeżenie: (0%)
|
[php:1:03ed27fd26]<?php
if ($_post[nick]==admin and $_post[haslo]==admin) { ?>[/php:1:03ed27fd26] RTFM!!! Tablica nazywa się $_POST ! |
|
|
|
Post
#3
|
|
|
Grupa: Zarejestrowani Postów: 59 Pomógł: 0 Dołączył: 15.07.2003 Skąd: Zduńska Wola Ostrzeżenie: (0%)
|
Co niby spenazo poprawil?? Co mam zle za nadal nie wyswietla sie input po podaniu nicku admin i hasle admin??
|
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 80 Pomógł: 0 Dołączył: -- Ostrzeżenie: (0%)
|
eh..
[php:1:b8fb47ed82]<?php $_post[]!=$_POST[] ?>[/php:1:b8fb47ed82] |
|
|
|
![]() ![]() |
|
Aktualny czas: 20.12.2025 - 17:34 |