Jump to content

knowing who uses my php script in its iframe? (http_referer??)


baignoire

Recommended Posts

hi all,

i offer on my website the possibility for anyone to include a part of my site on their own pages via an iframe.

the thing is that i would like to know which sites are using this feature. I use :

$_SERVER['HTTP_REFERER']  to get the url of the page that calls my page, but it obviously doesn't seem to work (all my results are blank :( )

am i doing it all wrong? is there a way to know the doamin name of the page in wich the iframe is displayed??

thanks for all.

raf

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.