Forums / Setup & design / PHP reload inside a module

PHP reload inside a module

Author Message

Mahesh Arvind

Friday 09 July 2004 9:01:52 pm

Hi,

Is it possible to reload the same PHP file using PHP_SELF, which is called by a module? When I tried it through http://www.sitename/reports/overview, I was able to reload the page. However, when I called this module inside a new site, the reloading is not happenning. Please provide suggestions as to how to do this.

Thanks
Mahesh

Thanks & Regards
Mahesh

Kåre Køhler Høvik

Sunday 11 July 2004 10:50:26 pm

You can use

$Module->redirectTo( <your url> );

to force a redirection on client level. Please check existing eZ publish code if you have any questions.

Kåre Høvik