XUpload pro has problems with urls not ending with .html or .php, etc.
Using mod_rewrite I tried posting the form from a url like:
www.domain.com/upload/
The result is that the XUpload Pro post_url pulls everything as $_GET's instead of $_POSTs.
I also recall that I couldn't use a url like www.domain.com/uploadsuccess.html as my post_url (even though it was mod_rewrite to a php script).
Just an FYI.
XUpload - Problem with 2.5
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
I was trying to smart detect where we need redirect or POST, so redirecting only to .htm and .html, POSTing to other URLs.
If you need to disable redirects at all, you can remove or comment this code from upload.cgi:
If you need to disable redirects at all, you can remove or comment this code from upload.cgi:
Code: Select all
if($url_post=~/\.htm(l|)$/i)
{
print"Content-type: text/html\n\n";
print"<HTML><HEAD><Script>parent.document.location='$url_post'</Script></HEAD></HTML>";
exit;
}