PDA

View Full Version : What's the best way to make this work?


DeFraggle
01-03-2001, 11:59 PM
I'm helping a friend of mine put up a site for her recipes. She's got quite a few, and would like visitors to be able to "save" their favorites with a feature on the site called "My Recipes".

The plan is to have a "member" section where visitors can create a username/password for free. There will probably be "Add to My Recipes" links on the actual content pages, which of course would save the title and link to that page into the users account/custom start page on the server for quick access later.

Anyone have any advice on the best way to do this? CGI? PHP? Is there a script out there somewhere that does this? The site is going to be on a RedHat server, so it'll have to be something compatible with Linux.

I've seen this done with JavaScript & cookies, but don't know if that would work for all since people clean cookies out or disable them with their browser. I imagine it would be pretty frustrating to add a bunch of internal site links to a javascript/cookie generated page, only to see it blank on a future visit.

I've also seen the quick & easy way of just adding an "Add To Favorites" type link on each page, which would put a bookmark in the favorites of Internet Explorer. That could clutter the visitors favorites list pretty quick, not to mention other browsers don't seem to support that function.

Anyway, I'm open to any advice or points in the right direction to get this working for her. Thanks in advance for any help. http://geekvillage.com/ubb/smile.gif

Defrag.

Dave-AHFB
01-05-2001, 06:36 PM
I have been watching this thread, hoping for a response. I am planning the same for my database as well as 2 other sites that are in the works. I also have looked at doing it with cookies, and may still do it that way. If you here anything would you please let me know.

1 difference I am on a raq3 server.

Thanks,

Dave Bailey

[This message has been edited by Dave-AHFB (edited 01-05-2001).]

DeFraggle
01-05-2001, 08:16 PM
Originally posted by Dave-AHFB:
[B]I have been watching this thread, hoping for a response. I am planning the same for my database as well as 2 other sites that are in the works. I also have looked at doing it with cookies, and may still do it that way. If you here anything would you please let me know.

Hi Dave,

I posted a copy of this message over at the SitePoint Community Forums, and got a few replies so far. Looks like I'll have to use PHP/mySQL to get this working from what those guys suggest. Not sure if that works on your Raq3, but it might be worth a shot if you can figure it out. I'll be purchasing a book or two on mySQL soon to try and get the hang of it http://geekvillage.com/ubb/smile.gif

Here's the link:

http://www.sitepointforums.com/showthread.php?threadid=14339

Good luck!

DeFrag.

[This message has been edited by DeFraggle (edited 01-05-2001).]

kris
01-06-2001, 06:11 AM
DeFrag,

Try MySQL by Paul Dubois. That book is really good.

Click Here!