Joined November 2014
·

billynoah

zuma-design.com
·
·

Posted to No referer after redirect (Solved) over 1 year ago

First of all, thanks!

Secondly, regarding passing variable as inputs I did it something like this and works perfectly:

<!DOCTYPE html>
<html>
    <body>
      <form action="<?php echo $_GET['action']; ?>" method="get" name="redirect">
            <?php foreach ($_GET as $key => $value) { ?>
               <?php if ($key != 'action') { ?>
                <input type="hidden" name="<?php echo $key; ?>" value="<?php echo $value; ?>" />
                <?php } ?>
            <?php } ?>
        </form>
        <script> document.forms['redirect'].submit() </script>
    </body>
</html>
Achievements
1 Karma
0 Total ProTip Views