Skip to content

Instantly share code, notes, and snippets.

@simonlindholm
Created July 30, 2014 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonlindholm/56331ad07b9854149297 to your computer and use it in GitHub Desktop.
Save simonlindholm/56331ad07b9854149297 to your computer and use it in GitHub Desktop.
Firebug issue 7585 testcase
<!DOCTYPE html>
<meta charset=utf-8>
Loaded with: <?= (isset($_POST['submit']) ? 'POST' : 'GET') ?><br>
Request number: <?php
session_start();
$req = (isset($_SESSION['reqid']) ? $_SESSION['reqid'] : 1);
$_SESSION['reqid'] = $req + 1;
echo $req;
?><br>
<script>f = function() {};</script>
<form method=post style=display:inline>
<input type=submit name=submit value=POST>
<input type=button onclick=location=location value=GET>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment