June 11th, 2000, 06:49 PM
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?
June 12th, 2000, 08:35 AM
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.
June 12th, 2000, 04:17 PM
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...
June 12th, 2000, 04:24 PM
i like the idea of storing the customer specific data in the database and using a form....
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?"
June 12th, 2000, 04:44 PM
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.
June 12th, 2000, 04:57 PM
so i guess that you are recommending passing the path to the external image? any advice or examples?