Referrers and Headers in PHP

Discussion in 'PHP' started by Panjabi, Jan 28, 2009.

  1. #1
    1) How can PHP be used to cloak/hide headers?

    2) IF i have file 1.php that has the code header("Location:file2.php?var=$x"); and the file2.php outputs header("Location: $value"); ..... what will the referrer show as? file1.php or file2.php

    Thanks in advance!
     
    Panjabi, Jan 28, 2009 IP
  2. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #2
    1. Use curl
    2. File2.Php, i guest. :p
     
    chmdznr, Jan 28, 2009 IP
  3. Panjabi

    Panjabi Peon

    Messages:
    362
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Any example of curl code to use?
     
    Panjabi, Jan 29, 2009 IP