Skip to content

Instantly share code, notes, and snippets.

@riaf
Forked from wozozo/gist:918962
Created April 14, 2011 05:55
Show Gist options
  • Save riaf/918966 to your computer and use it in GitHub Desktop.
Save riaf/918966 to your computer and use it in GitHub Desktop.
<?php
if ($_POST) {
return header('Location: tel://xxxxxxxxxxx');
exit();
}
?>
<form action="" method="post" name="telform">
<input type="submit" name="submit" value="でんわ" />
</form>
<script>document.telform.submit()</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment