Search found 7 matches

by mmcw
Aug 02, 2007 9:04 am
Forum: XUpload
Topic: url_post
Replies: 4
Views: 6156

I have changed: ### Sending data with POST request if need my $url_post = $c->{url_post} || $ENV{HTTP_REFERER}; if($url_post) { 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>"...
by mmcw
Aug 02, 2007 9:01 am
Forum: XUpload
Topic: Multiple selection using changed tiny2 form
Replies: 6
Views: 6407

Are you interresed in the final result as an extra example?
by mmcw
Aug 02, 2007 9:00 am
Forum: XUpload
Topic: Multiple selection using changed tiny2 form
Replies: 6
Views: 6407

2) You've replaced wrong sleep. My fault. Edit sleep right after line: ### Small pause to sync messages with pop-up An extra sleep had to be placed after: ### Small pause to sync messages with pop-up sleep 1; sleep(2) if $c->{ajax_mode}; # Ajax is pretty slow &DelData($temp_dir); &DeleteExp...
by mmcw
Aug 01, 2007 9:11 am
Forum: XUpload
Topic: url_post
Replies: 4
Views: 6156

It will work when redirect to an URL.
But when it has to be redirected to an address like this:

http://www.test.nl/cgi-bin/test.cgi?act ... ing&test=1

the part after the ? will be ignored!! It will redirect to:
http://www.test.nl/cgi-bin/test.cgi. How to fix that??
by mmcw
Aug 01, 2007 8:40 am
Forum: XUpload
Topic: Multiple selection using changed tiny2 form
Replies: 6
Views: 6407

If I got you right, you've purchased Pro version. 1) In xupload.js find if($('progress_bar'))$('progress_bar').style.display='block'; and replace it with if($('show_upload').checked)$('progress_bar').style.display='block'; Thanks, that did the trick. 2) In upload.cgi find "sleep 1;" and r...
by mmcw
Aug 01, 2007 8:30 am
Forum: XUpload
Topic: url_post
Replies: 4
Views: 6156

url_post

In the free version it was possible to add the url_post value to the form.

In the pro version the url_post value can be set in the settings file.

Is it possible to use/ set the url_post value in the uploading form.
My url_post value is dynamically!

Greetings

Michel
by mmcw
Jul 31, 2007 3:16 pm
Forum: XUpload
Topic: Multiple selection using changed tiny2 form
Replies: 6
Views: 6407

Multiple selection using changed tiny2 form

I have been trying to use the code from tiny2 with upload form. It works like a charm. However I have Three questions: 1) How to make it selectable to show the uploading progress. I already added a checkbox Show progress. I know how to hide the progress part: Change: <div> <div id="progress_bar...