php configurations

Discussion in 'Site & Server Administration' started by cbisson, Aug 1, 2007.

  1. #1
    Hello,

    for the first time in all the hosts I have used up to now, I seem to have problems with header() in PHP... ANY header just doesn't work.

    A simple header('location:') doesn't work, displaying that the header was already sent... thing is, nothing is actually sent (because I know that it'll say that if anything as been output before the header...). Locally it works fine, on other hosts too, so the question is, what is the configuration that could cause headers to...cr*p?? And if I can't change those configuratutions, how do I bypass that bug??? (btw, I can't change host so I have to make it work on that one)

    Thank you,

    Chris
     
    cbisson, Aug 1, 2007 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Something with output buffering or maybe it's the particular php version ?
     
    agnivo007, Aug 1, 2007 IP
  3. cbisson

    cbisson Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The php version is 4 if I'm not mistaken...

    But still, it's a header('location:') lololl

    I mean it doesn't require any newest version of anything, it's a simple redirect through a header....

    actually also tried a header for to change the character encoding and that too did not work, so I came to the conclusion that no headers actually work :(

    I got to find out why... :S

    Chris
     
    cbisson, Aug 1, 2007 IP