Home
Forum
How avoid direct access to SMF?
Welcome,
Guest
. Please
login
or
register
.
November 21, 2008, 01:21:51 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum
|
MamboHacks.com
|
Mambo-SMF Integration 1.2.0 Support
| Topic:
How avoid direct access to SMF?
« previous
next »
Pages:
[
1
]
Author
Topic: How avoid direct access to SMF? (Read 2082 times)
Gianni
Newbie
Karma: +0/-0
Offline
Posts: 10
How avoid direct access to SMF?
«
on:
April 12, 2005, 02:08:48 AM »
How can I avoid direct access to my wrapped SMF?
Logged
cowboy
Administrator
Hero Member
Karma: +30/-0
Offline
Posts: 663
Re: How avoid direct access to SMF?
«
Reply #1 on:
April 12, 2005, 08:17:02 AM »
Code:
<?php
if (
strpos
(
$_SERVER
[
'QUERY_STRING'
],
'dlattach'
) ===
false
) {
defined
(
'_VALID_MOS'
) or
header
(
"Location: http://www.yoursite.com"
);
}
?>
put the above in the first line of your SMF index.php
Logged
Pages:
[
1
]
Forum
|
MamboHacks.com
|
Mambo-SMF Integration 1.2.0 Support
| Topic:
How avoid direct access to SMF?
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MamboHacks.com
-----------------------------
=> Announcements
=> Mambo-SMF Forum 1.3.0 Support
=> Mambo-SMF Integration 1.2.0 Support
=> Mambo-SMF Integration 1.1x Support
=> FAQ's
===> Mambo-SMF Forum
=> Feedback
-----------------------------
General Discussion
-----------------------------
=> Community Announcement
=> General Discussion
=> Sites Using Mambo-SMF Forum
-----------------------------
Mambo 3rd Party Addon Hacks
-----------------------------
=> Component Hacks
=> Module Hacks
=> Mambot Hacks
=> Template Hacks
-----------------------------
Mambo Core Hacks
-----------------------------
=> Mambo 4.5.2
=> Mambo 4.5.1
-----------------------------
Bugs Discussion
-----------------------------
=> 3rd Party Component Bugs
=> 3rd Party Module Bugs
=> 3rd Party Mambot Bugs
-----------------------------
Techies Zone
-----------------------------
=> How-To's
=> Tips
-----------------------------
International Forum
-----------------------------
=> German Forum
=> Spanish Forum
=> French Forum
=> Dutch Forum
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum | Powered by
SMF 1.0.5
&
Mambo-SMF
.
© 2001-2005,
Lewis Media
. All Rights Reserved.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE