![]() |
Dumb question: making a login box
Okay, forgive the dumb noob question, but i'm a self-taught webmaster and just don't know some things ya'll think are simple :helpme
I'm redesigning one of my sites that's a combination of free and pay services. On the fre side I want to put a login box for the protected directory, rather than using the pop-up login box you get when you link directly to the protected directory. Can someone tell me how to write (or give me a template) the code for the login box? |
Use PHP and lookup an online tutorial on how to do this. There are loads and loads around which help you make one step by step.
|
|
PHP is one of those dumbfounded area for me, looking to include it (log-in box) in a straight HTML design.
|
Use php and sql
Your login form:
Code:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method=p.ost> Code:
<?php Code:
<?php Dumbass :winkwink: |
Quote:
|
Can you have PHP read a .htpasswd file? Or does it have to read from its own database?
|
All times are GMT -7. The time now is 07:14 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123