Can I subscribe to information on new tests?
Basic counter & users online..
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PHP web-programming > Basic counter & users online.. 5 June 2003 22:51:37

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Basic counter & users online..

PHPSpooky 5 June 2003 22:51:37
 Glory!

I'm working on a Counter thing. with a basic Hit Meter and a Users
Online Meter.
The problem I face is.. the index page of my site is HTML .. no
frameset.. and I need to display these vars on that page. The solution I
use is that I place a Flash Clip (.swf) and I'm calling the PHP
Variables in it, from a PHP page..

But now the issues comes in.. how does the Database increment the
counter? If I place the counter increment script on a PHP page.. it's
ok. But here I have a HTML page with Flash in it.. when this HTML page
loads.. the Counter needs to be incremented by one, and this adding to
the Hits. Same way the Users Online script needs to work.. but how do I
do this?

Does anybody have any other solution how to make this work?

PHPSpooky

___________________­___________________
"If God had wanted me otherwise, He would have created me otherwise."
- Johann Wolfgang von Goethe

Add comment
Gustavo Del Castillo Meza 5 June 2003 22:51:37 permanent link ]
 Make database increment on the flash movie
Look on flash documentation for the loadVars object

"Phpspooky" <phpspooky@mjimm.co­m> escribiу en el mensaje
news:000001c32b98$b­0b08e50$43b8c4cb@Spo­oky...> Glory!>
I'm working on a Counter thing. with a basic Hit Meter and a Users> Online Meter.> The problem I face is.. the index page of my site is HTML .. no> frameset.. and I need to display these vars on that page. The solution I> use is that I place a Flash Clip (.swf) and I'm calling the PHP> Variables in it, from a PHP page..>
But now the issues comes in.. how does the Database increment the> counter? If I place the counter increment script on a PHP page.. it's> ok. But here I have a HTML page with Flash in it.. when this HTML page> loads.. the Counter needs to be incremented by one, and this adding to> the Hits. Same way the Users Online script needs to work.. but how do I> do this?>
Does anybody have any other solution how to make this work?>
PHPSpooky>
___________________­___________________>­ "If God had wanted me otherwise, He would have created me otherwise."> - Johann Wolfgang von Goethe>



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PHP web-programming > Basic counter & users online.. 5 June 2003 22:51:37

see also:
[magnolia-dev] [JIRA] Resolved…
[magnolia-dev] XSL for change in…
[magnolia-dev] new import export…
пройди тесты:
Do you really know yourself?
see also:
Hello!
Is there somebody who plays on...
Form issues

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .