making an adminlogin for a news script? ( 5 Views )

no kitty!
  1. Ive just finnished creating a tag-box and it seems easy enough to make a news script following the same principals, however i want to make in addition to this a secure admin login with *'d out password field. I have a basic grasp of login by using an if statement:
    PHP Code:

    <?
        
    if ( "admin" == $login and "admin" == $password ) {
        echo (
    "welcome your omnipotance!..blah blah blah, post news etc etc" );
            }
            else
             {
             echo (
    "Not recognised as admin, please try again");
             }
        
    ?>

    But this cant be secure, can it? also i would like to know how to **** out the password field

    (soner, Chile)

  2. Quote:

    Originally Posted by Misery
    also i would like to know how to **** out the password field

    Do you mean something like this:
    HTML Code:

    <input type="password" name="pass" value="">
    About the secure part of the script, that's basically how it's done. If you are concerned about security, you probably should try using SSI encryption.

    (cengiz, Macedonia, the Former Yugoslav Republic of)

  3. thx ahah i think i found an article which well help me :) http://www.devarticles.com/art/1/485

    (can, Russian Federation)



Related Topics ... (or search in 1.720.883 topics !)

making a news script that uploads image aswell then displays it with post?? (2)
help with news script/news display (2)
is the media reporting or making the news? (10)
whattya know? scumbag media making up news again. (4)
making a news thing for a site im coding (4)
making a niche article news blog like sitepoint (14)
making a simple news feed for my site in php (6)
news script (3)
a need a news script such as this one (3)




copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
0.8559