"Ross" <ross (AT) aztechost (DOT) com> kirjoitti
viestissä:43392d9a$0$14854$b9f67a60 (AT) news (DOT) newsdemon.com...
Quote:
This is simple but how can I change
location = 'test.php';
so it woks on any page without changing the url every time? |
I don't know how do you expect it to "wok", you sorta forgot to explain it.
I'm making a wild guess now, and assume you might want it to point to
current page every time? If that indeed is the case, then you should find
__FILE__ and $_SERVER['PHP_SELF'] handy. If not, then please explain a bit
more what you want $location to be.
--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <antaatulla.sikanautaa (AT) gmail (DOT) com.NOSPAM.invalid>