RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
post variables not displayed in post.cgi

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
wavedave



Joined: 05 Oct 2006
Posts: 3

PostPosted: Oct 06, 2006 5:04 am    Post subject: post variables not displayed in post.cgi Reply with quote

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
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Oct 06, 2006 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wavedave



Joined: 05 Oct 2006
Posts: 3

PostPosted: Oct 06, 2006 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
ripclaw



Joined: 10 Mar 2007
Posts: 4

PostPosted: Mar 14, 2007 12:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group