Skip to content

Instantly share code, notes, and snippets.

@walterdavis
Created December 26, 2010 17:40
Show Gist options
  • Save walterdavis/755528 to your computer and use it in GitHub Desktop.
Save walterdavis/755528 to your computer and use it in GitHub Desktop.
<?php
if( isset( $_POST['password'] ) ){
$input = trim(strip_tags($_POST['password']));
header('Location: http://example.com/' . $input );
exit;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment