1
Hi everyone,
Just to say first that XOOPS is great and the best CMS out there. Well thats all the praise over and done with, I have a prob that I hope can be sorted before I pull all my hair out.
I am using XOOPS 2.0.15 and whatever I do I cannot pass url variables, what I mean is
http://www.mydomain.co.uk/index.php?yourid=123456.
I am trying to store the variable and use it on another page of my site.
I have tried the following methods:
1.Setting a session and calling it with $_SESSION['yourid'].
2.Coded the session as a class function and included it once under the include"header.php"
3.I have tried setting it in a cookie with setCookie($name, $value, $time) and calling it with $yourid = $_COOKIE[$name]
4.I have tried witing it to a small file on my server.
I have included the globals $_COOKIE etc, even though it says you dont need to.
Nothing I try is working. Am I doing something wrong with my coding?????
I have changed preferences to allow me to use my own cookies.
I have tried to search the forum for answers, please help me so I can finish my module.
Thanks
Dave