XUpload - Time offset
Time offset
Is there a way to offset the server time? I need a 3 hour change from my server.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Possible. In upload cgi replace
with
this will give +3 hours.
Code: Select all
my @t = localtime();
Code: Select all
my @t = localtime(time+3600*3);
Thank you. Maybe being able to change this in the config would be a reasonable feature request?
Very nice script. Just got it yesterday and almost ready to go live. One other issue I have is after the form is submitted, if the user hits their back button, the form re-submits blank and sends me an email. Any way to prevent this? I assume it is going to upload.cgi when they hit their back button?
Thanks again.
Very nice script. Just got it yesterday and almost ready to go live. One other issue I have is after the form is submitted, if the user hits their back button, the form re-submits blank and sends me an email. Any way to prevent this? I assume it is going to upload.cgi when they hit their back button?
Thanks again.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm