Yes you can........ but....
| From: | Galkov Vladimir | Date: | Thu, 01 Nov 2001 11:08:28 +0000 |
| Subject: | Yes you can........ but.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73140@lists.php.net to get a copy of this message | ||
Yes you can...
If....if I rightly understand you only.... well... you whant submit
information without clicking submit button? .. well then you have to imagine
any suported event or use meta tag...... One problrm I don't use VB
script....
Way one... ( this is example of 100% stupid code ... only to show the
gate;-) ... will be usefull only if you find the way to abort/allow submit
in you <script> )
<form id=wwww action=test.php onsubmit='chek()'> // <<< any supported
event
<input type=text>
<input type=submit>
</form>
<script>
function chek()
{
document.forms('wwww').submit();
}
</script>
-------------------------------
Way two... use meta tag.... (somth like game... or grenade ;-) .... I'm not
worry you are not qwik enoth to fill all fields :-) )
<?
$timer = 10; // seconds
$url_str =
"http://arthurbard.com/testarea/AutoPost.php/?sender_name=Arthur&sender_emai
l=me@work&message=Hello."; // well.. what you wrote
?>
<META HTTP-EQUIV="Refresh" Content="<? print $timer?>; URL=<? print
$url_str
?>">