Jump to content

Recommended Posts

Hi,

 

I have tried using curl to send fake header info to a target url and then display that website as if I had gone to it via a hyperlink, but it isn't working. It seems that curl just shows the page through my domain which isn't what I want.

 

Can anyone help me? Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/194608-php-browser-with-fake-header-info/
Share on other sites

That's the whole point of displaying the URL of the actual site you are on, to prevent people from being able to trick visitors into thinking they are on a different site. If it was possible to do what you are trying, there would be fake phishing sites all over the place.

Hi, basically I want to be able to visit a site via a hyperlink generated by another of my scripts, and have it send fake referrer info to the server, so it doesn't look like my requests all came from www.example.com.

 

Thanks for your replys.

Again, if you're trying to do what I think you're trying to do then no. The referrer information comes from the browser, it is up to them whether to send a referrer or not: your website cannot say, "don't send a referrer for the next page".

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.