vladimirs Posted December 15, 2005 Report Share Posted December 15, 2005 (edited) hmm.. isumaa.. draugiem.lv paroles laukam katreiz jaunu name generee un piebesijis katrei aizpildit tos laukus. nu uzgaaju ideju par bookmarku - "java script:functionlogin(){document.forms[0].email.value=%22email@inbox.lv%22; document.forms[0].elements[1].value=%22parole%22;document.forms[0].submit()}login();" bet vajag uztaisit lapa.php kas ielaadee un aizpilda tos laukus. bez taada bookmarka. nezinu ka lai iedabuu draugiem.lv lapu savaa lapa.php .. meginaju ar include (negaaja), ar iframe, bet tad neaizpildas forma. lai aizpilditu liku: <script> document.forms[0].email.value=%22email.lv%22; document.forms[0].elements[1].value=%22parole%22; document.forms[0].submit()}login(); </script> rezultaata nebij.. ko daru nepareizi un varbut savadak dariit? Edited December 16, 2005 by vladimirs Link to comment Share on other sites More sharing options...
Delfins Posted December 15, 2005 Report Share Posted December 15, 2005 a priekš kam? bookmark strādā un miers.. īsta jums tā sērga.. Link to comment Share on other sites More sharing options...
Vebers Posted December 15, 2005 Report Share Posted December 15, 2005 file() f-ja Link to comment Share on other sites More sharing options...
bubu Posted December 15, 2005 Report Share Posted December 15, 2005 Nja.. lai ar php aizpildītu tos laikus, iframe ir īstā lieta.. nja. Tev ir jāskatās uz fsockopen() fju un HTTP protokola specifikāciju. Link to comment Share on other sites More sharing options...
vladimirs Posted December 15, 2005 Author Report Share Posted December 15, 2005 ai visu izdomaaju un sataisiju. Link to comment Share on other sites More sharing options...
vladimirs Posted December 16, 2005 Author Report Share Posted December 16, 2005 jautajums atkal. fails new.php ------------------------ <html> <body> <IFRAME SRC="http://draugiem.lv"></IFRAME> ??? // kaa lai aizpilda email un paroles laukus? </body> </html> ------------------------ par bookmarku zinu bet vaig lai izpildas failaa draugiem.lv ir tikai piemeera radiishanai .. Link to comment Share on other sites More sharing options...
bubu Posted December 16, 2005 Report Share Posted December 16, 2005 JS: input_elements.value = "vērtība"; Link to comment Share on other sites More sharing options...
v3rb0 Posted December 16, 2005 Report Share Posted December 16, 2005 daudz un dažādus veidus tak var sadomāt. 1. ar html - copy/paste login formu, aizpildi formu html'ā un tālāk ver vaļā savu locālo/aizpildīto login formu 2. ar php - <iframe src="mans_php_scripts_kas_ar_regex_atrod_dragiem_lv_email_un_paroles_laukus_un_mak_tos_aizpildit_un_pec_tam_paradit_login_lapu.php" /> 3. ar js - document.getElementById("email").value="mansemails"; form.submit(); 4. .. Link to comment Share on other sites More sharing options...
KAC Posted December 16, 2005 Report Share Posted December 16, 2005 nezinu vai veel straadaa, bet es reiz speeleejoties uzrakstiiju shaadi: http://www.klade.lv/2005/11/07/spelejamies-ar-php/#more-37 Link to comment Share on other sites More sharing options...
vladimirs Posted December 16, 2005 Author Report Share Posted December 16, 2005 tas document.getElementById("email") neder jo name var mainities, kaa piem. traukos.. kas tas regex? cik tas nopietni? jaapstas ko tas KAC sameistarojis.. Link to comment Share on other sites More sharing options...
bubu Posted December 16, 2005 Report Share Posted December 16, 2005 Nu tak cilvēk, tev saka priekšā piemēru, ka ar getElementBy.. var dabūt elementu un tam piešķirt to value. Kā tu to pats izmantosi tā ir tava darīšana. Link to comment Share on other sites More sharing options...
vladimirs Posted December 17, 2005 Author Report Share Posted December 17, 2005 jaa jaa, labi labi.. tas curl ko KAC izmanto man nav pieejams.. blee Link to comment Share on other sites More sharing options...
v3rb0 Posted December 17, 2005 Report Share Posted December 17, 2005 fopen(url) varbut ir? Link to comment Share on other sites More sharing options...
vladimirs Posted December 17, 2005 Author Report Share Posted December 17, 2005 shas posmotrju.. Link to comment Share on other sites More sharing options...
Recommended Posts