Re: [PHP] I need help handling form posting

2007-11-15 Thread Daniel Brown
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

RE: [PHP] I need help handling form posting

2007-11-15 Thread admin
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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Robert . Degen
> 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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
[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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
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. >

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
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