get:
<script>
name="xxx"; window.location='xxx.php?
name='+name;
post:
<script>
name="xxx";
</script>
<form name=form1 method=post οnsubmit="this.name.value=name">
<input type=hidden name="name">
</form>
get:
<script>
name="xxx"; window.location='xxx.php?
name='+name;
post:
<script>
name="xxx";
</script>
<form name=form1 method=post οnsubmit="this.name.value=name">
<input type=hidden name="name">
</form>
转载于:https://www.cnblogs.com/rakinda/p/10784642.html