View Single Post
ישן 06-04-11, 20:29   # 5
OrPol
א.פורום תוכנה
עסק רשום
 
OrPol's Avatar
 
מיני פרופיל
תאריך הצטרפות: Aug 2006
הודעות: 1,979

OrPol לא מחובר  

זה הרבה הרבה יותר קל בphp,
אבל נזרום:

קוד:
<html>
<head>
<script language="javascript">
function gup(name)
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp(regexS);
var results = regex.exec(window.location.href);
if(results == null)
return "";
else
return results[1];
}

function send_form()
{
	document.formname.submit();
}

function check_submit()
{

if(gup(hks) == "ok")
	send_form();
}
</script>
<body onload="check_submit()">
<form>
</form>
</body>
</html>
  Reply With Quote