gunmetal Posted December 12, 2010 Report Share Posted December 12, 2010 Nju es tāds iesācējs un neko neko neprasīšu, bet kāpēc bieži vien daudzi nedarbojas ar wnk $_POST, bet gan ar valid key? Piemēram nevis nobalsot lietojot $_POST[..] bet gan http://saite.lv/index.php?balsot=b3jhkbg23hj32gvg32cv Kur ir atšķirība? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted December 12, 2010 Report Share Posted December 12, 2010 (edited) Cik sapratu, viens ir $_POST, bet otrs ir $_GET. http://dagrevis.lv/index.php?x=abc echo $_GET['x']; Rezultāts: abc Edited December 12, 2010 by daGrevis Quote Link to comment Share on other sites More sharing options...
gunmetal Posted December 12, 2010 Author Report Share Posted December 12, 2010 nu bet neliksi jau balsot bg23hj32gvg32cv bet gan piemēram 1 Quote Link to comment Share on other sites More sharing options...
Blitz Posted December 12, 2010 Report Share Posted December 12, 2010 (edited) nu vertibu nosifre, lai ta nebutu saprotama, un butu neko neizsakosa. Tas tiek darits drosibas vai estetiskuma apsverumu delj. Parsvara jau drosibas. Varbut vel tiek ietvertas kadas citas papildus ficas, ka piemeram unikala balsosanas saite, konkretam adresatam utt. Ja pareizi saprotu tavu jautajumu. Edited December 12, 2010 by Blitz Quote Link to comment Share on other sites More sharing options...
daGrevis Posted December 12, 2010 Report Share Posted December 12, 2010 Neizmanto tur $_GET... 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.