PMsys is a script that based on Cookies rather sessions(what are people thinking in 2003?)
To intergrate this system to mine website, I got to change all the cookies to sessions.
So, I think 1st replace all the
$COOKIE into $SESSION
and then write a function that search and find a line that contains:
setcookie('a', 'b', $whateverthetime);
into
session_start()
$_SESSION['a'] = 'b';
will that work? is there anymore things I have to think about?
anyone can write a function to do that? I just can't get a hold on regular expressions
thx~