-=HELLBENDER=- Posted June 29, 2011 Report Share Posted June 29, 2011 Sveiki.. Vai ir iespējams izmantojot form nosūtīt informāciju uz lapu, kura ir citā lapā.. Nemāki tieši paskaidrot, tādēļ ielikšu piemēru. <form name="input" action="http://index.php?asd" method="get"> IP: <input type="text" name="ip" /><br/> <input type="submit" value="Banot!" /> Lapa atrodas lapa.php?page=acp&cat=addban. Iesūtot form, ip adresei vajadzētu nonākt uz lapa.php?page=acp&cat=addban&ip=, bet aiziet uz lapa.php?ip=. Kā to labot? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted June 29, 2011 Report Share Posted June 29, 2011 <form name="ievade" action="http://kurnuvajag.kur/lapa.php" method="get"> <input type="hidden" name="page" value="acp"/> <input type="hidden" name="cat" value="addban"/> <label for="ip">IP: </label><input type="text" name="ip" /><br/> <input type="submit" value="Banot!" /> </form> Quote Link to comment Share on other sites More sharing options...
-=HELLBENDER=- Posted June 29, 2011 Author Report Share Posted June 29, 2011 Paldies! :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.