I have been unable to extract only the fields I need from the post.php example, or rename them to mysql database fields to insert them after upload. i.e. ... file_0,file_0_size,host
Can anyone send me more info.
Thank You in Advance.
XUpload - Post.php Variables
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Post.php Variables
Yes v.2.5.
I see all the data correct on the screen.
I am not a programer and I can't read and fill those values in an array to write to Mysql DB.
Your Software is great, just hoping for a little help :
// Fields List With Requirements
$fields = array
(
'email',
'date_time',
'file',
'comments'
);
$date_time = date("Y-m-d H:i:s");
$file = file_upload(strtotime("now")."_");
// Build Data Array from Fields and Posted Data
foreach($fields as $key => $value)
{
$field_var = $$key;
$data_array[$key] = $field_var;
I can't get the data correctly.
I see all the data correct on the screen.
I am not a programer and I can't read and fill those values in an array to write to Mysql DB.
Your Software is great, just hoping for a little help :
// Fields List With Requirements
$fields = array
(
'email',
'date_time',
'file',
'comments'
);
$date_time = date("Y-m-d H:i:s");
$file = file_upload(strtotime("now")."_");
// Build Data Array from Fields and Posted Data
foreach($fields as $key => $value)
{
$field_var = $$key;
$data_array[$key] = $field_var;
I can't get the data correctly.