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
Using and Manipulating the "Post info"

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



Joined: 15 Dec 2006
Posts: 2

PostPosted: Dec 15, 2006 4:03 am    Post subject: Using and Manipulating the "Post info" Reply with quote

I would like to manipulate the data so it reads just the file name that was uploaded and that it was a success.

THanks in advance
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Dec 15, 2006 8:08 am    Post subject: Reply with quote

In Perl or PHP? Actually post.php/post.cgi are example file that show you how to receive POST from upload.cgi with upload data.
Back to top
View user's profile Send private message Visit poster's website
Jsoucek



Joined: 15 Dec 2006
Posts: 2

PostPosted: Dec 18, 2006 5:57 pm    Post subject: Reply with quote

Basically I want the script to display a "success" page that says something like "Your file: [Filename] was successfully uploaded." The Post information has many fields I do not want to utilize. I wanted to be able to isolate individual information. Thanks In Advance
Back to top
View user's profile Send private message
sandyinc



Joined: 15 Dec 2006
Posts: 7

PostPosted: Dec 18, 2006 10:10 pm    Post subject: Reply with quote

Don't mean to thread-jack, but I have a similar question in regard to the POST information that is sent after the file is uploaded. When a file is re-named, is there a way to send the new filename with the POST information?
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Dec 19, 2006 9:41 am    Post subject: Reply with quote

In Pro 2.3 we POST this file info after upload:

Example:
Code:

file_0:12 Stones - My Life3.mp3
file_0_original:12 Stones - My Life.mp3
file_0_status:renamed
file_0_size:2937503
file_0_description:description


as you can see both original & renamed filenames there
Back to top
View user's profile Send private message Visit poster's website
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