September 26, 201313 yr Hey, Even though i don't have a degree i should probably know this, but i don't, so if someone would help i am in desperate need of it! THANKS! I am making a website for my group, partly with a website builder, partly without, and i want to have a input text bar where if you type in a certain code you will be linked to a URL. There would be many codes. If possible i need someway to put them in easily! (I need the input bar code in HTML or Java) Thanks in advance!
September 26, 201313 yr Do you mean password protecting one or more pages? If so, you could set up .htaccess to use a username and password (a different one for each url) using a password generator like http://www.webmaster-toolkit.com/htaccess-generator.shtml or google htaccess password protection for more info. like http://www.javascriptkit.com/howto/htaccess10.shtml#.UkPw1t5wbIU
September 26, 201313 yr Probably you should make a table in your database, column "code" and and you should write a function where you put a $_GET from your form input and then put it in the link where you wanna go to with the information which is specific for your code.
September 28, 201313 yr Author Do you mean password protecting one or more pages? If so, you could set up .htaccess to use a username and password (a different one for each url) using a password generator like http://www.webmaster-toolkit.com/htaccess-generator.shtml or google htaccess password protection for more info. like http://www.javascriptkit.com/howto/htaccess10.shtml#.UkPw1t5wbIU Kind of, not password protecting, but I think it still might work. What do you think. I more was thinking a code you typed in to go directly to a url quickly, without having to go though a bunch of pages.
Create an account or sign in to comment