View Full Version : HELP PLEASE!
SilverD321
01-16-2001, 07:48 PM
Hi! I need a script (preferably javascript) that will allow me to click on a button, which will create a cookie and store a file url (eg: http://www.blah.com/directory/file.zip). I should than be able to go to other pages on my site and click on similar buttons that will open up this same cookie and store another file url in it. I also need another button that will be able to display these file urls from the cookie or file and display them in an html page. Can anyone tell me how to do this?
------------------
For fun, entertainment, chat, files, online games, and lots more, go to http://TheRZone.cjb.net !
unregistered
01-16-2001, 09:07 PM
from looking at your site, I'm not sure I trust the reasoning for your request. I can think of a few things you might be able to accomplish with this script, none of which seem honest.
Jacob
01-16-2001, 10:19 PM
Moving topic to correct forum...
------------------
Jacob A. Wheeler
Co-Founder / Web Engineer
Big Resources Network
jacob@bigresources.com
ICQ: 390147 (http://www.icq.com/390147)
kdjoergensen
01-17-2001, 02:07 PM
A cookie is a string of text which the browser is allowed to put in an isolated specific directory of the hardisc. the cookie contain only text and can have no programs, zip files etc attached.
You should probably consider using cgi programs to retrieve and store files.
This is no longer client side scripting but require you to have access to the server.
Here is a good cookie tutorial: http://developer.netscape.com:80/viewsource/archive/goodman_cookies.html
SilverD321
01-18-2001, 11:41 PM
I don't want to attach a file to the cookie, I want to make a button, that when clicked on, it will store a url (eg http://www.yahoo.com) in to the cookie. Then I want another button that can open up this cookie. Thats all (nothing too complicated)!
Thanks for your help!
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.