HTML - Login Page For A Bands Songs
i have a friend in a band who wants to be able to email a link to labels interested in their music. the email would also contain a username and password that allows access to an album.
is there a simple way (basic HTML coding) to create a login process on a web page? any help would be appreciated. i'm not entirely skilled in web design... i've built two sites and am mainly a WYSIWYG type of designer. i'm continually honing the craft, so basics are what i need. thanks and sorry for my ignorance. ira Similar TutorialsHi! I'm a html novis in need of a helping hand. I'm a musician and I use my homepage as my "portfolio" for live gigs etc. Everything works more or less as it should but I'm missing a key feature; I want to see how many plays each song have. I've got a click-counter that works on html-links, but my songs are played in some kind of flash-player and I cant implement the click-count feature on it... I'm stuck! Anyone have any kind of idea on how to solve this? Anything goes; a totally different player, "ugly html", whatever let me see how many plays each song have. My current player looks like this: http://i34.tinypic.com/10yj238.jpg And the code looks like this: Quote: <p><object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="27" width="390" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="_cx" value="10583"><param name="_cy" value="714"><param name="FlashVars" value=""><param name="Movie" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3"><param name="Src" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3"><param name="WMode" value="Window"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="-1"><param name="Base" value=""><param name="AllowScriptAccess" value="never"><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowNetworking" value="all"><param name="AllowFullScreen" value="false"><embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=url to mp3" allowscriptaccess="never" quality="best" bgcolor="#FFFFFF" wmode="window" flashvars="playerMode=embedded" pluginspage="http://www.macromedia.com/go/getflashplayer" height="27" width="390"></object></p> I'm very thankful for any help I can get! Hi, I have the following situation. I want when the user types http://locahost/abc.html or http://locahost/xyz.html he should be automatically redirected to the http://locahost/login.html page User can only access http://locahost/xyz.html page when he clicks a link on http://locahost/abc.html and not by directlty typing it in the browser. By this i want only authorized users to have access to my web pages. My web portal is hosted on apache server on linux OS. How can i do this? Any help would be greatly appreciated. Hi i work for a web design company and im new to dreamweaver and html My client needs me to create a main landing page for his site and it will say click here to enter and when i click here to enter it will require a user name and password to get into the site, how do i do that? If i make a login page in html like HTML Code: <html> <head> <title>Test Box</title> </head> <body> <br> <input text maxlength="15" onfocus="this.value=''" type="text" value="User name"> <input text maxlength="20"onfocus="this.value=''" type="password" value="Password"> <button disabled>Login</button> </body> </hmtl> Then how to i do it so when they enter there username and password the login button is active. I'm a professional photographer, I taught myself how to design websites in the beginning of 07. While my site www.8aphotography.com may be basic it has a look that I enjoy. My question is how can I get a simple way for my clients to login to a private gallery. I searched Google and so forth but came across nothing that showed how to do it. I'm looking to be able to give my clients a user name and password that they could type in to view their photographs. Anyones help would be greatly appreciated. Philip Hi all. Just wondering how to make sign up and login pages for a site but don't know how to save the data entered for sign up and then check it for login! I am just learning how to do HTML & I want to do a login page for my final website. I need the HTML code with ALL directions on where to put it what to change so the things save to somewhere, how to direct the page so after you hit "Login" it will go to another page. I want the most simple codes possible, ty I dont know where to post this and i searched and couldnt find it but can anyone help me.. im creating a webpage using dreamweaver cs3 and i need to password protect a page, using a username and password, can this be done any other way besides php? If so how can i do it? hi i finished my html project but i still need to make a login page for the project.and this page should be linked to a database.i mean the username is the email saved in the database and the password also saved in MS access database. i created the form but i don't know how to link it to database and how to verify if the username and password r correct or not and if username and password correct open system.html if not open login page. if u please can give me some suggestion? I am working on my school's website and one of the teachers would like a page that she can log into and post assignments and what not. I figured this wouuld be easy, but the server does not support PHP, which means no SQL either. How should I go about making this page with straight html? Hi, I have 6 users who need to access a roster on the website. only they are to view the roster can I use a flat file with their usernames and a passwords? Hi, this is jyothi. I am new in this site, I am preparing new program with login page, But I don't know the script for the login button, Can anyone please help me. anyone knows a way to sign into google apps without involving a google hosted sign in page? somebody in a blog described same problem like "We're having a Google Apps mail service. And we want to create a gmail login form on our main site. The mail login page resides at mail.our_domain.com. And we're trying to create a form at www.our_domain.com pages to send the user to his gmail account. I've copied the whole html code from mail.our_domain.com and placed in www.our_domain.com pages. And when the form gets submitted it redirects to mail.our_domain.com displaying the login form with security warning that it is only safe to log in from there. " since i do not understand html or so i need help, lets say my domain is xy.com, how must the html code must look like to enter google apps mail directyl from my domainwebpage. Please help Hello, I have an avactis website. I want to manually add a passphrase page infront of the website. I would prefer to do this outside of avactis. I have the code to make the login (which is encrypted in the source). How do I add a page with the passphrase code infront of the webpage so that when you type in the domain name, it redirects to the home. Cheers, Ryan Hello gurus, usually i write code to bypass the login and passwd page for science journals as in our organisation we want to give the access to journals for all users ith out they knowing the passwd.. I copy the page source of the login page of journal and change login and passwd type to hidden and enter the value..in the form.. But this particular journal is giving this following probs.. <INPUT TYPE="hidden" NAME="signin" VALUE="Sign In" TABINDEX="3"> if I change hidden to submit it is working..but i donot want the user to click sigin also..it should directly login to the journal.. Pls help tosolve this problem.. or is there any other way to bypass the login page and enter in to a site if i know the login and passwd.. thanks Ok, This might be a bit confusing but ill try my best. On my main website homepage i have a splash image which when clicked redirects to the main website, also in another folder i have a phpbb3 Forum. Below the image on my homepage i have a login box for the forum as well. What i would like to do is to hide that login box unless a keyword is entered before hand, and make the domain.com/forum URL inaccessible unless you login through this route. basically hiding the forum completely so people dont actually know its there. I could do this through .htaccess however i was hoping there was a "cleaner" way to do this. Many Thanks Rob Is this possible? I remember seeing this somewhere but I don't really remember how to place the info in the address. Is it something like http://test.com@username:password ? Thanks! I have a register and login page and would like to add an autoresponse email. The end result being when people register they have to click a link in their email before being able to login. Essentially to stop fake email addresses being used. All the coding works well but I'm having trouble adding the autoresponder part. The current code is below. Can anyone help? I'll buy you all kinds of cakes and fizzy pop if you can. :-D <?PHP ob_start(); //Connect to enter the information into the fields $link = mysql_connect('localhost','bangers', 'andmashme') or die("Could not connect"); mysql_select_db('bangers') or die("Could not select database"); //Todays date $date = time(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>BANGERS AND MASH: VIEW PICS LOGIN</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <link href="III.css" rel="stylesheet" type="text/css"> </head> <body ><center> <body bgcolor="white"> <img src="banner.png" width="597" height="159" border="0"> <!-- ----------------------------------------------PALN A PARTY--------------------------------------------------------------------------------------> <div class="leftcontent"> <div class="leftTop">.</div> <p class="boxtext"> <font color="black"><font face="Courier New"> <b>Welcome to the weekly updated... <br> BANGERS AND MASH GALLERY!</b> <br> Take a moment to register, & Existing users proceed to the enter gallery section</p> <p class="boxtext"> <font color="black"> <div class="leftbottom"></div> <div id="clear"></div> <div class="leftTop"></div> <? if ($type == 'login') { //LOG IN AREA $sql_check = mysql_query("SELECT * FROM `gallerytable` WHERE 1 AND `email` LIKE '$email2' LIMIT 0 , 30") or die ("Unable to get results."); $auth_list = mysql_fetch_array($sql_check); function CheckEmail($Email = "") { if (ereg("[[:alnum:]]+@[[:alnum:]]+\.[[:alnum:]]+", $Email)) { return true; } else { return false; } } if (mysql_num_rows($sql_check) > 0 && CheckEmail($email2)) { $email = $auth_list['email']; $cookie_data = $email.':'.$date; setcookie('galleryid', $cookie_data, time()+1118640); echo ' <p align="right" class="boxtext"> <h2>PLEASE WAIT....</h2> </p>'; echo "<meta http-equiv=\"Refresh\" content=\"0; url=gallery2.php?contentfolder=". date("Y") ."\">"; } else { echo ' <p align="centre" class="boxtext" font color="black"> <h2>FAILED</h2> <h2>This email has not been registered with us. <br>Please go back and register in order to view the gallery.</h2> <a href="javascript:history.go(-1)"><img src="back.jpg" width="104" height="41" border="0"></a> </p>'; } } else if ($type == 'register') { // CHECK EMAIL FUNCTION //*********************** function check_email_mx($email) { if( (preg_match('/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/', $email)) || (preg_match('/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/',$email)) ) { $host = explode('@', $email); if(checkdnsrr($host[1].'.', 'MX') ) return true; if(checkdnsrr($host[1].'.', 'A') ) return true; if(checkdnsrr($host[1].'.', 'CNAME') ) return true; } return false; } // Check if its in there $result=mysql_query("SELECT * FROM `gallerytable` WHERE `email` = '$email'"); // IF email is ok if (!check_email_mx($email)) { echo ' <p align="right" class="boxtext" font color="black"> <h2>EMAIL ERROR</h2> <h2>You have entered an incorrect email. <br> Please click the button below to go back and try again.</h2> <a href="javascript:history.go(-1)"><img src="back.gif" width="104" height="41" border="0"></a> </p>'; } elseif (mysql_num_rows($result) <= 0) { //Puts deatils into the bangers database $insert=mysql_query("INSERT INTO `gallerytable` (`id`, `fname`, `sname`, `email`, `telno`, `date`) VALUES ('', '$f_name', '$s_name', '$email', '$mobile', '$date')")or die('couldn\'t Insert record into bangers database :'.mysql_error()); echo ' <p align="right" class="boxtext" font color="black"> <h2>THANK YOU FOR REGISTERING!!</h2> <h2>Your details have been registered with us and will not <br>o the login section to view images.</h2> <a href="javascript:history.go(-1)"><img src="back.gif" width="104" height="41" border="0"></a> </p>'; } else { echo ' <p align="right" class="boxtext" font color="black"> <h2>REGISTERED</h2> <h2>YOUR DETAILS HAVE ALREADY BEEN REGISTERED WITH US. PLEASE PROCEED TO THE ENTER GALLERY SECTION.</h2> <a href="javascript:history.go(-1)"><img src="back.jpg" width="104" height="41" border="0"></a> </p>'; } } else { echo ' <table width="800" boder="0" align="center"> <table width="600" border="0" align="center"> <tr> <td valign="middle" colspan="2" align="center"><p><img src="register.gif" width="227" height="26" /></p> </td> <td valign="center" colspan="2" align="center"><img src="entergallery.gif" width="227" height="24" /> </td> <td> </td> <tr> <td width="300" valign="middle"> <p><strong><img src="required1.gif" width="227" height="31" /></strong></p> </td> <td width="300" valign="middle">  </td> <td width="300" valign="middle"> <form name="login" method="post" action="'.$_SERVER['PHP_SELF'].'"> <img src="email1.gif" width="227" height="24" /> <td width="300" valign="middle"> <input name="email2" type="text" size="16" class="Field" /> </td> <tr> <td> </td> <td> </td> <td> </td> <td width="300" valign="middle"> <input name="type" type="hidden" value="login"/> <input name="Submit" type="image" class="submit" value="Submit" src="submit.gif" align="right"> </form> </td> <tr> <td width="300" valign="middle"> <form name="register" method="post" action="'.$_SERVER['PHP_SELF'].'"> <p><img src="name1.gif" width="227" height="27"/> <td width="300" valign="middle"> <input name="f_name" type="text" class="Field" id="f_name" size="16"/> <tr> <td width="300" valign="middle"> <p><img src="surname1.gif" width="227" height="28" /> <td width="300" valign="middle"> <input name="s_name" type="text" class="Field" id="s_name" size="16"/> <tr> <td width="300" valign="middle"> <p><img src="email1.gif" width="227" height="24" /> <td width="300" valign="middle"> <input name="email" type="text" size="16" class="Field" /> <tr> <td width="300" valign="middle"> <p><img src="emailconfirm1.gif" width="227" height="25" /> <td width="300" valign="middle"> <input name="confemail" type="text" size="16" class="Field" /> <tr> <td width="300" valign="middle"> <p><img src="mobile1.gif" width="227" height="22" /> <td width="300" valign="middle"> <input name="mobile" type="text" size="16" class="Field" /> </td> <tr> <td width="300" valign="middle"></td> <td width="300" valign="middle"> <input name="type" type="hidden" value="register"/> <input name="Submit" type="image" class="submit" value="Submit" src="submit.gif" align="right"> </p> </form> <br/></td> <td width="5"/> </form> </td> </tr> </table> '; } ?> </p> <div class="leftbottom"></div> </div> <!--END NEWS --> </div> </div> </body> </html> 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 how do i make a login for my website? i only want it to allow the user of admin and pass of bobys |