header('Location:./')
Posted: Tue 31. May 2022, 20:32
hi everybody,
I would request help in following matter:
I am using CMSimple header('Location:./'); in my content.htm file witch worked well (I am using CMSimple 5.3), but after I relocated to another server, (using same files and same settings) did not work anymore (it just display the <h1,...h4> page title and stop executing the code. on both server the php version is 5.5.
Also, when I am using together "header(Location)" and "geturl" (for external file), neither redirects neither is displaying the external file.
(when I use "geturl" without the "header('Location:.')", the external file is displayed correctly).
Any idea what am I doing wrong or what can be the problem?
Thank you in advance for the help.
Alex
I would request help in following matter:
I am using CMSimple header('Location:./'); in my content.htm file witch worked well (I am using CMSimple 5.3), but after I relocated to another server, (using same files and same settings) did not work anymore (it just display the <h1,...h4> page title and stop executing the code. on both server the php version is 5.5.
Also, when I am using together "header(Location)" and "geturl" (for external file), neither redirects neither is displaying the external file.
(when I use "geturl" without the "header('Location:.')", the external file is displayed correctly).
Any idea what am I doing wrong or what can be the problem?
Thank you in advance for the help.
Alex