3. E - Commerce Website Tutorial - Create the PHP Admin Log In System

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
35,056
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 22, 2010

http://www.developphp.com
In this 3rd video we will create the Admin Log In System for managing inventory and other store functions in the back end. We demonstrate a scripted method for database table creation in this example. The E - Commerce Web Site we will be assembling is one in which all of the inventory is in a MySQL database and we offer a custom PHP cart for a unique shopping experience. It is a site that handles sales, customers, and inventory.

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • people with the preg_replace errors:

    . it took me some foolin' around to find that it was this part: '#[^A-Za-z0-9]#i', '',

    Notice that the final quotation looks like a double quote?

    Well.. if you stick your cursor in there and move from character to character... it's actually two single quotations. Change your code and it should work!

  • Great tutorials man... thanks so much for doing this. I can now get started on the project I had no idea how to build. Cheers. Ed

see all

All Comments (138)

Sign In or Sign Up now to post a comment!
  • hello Adam Ur tut was awesome i love it but pls how can i download ur source code

  • Oh dog, It seems I have too old php version on my freebsd 7.1. It caused some problems with the preg_replace. Im gonna try to install some extensions.

  • i have a problem of

    too many loops

    what to do ???

  • Hey bro! first of all, thanks for exelente tutorials!

    im having some trouble logging in to my Admin section here... the form comes up great and i insert my username and password but it shows me the error message saying that my log in info is incorrect... what could be the problem?

  • Anybody knows where to get the code, dont want to type it all in by myself and make mistake over mistake...

  • @WillWarHero using the ob_start(); and ob_flush(); hasn't helped. Any other suggestions? Any help is appreciated. Thanks

  • @WillWarHero my admin login?

    username: Cinnamon

    password: styles101

    also, my logo shows as a broken image on my store admin page. must i put the full link then public.html/style/...?

  • @flamingforever I put in most of the files that have headers in. but yeah i put them at the top

  • so many glitches in this shit i cant get it to fucking work.. i'm pissed cuz i copy and paste the your php from the final version and it still have many problems

  • @WillWarHero Sorry I am a PHP noob. Can you specify exactly where I should place the code? Do you mean within the first PHP block ie. the Session block

    eg.

    ob_start();

    session_start();

    if(isset($_SESSION["manager"])­){ header("location: index.php"); exit();

    }

    ob_flush();

    And should it be on both the admin.php and index.php?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more