It is grabbing the first file and spitting out the same info for each file even though they are different files. I can't seem to grab all of the data from the multiple files. The function moves files uploaded from a local machine to a new location. PHP has a method for file uploads, performing file validation, and the method is called moveuploadedfile (). I have seen posts for plugins, but I would like to know how to do it without having to use a plugin for a simple task.įorm->create($havesAndWant, ) ?>Įcho $this->Form->input('contact_email') Įcho $this->Form->input('contact_phone') Įcho $this->Form->input('contact_street_address') Įcho $this->Form->input('contact_state') Įcho $this->Form->input('ad_street_address') Įcho $this->Form->input('ad_additional_info', ) Įcho $this->Form->input('ad_photos', ) The major advantage of a multiple file PHP uploader is that it allows users to select and upload multiple files at once. I am not sure how to upload multiple files with CakePhp 3 syntax. How do I grab all the data for each file? I thought I needed to use the post array that I had in order to set the variables for the file info.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |