title: How to write a php/htaccess script to redirect form variables to another website
body: <p>Hey here is my problem : i made a flash and i can`t change it no mather what. That flash had a form that was sending data to my subdomain.. i had to remove the subdomain and i got a new website, the problem is this : how do i redirect the form data from the old site to the new one?
  In the flash i had the form send the data to : subdomain.site.ro/subscribe.php i still have that file there and i could write a script in it but the field names are something like : field[name] and i can't process them so i must send them to the original script witch is now on another site : othersite.ro/subscribe.php.</p>
  
  <p>So basicaly i must write a script that passes the post/get variables to the new script (on the new website) or to write a .htaccess file that will redirect the post/get variables to the new website</p>
  
  <p>Can someone help me? i`ve been searching for a long time and i could not find anything helpfull
  I would be gratefull if you would at least try to help.
  Thanks,
  Dan</p>
  
  <p><strong>Ok Now i can proccess the variables with the script below(with a html form). But the flash is not sending any variables to the script. i tried a lot of things and i am still trying.. any ideeas ? if yes please let me know.
  Thanks,
  Dan</strong></p>
  
  <pre><code>&lt;?php
  if(isset($_POST['key']['yourmom'])) 
  echo 'Your mom is '.$_POST['key']['yourmom'].' and your face '.$_POST['key']['yourface'];
  ?&gt;
  
  
  &lt;form method="post"&gt;
  &lt;input type="hidden" name="key[yourmom]" value="lol"&gt;
  &lt;input type="hidden" name="key[yourface]" value="failed"&gt;
  &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>