#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    13
    Rep Power
    0
    Hello,

    I am new to the list, but would like some advice.

    I would like to build a web page with a secure area for specific customers. I wish to use the login info to direct them to a personalized page.

    What are my options? Cookies? PHP Scripts? Store the html pages in MySQL as text?


    Thanks!

    ted@boxey.com


  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    38
    Rep Power
    15
    well, once you log in, what you do from there is up to you.
    you could generate personal start pages, but that would either require a rather large cookie that doesnt expire before they come back or to save some settings in a database.

    then, when they log in, it just looks for the right settings in that database and pulls up different things accordingly.
  4. #3
  5. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    If you have their login information in a database, you can also make a text column that holds the value of the next page you want to send them too. this would work if you have 3 or 4 pages depending on the type of customer.

    if you want a unique page for each customer, i'd use a template that reads all of the customer information from a database and fills in the template with that information. it reads colors, sizes, names, links, etc, for each customer, then php builds a page based on what it read.

    hope that is clear. email me if it's not...

    ---John Holmes
    ---www.SepodatiCreations.com
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    13
    Rep Power
    0
    i like the idea of storing the customer specific data in the database and using a form....

    spin-off question:
    i have not seen a difinitive answer as to whether storing images in the database is a good idea. most of the posts i have found have lots of replies saying "has anyone got this to actually work?"

    thanks

  8. #5
  9. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Yes, I've gotten it to work, for a client that wanted it. I'd never do it for myself, tho. There's no advantage to doing it that I've found and it creates additional overhead on your server.
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    13
    Rep Power
    0
    thanks, rod

    so i guess that you are recommending passing the path to the external image? any advice or examples?


    thanks

Similar Threads

  1. Replies: 6
    Last Post: September 27th, 2004, 09:12 AM
  2. Login Script that logs info to txt file
    By LotusHead in forum PHP Development
    Replies: 0
    Last Post: February 3rd, 2004, 12:50 PM
  3. unique login, except registered
    By zbriu in forum MySQL Help
    Replies: 2
    Last Post: December 22nd, 2003, 04:47 AM
  4. Pulling out Login info using "Finger"
    By ejmack in forum Perl Programming
    Replies: 1
    Last Post: October 29th, 2003, 11:13 PM
  5. problem creating a simple login session
    By shudson8472 in forum PHP Development
    Replies: 0
    Last Post: October 11th, 2003, 05:23 AM

IMN logo majestic logo threadwatch logo seochat tools logo