Ohh... I got what SimpleBB wants to do.
Basically he wants to show number of guests on web-site.
I have an idea how to make it in head, but can't explain it cause of my english ...
Printable View
Ohh... I got what SimpleBB wants to do.
Basically he wants to show number of guests on web-site.
I have an idea how to make it in head, but can't explain it cause of my english ...
Try.
It'll be good for your english, to try.
Most importantly, it'll help me! >:D
Here is guide that will help. But sucks that it requires mysql.
http://www.newbiesparadise.com/tutor...ts-online.html
If you want you can change that script a little bit and make it write data in txt file
try
$array = $_SESSION['memgroupid'];
$count = count($array);
for($i = 0;$i < $count;$i++)
{ print "$i"; }
as simple as that, i should think. I have not worked on web page coding for a year, and i miss the excitement of solving problems, the harder the better.
Posted via Mobile Device
That does seem to work.
Does anyone else have a faster or possibly, a solution that will get guests faster, with less memory usage?
Check this: http://98.246.30.179/test.php
I have setted this up using guide from here: http://www.newbiesparadise.com/tutor...ts-online.html
Everything works perfectly ;)
Lol, who's the other person?
me and you
there were other 2-3 persons
the 'memgroupid' array table, how is it implemented? tell me how it is added up when a user visits your website.
I'm quite sure the rest of the code will work, but only the $_SESSION[memgroupid] value's format isn't compatible with the count function. an array it is, so it should work.
Posted via Mobile Device
well, if two people have $_SESSION['mem'], $_SESSION still only contains one mem with the value of 1, unless mem is another number.
edit
$array = array($_SESSION['memgroupid']);
that, probably, is wrong. but try, for me. :) i don't mind my time wastin'.
Posted via Mobile Device
STill doesn't work :P
I can't help extensively, I'm virtually inferior as I'm using a pda. :)
Posted via Mobile Device