Script URL: www.thefletchers.co.uk/guestbook/
Version of script: 1.7
Hosting company: 1and1
URL of phpinfo.php: www.thefletchers.co.uk/guestbook/phpinfo.php
URL of session_test.php: www.thefletchers.co.uk/guestbook/session_text.txt
What terms did you try when SEARCHING for a solution: IP ban redirect, Ip ban landing page redirect etc
Write your message below:
rather than display the "ERROR - YOU ARE BARRED" message to everyone that has their IP barred, is there a way I can redirect to a different URL instead. I have found the entry in language.ini.php, but my knowledge of this type of programming is VERY limited !!
Redirect IP Ban Landing Page
Re: Redirect IP Ban Landing Page
Open gbook.php in a plain text editor such as Notepad and try modifying this code: to
Must be done twice in the gbook.php file and of course change the website URL in the code to your own URL.
Code: Select all
die($lang['e21']);
Code: Select all
header('Location: http://www.yourwebsite.com'); exit();
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Redirect IP Ban Landing Page
Thank you - works like a charm.
I'm off now to buy the program as my way of saying thanks
I'm off now to buy the program as my way of saying thanks