Reloading changes JS files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey all,

I have an HTML template file I read into a PHP script and then after supplying dynamic data I send the template to the browser with

echo $html;

The HTML template contains many JS files in the <head>...</head> section referenced like this:

<script src="ajax/players.js" type="text/javascript"></script>

My question is this: how can I cause the JS files on the header.html file to be reloaded to the browser when ever they have been modified?

I'm looking now at the last-modified header stuff, but not sure this will do what I want. I'll keep reading up on this, but if someone can point me in the right direction that would be great.
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux