yes, with javascript:

<script>
function sendIt(form) {
form.submit();
return true;
}

function startIt() {
setTimeout('sendIt(document.formName)',3000);
}
</script>
<body onload="startIt();">
<form method=post action=someScript name=formName>
<input type=hidden value=turkey name=bacon>
</form>

timeout is in milliseconds.

you could alternately pass document.formName directly to sendIt.

HTH,
DanO


> -----Original Message-----
> From: Chris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 9:23 PM
> To: PHP
> Subject: [PHP] Post without submit?
> 
> 
> is there anyway to post without clicking a submit button?
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to