Click to See Complete Forum and Search --> : Getting a password for my HTML design


maroof
01-06-2003, 03:28 PM
I am trying to design a web page, but the only problem is that I have the login button setup in such a way that it directly takes me to the companies job page. Now, I want to include a feature that checks the login i.d and password. I have tried some scripts, but doen't work. Could you help?Thanks
Marouf

swon
01-06-2003, 03:58 PM
Do you have some code or is your page online?

maroof
01-06-2003, 04:08 PM
Originally posted by swon
Do you have some code or is your page online?
My page is offline. I am doing the design in Microsoft frontpage. I have got the login button code set already, but I am not able to figure out the password design? Do you want me to send part of that code?
marouf

pyro
01-06-2003, 05:07 PM
What exactly are you trying to do? If you are trying to password protect you site, you will need to use a server side language for any amount of security. Is that what you are looking for? Maybe if you post the code that you have written so far, I'll be able to see what it is that you are trying to do...

maroof
01-08-2003, 05:42 PM
I have got your reply about the design. But, the thing is that i am doing the design in frontpage. Do you want me to send you the code?

<tr>
<td align="right" height="25" width="59">
<span class="LeftNavBodyText"><b>E-mail</b></span></td>
<td align="left" height="25" width="361">
<input name="username" size="41"></td>
</tr>

<tr>
<td align="right" width="59" height="63"><span class="LeftNavBodyText"><b>Password</b></span></td>
<td align="left" width="361" height="63"><br>
</form><input type="password" name="password" size="12"><b><span style="background-color: #FF00FF">Go
to </span></b><b><span style="background-color: #FF00FF"><a href="http://www.gillani.com/careers.htm">login!</a></span></b>
</tr>

Here the code has username and password with all its specs, but the login button goes directly to gillani.com without any validation of the username or passwords.
Thanks
maroof

pyro
01-08-2003, 05:55 PM
If you have PHP enabled on your server, I can write some code for you...

maroof
01-08-2003, 06:06 PM
Originally posted by pyro
If you have PHP enabled on your server, I can write some code for you...

If you could see the code that I wrote, if its wromg, or you think you can write definitely a much better one, then go ahead and do so.
marouf.

maroof
01-08-2003, 06:07 PM
Originally posted by maroof
If you could see the code that I wrote, if its wromg, or you think you can write definitely a much better one, then go ahead and do so. Also, whats PHP?
marouf.

pyro
01-08-2003, 06:17 PM
PHP is Hypertext Pre-Processor. It is a server side language. Check to see if your server has it enabled, or it won't be worth my time writing the code for you, as it won't work anyway... :) If you do have it enabled, I can encrypt the password with a oneway MD5 encryption. One thing...How many usernames and passwords do you need?

maroof
01-09-2003, 11:40 AM
Originally posted by pyro
PHP is Hypertext Pre-Processor. It is a server side language. Check to see if your server has it enabled, or it won't be worth my time writing the code for you, as it won't work anyway... :) If you do have it enabled, I can encrypt the password with a oneway MD5 encryption. One thing...How many usernames and passwords do you need?

I don't have a PHP on my machine, but is there any other text processor like notepad that you could write the code in?

pyro
01-09-2003, 12:04 PM
Certainly, any text editor should work fine. You do, however, need a PHP parser on the server that your files reside on. Ask you host if it is available.

maroof
01-09-2003, 12:17 PM
Originally posted by pyro
Certainly, any text editor should work fine. You do, however, need a PHP parser on the server that your files reside on. Ask you host if it is available.

They donot have a PHP.

pyro
01-09-2003, 12:25 PM
Originally posted by maroof
They donot have a PHP. Ah, well... :(

maroof
01-09-2003, 12:39 PM
Originally posted by pyro
Ah, well... :(

The company assistant manager says that we have Perl. Could you do anyhting in that ?

pyro
01-09-2003, 12:45 PM
Yeah, probably... Why don't you tell me exactly what you need, and I'll see if it sounds like something I can do in Perl. OK?

maroof
01-09-2003, 12:48 PM
Originally posted by pyro
Yeah, probably... Why don't you tell me exactly what you need, and I'll see if it sounds like something I can do in Perl. OK?
I have already written the code the username, password features on the top. All, I need is that when any user comes to the comapnies web page, he logs in with a pasword. If he's not registered, he gets registered. Then, the login should validate him and take him to the careers page.
thanks
marouf

pyro
01-09-2003, 12:56 PM
Originally posted by maroof
If he's not registered, he gets registered.Do you mean that anyone can get registerd? If so, what is the point of having a password in the first place. Also, I thought you just wanted a simple password script. This sounds a bit more complex. I'm not sure I have time to write that for you. You may want to look at http://cgi.resourceindex.com and see if you can find a script that does what you need.