HTML - Login Method.
Hello,
I'm trying to make an application for login at neobux.com. with livehttpheards (mozilla addon) I got this: https://www.neobux.com/m/l/ POST /m/l/ HTTP/1.1 Host: www.neobux.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Referer: https://www.neobux.com/m/l/ Content-Type: application/x-www-form-urlencoded Content-Length: 881 lge=65ABC63868BD65BFC5DCB89221A13BB7B892ED5B2038F58935EA883BF03FFA1BFF220E89AD6CC2728C0CBFB217DC353E 6180269EAC32F080C7C7A70BE7BC167F5E32DDD279C8A4A6BE6FA8CD961E4E24179053237E2973A54ECDFAB3333982826F08 3B69C87EA38F4CF89A9E68847667972851E830B9D4E3714B91C49F25941303F610253FC4F1D5D2F97A557B935A35DB3FB349 182B8EF6E39DA97A429191D229FE15F9E766D75FAAE62F34AC68BF44248D515B91FC122C32B75C2904976FFE65A102316BC9 E6AC093D2842787F18873F3B79646BE664CF6B3406C5032CC334887CF430093C5B1F445896D69BB2FB8ED491D4EC0CE65F8D 5687EF47447166D2248D515B91FC122C52BB4F3594BF96347D2B89BBF2A9386EFFDD2DF4F77523ACC9C16831360FBF7D39BC 018158A675A154ACCC586CDE15B535E503189F21E28610AE9A22750590A6B1B848FCE50AAE73D9E824B4D6652178900E4A84 6B6FAF2E& ACA21FB2C4E0BDE5AC87F7643AD4544E 1 = USERNAME & AB1E22E233711912AB202077872D6BC0 0 = PASSWORD & A748E20A58DE19B36C84D15E1FBE0B92 6 =& A59D16F03D043AFD46D4C847786052D2 0 = CAPTCHA &login=1 from source code i've get this: input type="hidden" name="lge" value="65ABC63868BD6....78900E4A846B6FAF2E" <- all this numbers and letters berfore green chars. <input type="text" name=" ACA21FB2C4E0BDE5AC87F7643AD4544E " id="Kf1" <- username <input type="password" name=" AB1E22E233711912AB202077872D6BC0 " id="Kf2" <-- password <input type="password" name=" A748E20A58DE19B36C84D15E1FBE0B92 " id="Kf4" <- secondary password <input type="text" name=" A59D16F03D043AFD46D4C847786052D2 " id="Kf3" <-- CAPTCHA. please note, that those values are changed on each page refresh (that is not a problem). the problem is, that I don't know from where to get those red values after username,password, secondary password, captcha..; also that values are changed as well on each page refresh. any ideas? Thank you. PS: If I opened this thread in a wrong section, i'm sorry. Similar TutorialsThis will be my first website, aside of simple projects from my school class. A friend of mine has a website that is currently already up an running. He would like the site completely re-done, as he moved his company, has new offers, etc. Is the best way to do it, to re-write/edit from scratch, or to use a free website builder? I have beginners html/css/Javascript writing knowledge, and have been searching online when I need help. Let's say he already has a website called www.5star.com If I use a free website builder, will I be able to transfer all that to his domain name he already has so it doesnt become something like www.freewebsite/hostme/5star.com ? He is getting the FTP info from the guy who originally made his site. Thank you. (I have been working it from scratch and have a lot done, but want it to look great, and not just a plain static site). Hello, I have tried to create my own post method script, but I seem to be running into problems every step of the way. I have an HTML based website, that will support PHP. I am trying to create a script to where someone can create and submit a weather forecast with Sky Conditions, highs lows and it would be posted to a "weather" page on my site. The main thing I need help with is how to make my own "Method to POST" my forms on my weather page. If anyone would be a help to me please PM me or reply to the thread. Thank You. Hello, This may be a stupid question, but does anybody know how, if it is possible to submit a form by using just a link? In this situation, I want to submit a form without using a submit button. If anyone can help, that would be great. I was looking at w3schools.com and was reading about <Form> but i found a line that i dont know what means so i wanted to hear if U guys could tell me the meaning in some other ways so i might understandt it The line is this: This method sends the form-data as an HTTP post transaction... I dont understandt what they mean with the HTTP post transaction. THX U for the help 1.Modify your web pages to obtain user input using the GET or POST method. Pages that should be modified include the: a.shopping cart, b.order form, c.and the user administration page. In particular, add code to add, delete, and update customers. 2.Pass this information to another PHP page. Hi everyone, I'm new to the community of HTML Forums. I need a DataBase Software or some other way that can collect E-Mail and personal information from subscribers in a HTML/CSS Website i'm building. This program or method must also have good marketing features like sending batch E-Mails, images and many things. I would really appreciate your feedback. Hi, Please can anyone tell me what is advantage of Get method over Post method.I read Post method is safe,no limitation on output characters so i want to know when post has so many advantages what's the use of Get? I am looking for the most efficient way to put text over a picture. I have a background image that i want to place text over that has to stay in the same spot and same size relative to the image that it is on top of. There are a couple ways i can think to do it. 1. Would be to use an iframe where i want the text to be placed 2. Use css to position the image and the text relative to one another. I am not as familiar with method number 2. If anyone has any ideas on the most efficient way to do this that would be great! http://www.jabproductsonline.com/test/default.html At this site I have a web form that has two steps. Each just gets information, but the second step doesn't ultimately post to the url it's supposed to go to. What's up with this? I have the same type of web form working elsewhere (orange.977mb.com) but this one doesn't seem to want to work. It's posting to a https site, but you can see the code just by going to the web form and checking it out. If you fill in the information, make it clear that it's testing stuff Thanks! I am unsure which of the below methods of embedding a flash object into a web page is correct - and which is a deprecated method. Any help would be very much appreciated! Method one: <object width="800" height="480"> <param name="movie" value="Gallery.swf"> <embed src="Gallery.swf" width="800" height="480"> </embed> </object> -- Method two: <script type="text/javascript"> var flashvars = {XMLFile: "gallery.xml"}; var params = {bgcolor: "#000000"}; swfobject.embedSWF("Gallery.swf", "myAlternativeContent","800", "480", "9.0.0",false, flashvars, params); </script> <div id="myAlternativeContent"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/> </a> </div> bro can u please help me in making my web page efficient.........i want 2 form method refer to the same html page with different functionality. So in January 2006 I posted a question about "making two buttons in one" 3 years and 5 months later i am happy to announce that I have found a solution. Ok, so no I have not spent the last three years looking, but the need for one came around again yesterday so I revisited the project. All I needed was "simple" image toggle. Image 'A' click it once it changes to image 'B' click it again it changes back to image 'A' All the "image toggle" codes I could find were extremely complex. I thought I had finally found one, it wasn't perfect, but it was the smallest and most basic thing I could find. HTML Code: <html> <head> <style type="text/css"> .on {background-image:url(playlist_btn.png); background-repeat:no-repeat;} .off {background-image:url(playlist_btn_x.png); background-repeat:no-repeat;} </style> <script language="javascript"> function togglestyle(el){if(el.className == "on") {el.className="off";} else {el.className="on";}} </script> </head> <body> <div id="onoff" class="playlist_btn"><img src="blank.gif" width="50 height="50" onclick="togglestyle(onoff)"></div> </body> </html> I tested it, it worked, so I considered problem solved. I placed it in my page and nothing. Turns out it wont work with a doc type - so it's useless. Other problems, I'm not big on using "blank gif's" unless I have to, if you want multiple image toggles you need a new JS function for each one, and two lines of css as well. And, though I rarely use image rollovers anymore, it would certainly not be possible in this method. So it was back to the drawing board. Well, I had actually already found the solution a few minuets prior to finding out that the above code is so good. I had coded a button that on rollover shows a tooltip, when you click the button, the text in the tool tip, changes, chick again and it reverts. All done with a simple showHide javascript function, that i am finfing out has many uses. here is the awesome code: Code: function showHide(elementid){ if (document.getElementById(elementid).style.display == 'none'){ document.getElementById(elementid).style.display = ''; } else { document.getElementById(elementid).style.display = 'none'; } } function hideShow(elementid){ if (document.getElementById(elementid).style.display == ''){ document.getElementById(elementid).style.display = 'none'; } else { document.getElementById(elementid).style.display = ''; } } I wont take credit for the showHide code, but I will take credit for the hideShow portion, obviously a monkey could have coded the revers, but iot does make it that much more universal. As the original code was designed to show something that was hidden, add the revers to hide something that is showing and it's perfect. Now I will take a moment to say, though I have yet to find a problem with the code, it seems to work in most browsers, firefox, ie, safari, and validates for WC3 - In sure it has it's flaws. Until now, to show and hide divs I had used the MM_showHideLayers JavaScript function, which by default used the visibility style. It is of course a good script, and has many uses, it's not very big, but it is somewhat complex. The other thing to think about is that invisible objects still take up space. That's what is cool about the display:none: style, is that is not only invisible but it doesn't take up space. So here is how I used the above to JavaScript to make a simple onclick image toggle: HTML Code: <img id="on" src="on.png" width="50" height="50" onClick="javascript:hideShow('on'); javascript:showHide('off')" alt="on"> <img id="off" src="off.png" width="50" height="50" onClick="javascript:hideShow('off'); javascript:showHide('plus')" style="display:none;" alt="off"> Cool huh? Now this example does not have a rollover either, but since it uses to individual images and is not replacing one image wioth another you could easily apply a rollover to both images. But, hold on, look at the above code, isn't that essentially a rollover? Change the first onClick to onMouseOver and the second to onMouseOut and look at that a 'brand new' method for mouseovers. So lets take a look at this for a second, and compare MM_swapImage to this new hideShow method. As far as CSS rollovers I definitely prefer them to the MM_swapImage method, as they use a minimal amount of code. However they actually take a lot of math, construction the buttons is somewhat tedious, because css buttons use 1 image and change it's position, to work well you have to use a "blank.gif" and the the css can really add up if you have a lot of buttons: Also, you can't go directly to a button in the document, you have to fish through the css to make any adjustments. But they are fast, they don't need to be preloaded and... they are pretty cool. But anyway, swapImage and hideShow... The left is the MM_swapImage method. Now when you use the swapImage js you also have to use MM_swapImgRestore, MM_findObj, MM_preloadImages. You don't have to use the preload script but it does make thing work faster... supposedly, but that requires a onload script in the body tag, and if you have a lot of rollovers your body tag can get really long really quick. So what are the advantages, well we know for sure it works, and you only need on image in the document, however actualy having the image you are "swapping" too actually in the document can add functionality. So as you can see, on the right, the showHide method is, in total code, much smaller. True you do need to use two images, so the total code in the body is longer but, it's more than evened out bu the minimal JavaScript, and I think it's worth it. You don't need to use a preloader, you have full control over both images, the up and over state, and unlike the swapImage method, though it's rare you would need to, your up and over images can actually be different sizes, which is kind of cool. So here's the basic code for a rollover: HTML Code: <img id="up" src="up.png" width="50" height="50" onMouseOver="javascript:hideShow('up'); javascript:showHide('over')" alt="up"> <a href="http://google.com"><img id="over" src="over.png" width="50" height="50" onMouseOut="javascript:hideShow('over'); javascript:showHide('up')" style="display:none;" alt="over" border="0"></a> To add a link the button you just apply it to the "over state" image. And unlike swapImage, though it is overkill, you can also add a "downstate" image quite easily. So, back to the on/off button here is how you would code it using showHide with rollovers. HTML Code: <img id="on" src="on.png" width="50" height="50" onMouseOver="javascript:hideShow('on'); javascript:showHide('onover')" alt="on"> <img id="onover" src="on_over.png" width="50" height="50" onMouseOut="javascript:hideShow('onover'); javascript:showHide('on')" onClick="javascript:hideShow('onover'); javascript:showHide('offover')" style="display:none;" alt="onover"> <img id="off" src="off.png" width="50" height="50" onMouseOver="javascript:hideShow('off'); javascript:showHide('offover')" style="display:none;" alt="off"> <img id="offover" src="off_over.png" width="50" height="50" style="display:none;" onMouseout="javascript:hideShow('offover'); javascript:showHide('off')" onClick="javascript:hideShow('onover'); javascript:showHide('off')"alt="offover"> So here is what is going on: you have the upstate on.png image, when you mouse over it on.png is hidden and on_over.png is displayed. When you click on_over.png it is hidden and off_over.png is display, mouse off it and off.png is displayed. Make scene? Now be aware, when you click, you are also in a scene "mousing off" so some flickering can occur. Firefox handles everything pretty well, IE and Safari not so much. When you click the on_over.png the click tells it to hide on_over.png and show the off_over.png, at the same time the mouseoff tells it to hide on_over.png and show the on.png. So fortunately the toggle with rollovers isn't perfect, but perhaps some more tweaking of the code or maybe, in this case swapImage would work better to do the rollovers... But all in all I'd say its a solid concept. If you feel compiled to do so, reply with any comments, concerns or flaws you see. Hi All - I'm new to the forums and also somewhat new to web development. I'm trying to scrape together a website for my wedding and have managed my way through most of it, however the RSVP form is killing me. I believe the page is working fine with FF3 - at least it does what I want it to do. In IE7 however, when the submit button is pressed IE appears to hang, and status bar reads "waiting for rsvp2.php". The page never appears, however the file creation on the back end does complete successfully, so it IS doing something. I have changed the form method to "get" and IE seems to proceed normally, but I don't want to use this as a permanent solution. The URL is below and any help would be greatly appreciated. If there isn't enough information please let me know! www.nikiandzack.com/rsvp.php Thanks, Zack how do i make a login for my website? i only want it to allow the user of admin and pass of bobys firstly ive never learnt HTML before and i still barely know it, im trying to learn it through making a random webpage so sorry if this seems like a newb question ok so ive made a login box with a username, password and a button to click login but i don't know how to 'create' an account that i can use to login. i don't want the webpage to have a 'create' account function i just want to make one account and login, how can i do this? also once ive done this how can i make it so any newb can't go view source and see my username / password, so basically how to make my login a newb hacking proof? thanks Hi I am relatively new to HTML. I am working on a website because I honestly feel capable of setting it up. I've been scripting using C#(C Sharp) for a little over 5 years, so I get the general gist of how to script and what is required of me. I made the website ericstowing.bravehost.com using very little material and my own codes. I know is not complicated but that was only about 1hr30mins worth of work. More to the point though. I am looking for a tutorial on how to set up a login form, with the ability to actual log on set up data and store it on the website. If anyone has a tutorial of something to this extent, or would like to help me personally I would really appreciate it. Thank you for reading. -Nick Greetings everyone! I am sort of new to this. Not totally but i am definately more of a hack. i don't really know about the functionality of web pages but am more driven by the look and hyper links. if i click it and it takes me to the right page i am happy. having said all of that here is my attempt so far (it is a purchased template and i am filling in the blanks) www.rmt-corp.com my questions is that i need some help coding the ftp login box. we have many clients and i would like them to be able to go to our site to login to the ftp site. this will let them see any news we may be displaying as well as stop us from emailing a link like we currently do. i have searched for this code and found various version of it but when i look at the html code for my page i get lost pretty quick. if someone would be willing to help just code it for my page specifically i would be eternally greatful. maybe we could work out a per code price TIA!! I was just wondering how to make a login form on my website heyy, im tryin to create a simple login form on my page, but cnt seem t find coding that once the submit button in clicked and the info is correct, to go to a dif page.. it just stays :S any one help? thanks |