If you look at each of the things you want to do, none of them seem to be very difficult:
1. Send the user to a different web site
The login will have to pull in info from the (MySQL?) database for this user and probably save them as session variables. Something in the DB will identify the type of user and that is probably the determinant for where to redirect to (php header command).
2. Only display certain products
This is similar to the first point in that some information in the user's record is going to determine this. You have already re-directed to a specific web site so if that isn't specific enough, then you check the user info and decide what should be displayed. You could have this be unique to each user but I would guess that for simplicity you will probably have a limited number of categories that the user could fall into.
3. Images as links ...
I'm not really clear on what you want to do from the explanation but regardless, it doesn't sound too complex.
4. Quicklinks
In this case you need to store the history and then do some real-time analysis. To keep it managable you probably need to give every significant page an identifier and then store that into a history file under the user's id (as you hit each page). Alternately, you could store the info in a table in a Session variable and write it all when they logout (but if they lose the session for some reason, you will lose the info). You'd be better off not storing the direct link in case you make changes to pages or navigation. You'd be better off having a table of codes and associated links. When the user logs in you would read all of the history for that user in order by page identifier, calculate how many times each page was visited and then determine the top three.
You will need a registration and login system. If you don't already have one in place, you'll have to buy one or build one. As I mentioned in another post recently, I went looking for a free / open source PHP login system and I didn't find too much. I eventually used one that was freeware and made a lot of changes to make it work the way I wanted it to. That wasn't trivial and would be a pretty significant first project if you are just starting with PHP. The other stuff listed above isn't really difficult if you know what you're doing in PHP. If you are going to do the whole thing as a first project, it will take a while to get through it. If you are already working in C#.net maybe it would be more consistent to do it in ASP.net instead of PHP (as much as I like PHP).
I was writing this as other replies were coming in so if Ajax works for you, go for it. Jquery is a great package.
Last edited by chrishea; Aug 11th, 2009 at 6:10 pm.
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
Offline 1,389 posts
since Sep 2008