XUpload - Problem in setting url_post to a php file

Message
Author
vinayn
Posts: 11
Joined: May 14, 2007 10:09 pm

Problem in setting url_post to a php file

#1 Postby vinayn » May 20, 2007 2:18 am

I have set the url_post in the XUploadConfig.pm file.All upload is working quite fine,But it is not redirecting to the URL that i set and opens a new
blank page into a new browser.
Please help me to sort out my problem

Thanks In Advance
Vinay

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

#2 Postby PilgrimX182 » May 21, 2007 5:29 am

I guess it's FireFox problem? In upload.cgi find this line:

Code: Select all

print"</Form><Script>document.F1.submit();document.location='about:blank';</Script></BODY></HTML>";
and replace it with

Code: Select all

print"</Form><Script>document.location='javascript:false';document.F1.submit();</Script></BODY></HTML>";
should work fine now.

vinayn
Posts: 11
Joined: May 14, 2007 10:09 pm

#3 Postby vinayn » May 23, 2007 7:27 pm

Hi,

Thanks al lot, :D its working fine now after making those code changes.
But It was giving that problem on both IE as well as mozilla.
Its working fine now. :lol:

Thanks Again
Vinay