RE: how to reload a PHP page via PHP code

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

 



[snip]
I would like to know if it exist a method to reload a PHP page via PHP
code
?
the topic behind is that i do not want to specify the PHP page to
reload.

It must reload the actual page only.
for example, if use views the page : test.php and click on US flag
image.
PHP should reload this page with US language...but i do not want to
write in
hardcoding the page name, because this function should be usefull for
all
pages.
[/snip]

Just how much time do people spend reading the manual?

There is a pre-defined variable called $_SERVER['PHP_SELF'] you may also
want to look at things like basepath etc.

-- 
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