lucascain Posted October 10, 2013 Share Posted October 10, 2013 I'm trying to create a login type page, where the user enters a certain string into a text box. This can be any string, from 1 character to 40 characters. I need to pass the string through a md5 hash generator. However, once the user has entered the string, it will add a salt code to the end of the string. For example, if the user entered 123456789 as the string, it would add a predefine salt code to the end of that string. Eg. 123456789:saltcode. THe md5 hash generator that it is passed through would then generate a md5 hash code. I would then like to take the md5 hash code, along with the string originally entered, and enter this into a certain url. Eg. http://www.testurl.com/ (original string here) / (md5 hash generated code here) Once this URL has been produced...I then need to insert this into a HTML style sheet, at a certain point in the sheet (which is loaded into an iframe on the HTML sheet). So essentially, the page the login takes you to is simply a page with an iframe and the source of the iframe is the URL that was generated. How is this possible? I know basic HTML and CSS. I'm stuck at what to do from here. Any help, greatly appreciated. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/282862-help-with-login-page/ Share on other sites More sharing options...
cyberRobot Posted October 10, 2013 Share Posted October 10, 2013 You'll need to use something like PHP or JavaScript to process the text box. Quote Link to comment https://forums.phpfreaks.com/topic/282862-help-with-login-page/#findComment-1453408 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.