Need help and a script
I was wondering does anybody know if there is a javascript program that will allow a user to enter in an infinate amount of weblinks that could be like my bookmarks or my favorite links and saves this information as a cookie so that when the person goes to their my links page they can view their own favorite links using cookies?
or is there a cgi script where users can have their own start page with an opportunity to add it to their favorites?
I need help on this one. I just want to offer a start page for my site.
Vincent Puglia posted this at 23:52 — 10th September 2001.
They have: 634 posts
Joined: Dec 1999
Hi ivj3pa,
An interesting problem...
Although I would recommend a cgi solution, it is possible to do what you want (within limits) using dHTML and cookies. You would need to:
1) create a form to get the user's desired links
2) gather those links within a string that you can then make part of the cookie
3) include, within the page, a cookieRead script. If there's a cookie go to the start page, passing the cookie parameters; else stay, put up the form, and then write the cookie.
4) create a 'start' page with divs placed where you want the links to appear. you then use location.search & split()to separate the name/values and pass them to the appropriate divs/layers.
Your major problem will be size. Cookies can only be 4K in length, which means you may need to write/read more than one cookie.
Vinny
Where the world once stood
the blades of grass cut me still
detox posted this at 02:05 — 11th September 2001.
They have: 571 posts
Joined: Feb 2001
I would have to agree with Vincent there about the cookies.
There are other ways to attack this. CGI might be the way to go... Depends on what your host offers with regards to server side
ivj3pa posted this at 12:45 — 11th September 2001.
They have: 7 posts
Joined: Sep 2001
Thanks for the comments,
Unfortunately, I can tell that cookies are a problem when they are large or needing to be separated. Not only that, i'm not too good on programming Dhtml or JavaScript, but I did purchase a Bookmarks script. The only problem I'm having right now is getting it to install. The directions are to distorted, and the person wrote comments in the scripts with broken language.
But, thank you once again for replying.
Ivana
Vincent Puglia posted this at 17:05 — 11th September 2001.
They have: 634 posts
Joined: Dec 1999
Hi ivj3pa,
If you can return it and get your money back, see the "Add to Favorites" script/tutorial at my site. If you cannot return it, post the code or your site's url, and I'm sure someone will help you install it.
However...cgi is the way to go. What sort of server-side language do you have (php, perl, etc)?
Vinny
Where the world once stood
the blades of grass cut me still
ivj3pa posted this at 17:38 — 11th September 2001.
They have: 7 posts
Joined: Sep 2001
I spent 6 hours last night and 5 hours today trying to install this stupid interactive cgi script for bookmarks, but the darn thing won't let me work with it.
You can see the script that I'm trying to activate at http://www.eastwright.com/internet/bookmarks/index.html They man has a complete uncomprehensible support, and not only that there isn't even decent instructions to installation of this script. Not only that, I may sound dumb, but I can't figure out how to get the .htaccess to work, and I don't want it at this time.
Aaargh 20.00 down the damn drain. I hate trying to improve the site with nothing to work with. Anybody have any suggestions?
Ivana
Mark Hensler posted this at 18:04 — 11th September 2001.
He has: 4,048 posts
Joined: Aug 2000
Vincent! Long time no see... Stick around!
Vincent Puglia posted this at 15:30 — 12th September 2001.
They have: 634 posts
Joined: Dec 1999
Hi Ivana,
I, personally, can't help (I'm not a perl person). Hopefully, one of the mods will move this thread to the server-side forum. If no one does it within 24 hours, pm Suzanne or detox.
When they do, you should tell them exactly what your installation problems are -- inability to create directories, etc..
Hi Max: I'll try, but no promises
Vinny
Where the world once stood
the blades of grass cut me still
ivj3pa posted this at 16:53 — 12th September 2001.
They have: 7 posts
Joined: Sep 2001
Vinny,
Thanks for the support.
I emailed the company and explained to him that he just has too much crap
LOL, but anyway he installed it for me for free..Thank God..His instructions were horrible.
Ivana
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.