- Joined
- Jun 19, 2007
- Messages
- 1,669
- Reaction score
- 147
EDIT
After I re-edited XZeenon's code, and uploaded my PHP files to my web-host it started working. It's Firefox that doesn't allow the code to work.
So thanks XZeenon!
----
Hello,
I was wondering how I can redirect users to a 'maintenance.php' page if in the index.php it shows "$maintenance = 1" and how I can show index.php if it shows "$maintenance = 0"
Can someone help me out here?
After I re-edited XZeenon's code, and uploaded my PHP files to my web-host it started working. It's Firefox that doesn't allow the code to work.
So thanks XZeenon!
----
Hello,
I was wondering how I can redirect users to a 'maintenance.php' page if in the index.php it shows "$maintenance = 1" and how I can show index.php if it shows "$maintenance = 0"
Can someone help me out here?

Last edited: