![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 0 Dołączył: 10.04.2002 Skąd: Pruszków Ostrzeżenie: (10%) ![]() ![]() |
Witam wszystkich mam nastepujący problem. Na innym z serwerów znajduje sie plik auth.php który obsługuje autoryzacje. Rejestrujemy sie używając formularza
<form action="./auth.php?id=3" method="post"> <input type=text name="username" size="10"><br> <input type=password name="password" size="10"><br> <input type="submit" value="autoryzuj"></form> I teraz pytanie. czy można wykonać taki skryp aby za mnie wypełniał te dane w formularzu i rejestrował mnie sam automatycznie?? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 0 Dołączył: 10.04.2002 Skąd: Pruszków Ostrzeżenie: (10%) ![]() ![]() |
Prosze sie nie smiać to jest taki banał ale nie znam innego wyjscia
<? $id=(int)$id; echo' <html><body OnLoad="java script:document.formularz.submit()"> <form name="formularz" action="http://host.com.pl/auth.php?id='.$id.'" method="post" target="temp"> <input type=hidden name="username" value="user"> <input type=hidden name="password" value="hasło"> </form>'; i tu brakuje mi zeby ten link się sam odpalał ' target='_blank'>http://host.com.pl/remoteget.php?id=.$id.");[/b]. echo'</body></html>'; ?> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 13:16 |