[resolved] RunPHP and cookies? (2 posts)

Hi there .. i am a newbie to WordPress and am hoping to use it as a CMS. I have got it up and running and also installed RunPHP so I can do a little scripting on the site.

Here is my problem .. i have two pages, one that links to the second. On the fisrst page there are many links to the second page and each link is slightly different. On my existing site which i am planning to use wordpress to replace, a parameter is passed to the second page as a query string eg....

mysite/mysecondpage.php?parameter

I figureed there was no way to do this (help me if i am wrong) and get to the querystring in WordPress so i instead decided to try using cookies.

in my 1st page i have something like ... <A HREF="/wordpress/mysecondpage/" onclick="document.cookie='parameter; path=/'"

But when i get to read the cookie variable in mysecondpage, the value is not changed by the onclick.

I am sure i must be doign something highly stupid here or there is an alternative method for me to pass a parameter successfully from one page to the next.