OK, so when it come to inserting the sessionid into the database as below, instead of using the GetTheId(), how do I do that?
INSERT INTO thestats (thetime,referer,sessionid)VALUES(now(),'$referer','" . GetTheId() . "')
Occasional session problem
Hello
I have done a logger: thelogger.php.
This usually works OK BUT sometimes a user lands on the site, sets the session ID as 4re3ccc...etc and then goes to another file and a new session ID xc3zkf...etc gets set.
The user agent appears to be a standard browser...
Sorting problem... session & time
Hello
Lets say you have data like this:
Time Sessionid
20.55 a1
20.44 a1
20.39 x3
20.33 x3
20.29 a1
20.27 a1
and you want to sort it so it looks like this i.e. grouped according to Sessionid and then Time:
a1 = 20.55 20.44 20.29 20.27
x3 =...
Control one swf file from another
Hello
You have two swf files:
file1.swf has a button
when you click on the button you want a button in file2.swf to be made visible.
How do you get file1.swf to communicate with file2.swf?
Thank you.
Color from database not working...
Color stored in mySQL as 0xFF0000
0xFF0000 hauled into Flash via PHP and LoadVars
trace(myData.maintxtcolor); shows 0xFF0000
Trying to change text color:
myFormat_fmt= new TextFormat();
myFormat_fmt.color = myData.maintxtcolor;
etcetera...
REFUSES TO...
whatever other route you took, it probably involves a lot of application-side code, right?
True.
with this query, you'll need no code at all, eh
Cor, you are clever, Rudy.
Sorting top three from any number
I am doing a quiz.
A player can have as many goes as they like e.g. Fred has 6 goes, Jessica has 5 goes, Ann has 4 goes and they score:
Fred
3
6
3
7
2
4
Jessica
5
4
6
7
3
Ann
3
4
6
5
How do I sort the data alpahbetically and by number so that ONLY the top...
I have a PHP logger lovingly hand-crafted by myself (roll-eyes).
The logger recorded the entry:
2006-02-23 10:02:46 /index.php http://www.xyz.com/
showing date/time entry page and referer.
I goes to http://www.xyz.com/ and expects to find a link to my page on that site but there isn't one...
Using XP Pro.
To cut a long story short:
the mouse - an ordinary one with a cable and a little plug with a round bit at the end NOT a USB - started playing up... on the desktop it automatically grabbed an area as if to highlight it when it was moved and although it continued to move across the...
Hello sleipnir214
I am doing it this way because I originally got the code for a basic shopping cart out of a book and this was how it was done.
I have had this working before on a remote server but can't get it to work on my local machine and thought there might be a setting in php config or...
Localhost session_id problem
Hello
I am running PHP off localhost on my home computer and putting a shopping cart together.
The code below sets the session_id OK but when I change from page1.php to page2.php, the session_id number is changed when it should stay the same.
Is there a setting...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.