Rank: Member
Groups: Member
Joined: 1/11/2007(UTC) Posts: 6
|
I cannot seem to get the value of an images Description_0 variable after upload. Images are uploading to the server, but Descriptions are not. The php script which receives the POST
$thisFile = 'Thumbnail1_'.$z; // $z iterates through the files in POST $advDescription = $_FILES[$thisFile][Description_0];
The result is that $advDescription is blank. I'm pretty sure I am not correctly referencing the "Description_0" element of the POST array, but can't figure this one out.
Thanks in advance!
|
|
|
|
Rank: Advanced Member
Groups: Joined: 8/3/2003(UTC) Posts: 998
|
Hello, Description field index is 1-based. For example, if you upload three files, you will get Description_1, Description_2, and Description _3 fields (the same is true for other fields). You can find more information in POST Field Reference. Edited by user Tuesday, October 28, 2008 6:01:27 AM(UTC)
| Reason: Not specified |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.