> I am planning on writing a "bookmark server" in php.  The idea is I will
> have a database that stores all my internet favorites on a web server
> some where, so if I am doing some web browsing away from home and find a
> site I want to save, I can go to my bookmark server and save the url
> there.  Now for the part I can't figure out an easy way to do.  I want
> to have it so if I am looking at a page I want to save I can type in a
> nice short url for my bookmark server and it will some how be able to
> know where I just came from and have the form fields for URL and
> description already filled in for me.  Then I just have to tell it what
> category to save the bookmark in.
> First I thought the _SERVER["HTTP_REFERER"] variable, but that only
> works if you click on a link and since every web page I want to save
> won't have a link to my bookmark server that won't work.
> Then I thought I could use the history array with javascript, but that
> only works if your script is signed and I don't want to go there.
>
> So now I am out of ideas and was wondering if anyone here had any.

Why not just copy the url from the address bar, then go to your site and use
that text box (form field) you were talkin about having and paste the url
then click "submit".

Then it's saved in your nice little url holder / bookmark warehouse!  :)

Then your not trying to do anything "fancy". Like you know, cook you
breakfast in the morning, or say pull every email you have out and read them
and toss the ones you don't want while systematically forecasting your stock
market results of your IRA from the night before.

Wolf
HTH  >:-P

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to