Need to redirect and keep post variables

Discussion in 'Site & Server Administration' started by giraph, Jul 25, 2006.

  1. #1
    So I have one site up and running right now but I am changing domains. The first site is recieving post data when people go to it, and i need to keep that post data when i redirect them to the new site. Any idea how to do this?

    ie.

    They go to http://domain.com/index.php with post data of $foo = 1

    They are redirected to http://domain2.com/index.php with post data of $foo = 1

    If i can't use post here, get will work too. Thanks for your help.
     
    giraph, Jul 25, 2006 IP