| | |
Run PHP script every 10 seconds
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Right. cool.
So, my method would work continuously,
without someone viewing the page.
Yours would only work if someone had the script open.
So it's up to you maninweb. Either will work, it just depends on how you want to do it.
So, my method would work continuously,
without someone viewing the page.
Yours would only work if someone had the script open.
So it's up to you maninweb. Either will work, it just depends on how you want to do it.
Last edited by dr4g; May 11th, 2007 at 2:22 pm.
GardCMS :: Open Source CMS :: Gardcms.org
•
•
Join Date: Nov 2007
Posts: 2
Reputation:
Solved Threads: 0
I am using a script for banner rotation that I want to refresh every 10 seconds. I used this
[php]header('refresh:10; url=filename.php');[/php]
in the file but in the first interval the browser leaves the website and shows just the refreshing banners in a page. How can I refresh and remain in the site?
Thank you
[php]header('refresh:10; url=filename.php');[/php]
in the file but in the first interval the browser leaves the website and shows just the refreshing banners in a page. How can I refresh and remain in the site?
Thank you
![]() |
Similar Threads
Other Threads in the PHP Forum
- Previous Thread: mysql_fetch_array(): supplied argument is not a valid MySQL
- Next Thread: mailer.php almost works :|
| Thread Tools | Search this Thread |
.htaccess advanced ajax apache api array basics beginner binary broken cakephp check checkbox class cms code combobox cookies cron curl database date datepart display download dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert integration ip java javascript job joomla limit link login loop mail menu mlm mod_rewrite multiple mysql oop password paypal pdf php problem query radio random recursion regex remote script search server sessions smarty sms soap source space sql stored syntax system table traffic tutorial unicode update upload url validation validator variable video web xml youtube





