beginner php questions (is this even php?)
Posted: Thu Jun 11, 2009 4:22 pm
I'll keep it simple. This is just an example but similar to my problem. I believe its mainly to do with PHP.
Can I set up a site so people can make user accounts, login, and buy stuff, and when they do buy stuff I'll know it was from them.
My problem is that im afraid if I make a login system, nothing will happen when they login, the pages will look the same and when they buy something from the website, i wont have a clue who bought it. How do you make the same pages change once they logged in?
If they goto a page called www.[site].com/necklace.html and want to buy the product, it will ask them to login or register.
When they login or register, when they go back to that same page, will the site know they have logged on and welcome them with something like "welcome back xxx". How do you do that? I see it all the time, is it a different page that redirects when you login?
And if someone buys this product, will i know which user did so?
I'm not sure if this is all php but I have a feeling it is.
Hope someone can answer.
Can I set up a site so people can make user accounts, login, and buy stuff, and when they do buy stuff I'll know it was from them.
My problem is that im afraid if I make a login system, nothing will happen when they login, the pages will look the same and when they buy something from the website, i wont have a clue who bought it. How do you make the same pages change once they logged in?
If they goto a page called www.[site].com/necklace.html and want to buy the product, it will ask them to login or register.
When they login or register, when they go back to that same page, will the site know they have logged on and welcome them with something like "welcome back xxx". How do you do that? I see it all the time, is it a different page that redirects when you login?
And if someone buys this product, will i know which user did so?
I'm not sure if this is all php but I have a feeling it is.
Hope someone can answer.