How to Redirect in PHP

Discussion in 'Software' started by pallavimahajan, Dec 2, 2005.

  1. pallavimahajan

    pallavimahajan Private E-2

    Hello
    I have to redirect to another page in PHP script, after some amount of information has been verified.
    The problem is, I cannot use header function, because, as I said there is information going to the header before.

    Is there any other method in PHP?
    Please Advice
    Thanks
     
  2. Wookie

    Wookie Sergeant Major

    Not with PHP but you could write some javascript to do it and use php not to display the javascript unless you need it to redirect.
     
  3. goldfish

    goldfish Lt. Sushi.DC

    You could always use a meta redirect :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds