you can do this using Javascript
place this in your HTML code
<HTML>
|
|
Head title and the other stuff
|
|
<BODY OnLoad="javascript:document.forms[0].submit();">
|
|
Continue with the HTML Code
|
|
</Body>
</Html>
This will cause the form to be sumitted as soon as the page completes up
loading
hope that helps
regards
Ankur Verma
NetCentric Division
HCL Technologies
Noida, Uttar Pradesh
India
-----Original Message-----
From: Jacky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 1:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] submit form witout clilck submit button
Hi all
I have to submit username, domain name and password values to the cgi file,
It starts from the login page and submit values to a php page to tie up
username and domain name value together before submit it to the cgi file as
two values ( "username+domainname" , "password") .
The thing is that at php file, how do I submit those values without user
click on the submit button, say make the form submit right away as soon as
the page is read?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
--
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]