Can you tell me if this code is working properly?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sspitfire
Forum Newbie
Posts: 1
Joined: Wed Nov 09, 2011 1:35 pm

Can you tell me if this code is working properly?

Post by sspitfire »

Hi. Im using a script that creates an iframe and fakes the referer. Its using cake slice. Ive posted the code below. My question is - is it faking the referer properly? Do you think its reliable? Or is it going to leak the ref? it creates 3 pieces of code. 2 of them u need to paste in the page containing the iframe and 1 on the page that is the fake ref. http://pastebin.com/gcEzfn40

So is it going to work properly? The only way i can think to test it to code a page that shows the ref and see what ref its showing - if its showing the fake ref than its working. But before I try to code such page, I decided to ask here first. So do u think the code is realiable? Or do u know an easy to test it? I tried iframing www.whatismyreferer.com but It cant - I think it can only iframe pages with email submit field. Hope its clear.
Post Reply