| View previous topic :: View next topic |
| Author |
Message |
wavedave
Joined: 05 Oct 2006 Posts: 3
|
Posted: Oct 06, 2006 5:04 am Post subject: post variables not displayed in post.cgi |
|
|
I have "url_post" set to "post.cgi" in XUploadConfig.pm (pro v.2.2)
My upload and the redirection works, but the post.cgi page is blank.
All of the variables are listed in my email notice. How can I get them
to be displayed by post.cgi?
Note: I'm using an older version of Perl: 5.00503
I'd be grateful to anyone who might be able to assist me. Thank you. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Oct 06, 2006 10:20 am Post subject: |
|
|
Make sure you have URL to your post.cgi script in url_post field in XUploadConfig.pm
probably you have it in redirect_link field now. |
|
| Back to top |
|
 |
wavedave
Joined: 05 Oct 2006 Posts: 3
|
Posted: Oct 06, 2006 10:28 am Post subject: |
|
|
Thanks for the reply, but it's in the right place:
| Code: | # URL to send all input values from upload page
url_post => 'http://mysite.com/uploader/post.cgi',
# The link to redirect after complete upload
redirect_link => 'http://mysite.com/uploader', |
|
|
| Back to top |
|
 |
ripclaw
Joined: 10 Mar 2007 Posts: 4
|
Posted: Mar 14, 2007 12:09 am Post subject: |
|
|
I was able to pull the following information from post.cgi.
Content-type: text/html att_original:Uniden.txt
att:Uniden7.txt:
att_status:OK. renamed to:Uniden7.txt
title:
problem:
solution:
category:Active Directory
keywords:
MAX_FILE_SIZE:8000000
popup:on
aid:3
submit1:Submit/Save
css_name:
tmpl_name:
target_dir:/var/www/htdocs/testkb/uploads
I am using php, and I try to pull the filename by using
$att = $_POST['att'];
but I get nothing. If i set it to 'att_original' or 'att_status' I get the values above. Any ideas?
* XUpload 2.6 Free
* IE
* Linux |
|
| Back to top |
|
 |
|