HTML - How Do I Make People Register?
How do I make people register to my website before they can view any of the pages? I'm working on an Enter page, but before they can go on from the Enter page I want them to register before they can see anything else beyond that point. And when they register is it possible to have a page where all the people whos registered? And can disaprove people not welcome?
Similar TutorialsLike I want them to register on my website then it sends it to a folder on my computer? is this possible? I have a game I made and I don't get this part of it. i am developing a site similar to craigslist in which people can post ads. i'm not getting many good answers online on how to allow people to create an account and post. please help! Hi, I notice people have been copying and pasting material from my website. I'd like to be able to block this...like the way Snopes.com does it. How do you do that? Hi, im in the middle of creating my website and need some help with stopping people from going to a page in my website manually. Basically, i've set up a contact form and once it's filled in, it sends you to a thankyou page. I want to stop people going to that page manually by typing in the url for it. I want them to only be able to access it by filling out the form and hitting 'send'. Firstly, is this possible, and if so, HOW?! Thanks in advance!! Hi, How is html written by people of other languages? Whether they use same tags(ie. <body> etc.) or use different names for their tags? Today's websites, most people focus on building them with more advanced languages such as PHP & MySQL, am I right? Do people still build full websites using only HTML and CSS? The only HTML/CSS sites I really see nowadays are usually old informational static websites that never change. Hi I'm setting up a site that sells images that the user creates online by selecting a combination of PNG images with transparency (using drop down menus). The images are layered using CSS, and the last layer has a watermark image to help prevent print screen copies. I then use PHP to create a composite image of the user's final work, that they can then buy. The only problem is that there is nothing to stop the user from bringing up each individual image on a new browser page using the address of each image eg http://www.mysite.com/images/image1.png - downloading or print screening them, and making their own composite image. I was wondering if there is a way to prevent someone accessing the individual images by typing something like http://www.mysite.com/images/image1.png in a fresh browser tab? I found something using .htaccess - but I don't fully understand it - I think it isn't meant to do what I need: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?mysite.com [NC] RewriteRule \.(jpeg|jpg|gif|png)$ - [F] It is supposed to stop hot linking, but I think that's a different problem. Thanks for your time and help. Shaun Hi there, I have just made a program that i need a register form on, so the hard part is.. When people download the program there are a Read me.txt file with the program, in that read me file i want to put a code, and that code i want to use for my security code in the register form. Like: If the Read me.txt Code is: 44456 then i need to make a textbox then i want them to write that code online on the register form. and if the Read me.txt code is wrong when they try to register, then they need to try again. Can anyone help me?? i need the script... PLEASE HELP ME! Here is an example: I want to have a survey page on my site where each visitor will be asked random questions and their answers recorded along with their age, sex and religion. I have a set of 500 questions and an Ajax setup to pick one randomly and present it. That's not the problem. The problem is I'm not sure how to identify users. On one hand I want it to be as easy as possible for people to take part in this survey. On the other hand, I need to avoid asking a person the same question more than once, and I also need to know their age, sex and religion. (This is so that I can compare the answers across different demographic groups.) One way would be to have them register the first time they do the survey. Then they would fill in their details only once and thereafter just enter a name and password. But having to register might scare them off! Another way would be to do without registration, and have them enter their details every time they do the survey. That might be tedious for them. Another way would be to store the user's details in cookies. I am reluctant to rely on cookies because a) they could be wiped, b) it would increase the amount of data being transferred between the server and client and c) two people on the same computer would not be able to have different details. Each method has its drawbacks. I really want it to be easy for people to do this survey - otherwise I won't get the answers! - but, as I say, it's pretty much useless without the respondents' details. What should I do? i have one blog www.andhratalkies.co.nr i want to put Register and login buttions with text boxes(signup and signin) and it should be work can any one give me the code and instruct me. plzzz it's urgent thanks MO 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> please help me guys!!! im trying to find a html code that allows people download a pdf files from the website that im trying to make..anyone out there help me.. can somebody please tell me a code that will show my image link only when a guest is on my phpbb forum and it will disappear when they log in. Hey, Whats the html coding i need to use to create a box like what is displayed on this page, where the html code is written: http://www.myweddingfavors.com/linktous.html Just under where it says "You can copy and paste the code below:" Thanks in advance. i need like a Username and password box that when you press submit it will send a email to my adress saying what the user put in the username and password box, if you get what i mean? website below. what is used to make the man on the right come out and talk. Did they take a video and embedd it? TIA http://thiscityisgoingonadiet.com/Default.aspx I tried making this template, but it doesnt work, it wont unzip, there are no files in it. if anyone can make this for me and give me the code, that would be great. http://myfreetemplatehome.com/free_t...tails-159.html Okay, I am starting up a forum and I want to make it so if somebody want to advertise they click a link and fill out information. This is no problem. But the next thing i want is for it to redirect to a certain page and email at the same time. Also I would like to make it so what ever the user chosses in "radio" button, will determine what page it redirects to. So like this. Example: Where would you like to advertise? o Top o Bottom 0 Side Lets say the user chooses top, then it will redirect to http://choice1.com, but if he chooses bottom it will go to http://choice2.com How can I do this? My over all goal is to have the first page ask for basic info, the user clicks submit and it brings them to the advertising choices, the click submit and it brings them to either a paypal page or a page with a paypal button for payment. And every page is emailed at once or seperate Hope you can help, i can use either html or php for these pages to let you know. Can anyone please make the below design since I am aware that how to rotate image in css. Please help me to make the below design & I have only one line image & we have to touch that line with its side of cell & make it as image. Please help me.... Below link is mentioned... yfrog.com/kizuk1p Regards... I just added a forum on to my site (pblang) and it stores the users/pass's in alot of files in one of the folders in my host. So I was just wondering if i could make it accessible to read by tcp connection. (So you have to sign up for the site then use that user and pass to log in) Ive tried messing with some things so does anyone know if its the html files fault or if its a hosting thing or what. |