| View previous topic :: View next topic |
| Author |
Message |
Jsoucek
Joined: 15 Dec 2006 Posts: 2
|
Posted: Dec 15, 2006 4:03 am Post subject: Using and Manipulating the "Post info" |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 15, 2006 8:08 am Post subject: |
|
|
| 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 |
|
 |
Jsoucek
Joined: 15 Dec 2006 Posts: 2
|
Posted: Dec 18, 2006 5:57 pm Post subject: |
|
|
| 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 |
|
 |
sandyinc
Joined: 15 Dec 2006 Posts: 7
|
Posted: Dec 18, 2006 10:10 pm Post subject: |
|
|
| 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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 19, 2006 9:41 am Post subject: |
|
|
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 |
|
 |
|