Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
/Per Jessen, Zürich
--
PHP
Per Jessen wrote:
Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
pseudocode:
[EMAIL PROTECTED] wrote:
But don't forget to send a server timestamp within the form. Just for
the case that server time and client time may differ in some minutes
(or even timezone).
The OP said I'd like to be able to notify the user of when the file
upload actually began., so the timestamp
Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
But don't forget to send a
I do this
Example:
?
switch($_REQUEST['req'])
{
default:
$click_stamp =date('is');
echo form action=? method=postinput type=hidden name=clicks
value=$click_stamp
input type=file name=upfile tabindex=1 size=35
input type=submit value=upload name=req/form;
break;
case upload:
//Upload function
On Nov 15, 2007 12:14 PM, [EMAIL PROTECTED] wrote:
FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this is a
example ONLY!!!
OF COURSE I LEFT OUT CODE. OF COURSE THIS IS NOT A COPY PASTE AND IT WILL
RUN!!
There should be an apostrophe in GODS and your sentence should
6 matches
Mail list logo