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 s
I do this
Example:
";
break;
case "upload":
//Upload function here
$dispay_time = date('is') - $_POST['$click_stamp'];
Echo "File took $dispay_time to upload";
//Time stamp it anyway you want EXAMPLE ONLY!!
break;
}
?>
FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this i
> 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 for
[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 timest
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.
>
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
6 matches
Mail list logo