Hi,
my form contains some input fields and a file upload that works just fine. it´s set to upload any image to my web server.
the form inputs are saved to a database.
the problem now is that only the image ´s file name is saved to DB, but not the file path.
the chronoform_data array sends [image] => 20121205092340_imagename.jpg to the data base, but what i would need is the path info:
Do you know how to get "/home/web/images/20121205092340_imagename.jpg" saved to data base?
thanks
my form contains some input fields and a file upload that works just fine. it´s set to upload any image to my web server.
the form inputs are saved to a database.
the problem now is that only the image ´s file name is saved to DB, but not the file path.
the chronoform_data array sends [image] => 20121205092340_imagename.jpg to the data base, but what i would need is the path info:
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[image] => Array
(
[name] => 20121205092340_imagename.jpg
[original_name] => imagename.jpg
[path] => /home/web/images/20121205092340_imagename.jpg
[size] => 5238
[link] => http://www.url.com/images/20121205092340_imageFox.jpg
)
Do you know how to get "/home/web/images/20121205092340_imagename.jpg" saved to data base?
thanks