/    Sign up×
Community /Pin to ProfileBookmark

Frames help, im stuck with this problem.

my site

[url]http://www.slaughter-house.co.uk/[/url]

i have a question
about my site, if u notice the members login? plz try

username=test
password=testing

it should log me in to the area, but it does not becuz of the frame that is created around my website because of my .co.uk domain.

if u go here [url]http://www.lukepev.lanfire.co.uk[/url] or [url]http://www.lanfire.co.uk/lukepev[/url]

then try the login u will see that it works…this is my site but not using the .co.uk i bought

is there a way to fix my .co.uk so that there is NO outa frame, this is whats casuing my login script to NOT work on my .co.uk ?

thnx for any helps
luke

to post a comment
Full-stack Developer

8 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayAug 31.2004 — Should be able to put something like this to break out of the frames assuming JS hasn't been disabled:
[code=php]
<script type="text/javascript">
if(top.location.href != window.location.href) parent.location.href="http://www.lukepev.lanfire.co.uk/";
</script>
[/code]
Copy linkTweet thisAlerts:
@LukePevauthorAug 31.2004 — thanks bud, im going to go try this
Copy linkTweet thisAlerts:
@LukePevauthorAug 31.2004 — dam notthin =(

i get java error at bottom when that script is inserted
Copy linkTweet thisAlerts:
@TheBearMayAug 31.2004 — What's the error?
Copy linkTweet thisAlerts:
@LukePevauthorAug 31.2004 — yellow java icon in bottom left of status bar, wen double clicked it simply says

error on line (woteva line the script is inserted on) char (whatever char)

permission denied

on www.lanfire.co.uk/lukepev
Copy linkTweet thisAlerts:
@TheBearMayAug 31.2004 — Sounds like the host is blocking the attempt.

For what it's worth, I did notice in looking through the code that you're not checking the cookie as specified in step 4 of the installation instructions for the login script.
Copy linkTweet thisAlerts:
@LukePevauthorAug 31.2004 — so wot i gota do...


i got check cookie in the memberarea.php

if i put it in the index.php then when i load my url it says access denied when i try visit the site, that messes it up even more
Copy linkTweet thisAlerts:
@LukePevauthorAug 31.2004 — my host does not block it..as it works when u go to my real url...


but its only when using the www.slaughter-house.co.uk domain linked to my site, that it doesnt work
×

Success!

Help @LukePev spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...