Ross a écrit :
Hi,
I want to refresh/reload the current page but I want to use the same code on
every page on the site so instead of changing the line in every page
location = 'test.php';
location = 'test2.php';
location = 'test3.php';
location = 'test4.php';
etc.
I want a single line that will just do it no matter what the page is named.
and (once more) what is suposed to do your php ?
location = "test.php?test='+self.location;
will send url of active page as value of a variable 'test'
attached to your php's url
then in your test.php
by a php http_request (or something else like that, see a php ng)
you get url of page loaded
after ... what you'll do with that info ... no sè ...
--
Stephane Moriaux et son [moins] vieux Mac