Support Forums

Old 01-22-2008, 02:17 AM   #1
Member
 
Join Date: Sep 2007
Posts: 58
Rep Power: 7
Jessej is on a distinguished road
Default index page

where do i find my index page so I can place this code in it.

<?php
$deny = array("111.111.111", "222.222.222", "333.333.333");
if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {
header("location: http://www.google.com/");
exit();
} ?>
Jessej is offline  
Old 01-22-2008, 09:40 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 3,871
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

So what are you going to do about protecting all of your other pages? If you have the designer version of the software the php files are encoded so you cant edit them anyway.

As I mentioned in your other post, use your web host tools to block IP's.....much much easier.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I run scripts in an content page? dawyatt v3.1 Questions & Support 11 06-22-2007 03:50 PM
I have a page editing question. Tater v3.1 Questions & Support 7 03-29-2007 01:14 PM
Can't edit page content redgsr v3.1 Questions & Support 6 03-08-2007 02:41 PM
Problem getting page title flyingpylon v3.1 Questions & Support 5 10-19-2006 02:15 PM


All times are GMT -4. The time now is 12:31 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0