XUpload - Time offset

Message
Author
azvisual
Posts: 34
Joined: May 23, 2007 9:05 pm

Time offset

#1 Postby azvisual » May 23, 2007 9:06 pm

Is there a way to offset the server time? I need a 3 hour change from my server.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 24, 2007 5:11 am

Possible. In upload cgi replace

Code: Select all

my @t = localtime();
with

Code: Select all

my @t = localtime(time+3600*3);
this will give +3 hours.

azvisual
Posts: 34
Joined: May 23, 2007 9:05 pm

#3 Postby azvisual » May 24, 2007 5:20 am

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.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » May 24, 2007 5:25 am

Yes. This could be new feature in out next release.
About re-submit....you have Free or Pro version? Cause tested Pro in IE,Opera,FF - no resubmit. We fixed it in previous version I think.

azvisual
Posts: 34
Joined: May 23, 2007 9:05 pm

#5 Postby azvisual » May 24, 2007 2:39 pm

I have Pro version. Just got it 2 days ago.

I also use Safari and this is where it is happening. I'll try other browsers when I get to work, but we're a print shop, so Safari is a very popular browser for our clients.

Thanks.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » May 25, 2007 6:41 am

Sorry...spent 1.5 hours on this now...but can't find solution for Safari.
You can try to redirect to another page after POST.

azvisual
Posts: 34
Joined: May 23, 2007 9:05 pm

#7 Postby azvisual » May 25, 2007 2:09 pm

I'll keep messing around and see if I can figure out some sort of band-aid.

Thanks for looking into it.