Hi gurus,
I have been trying for the past couple of hours trying to get my php code to upload files to a specified folder.
So far, nothing is getting uploaded to that folder.
Here is my folder structure:
MainFolder
AdminFolder
UserFolder
Uploads folder
some code files
…
Inside both the AdminFolder and UserFolder are the files that upload files into the Uploads folder.
This is how I have been trying to upload the files:
public function SaveFolder($target = ‘/MainFolder/uploads/’)
Then during insert operation, I use the following to upload files to the Uploads Folder
->SaveFolder(’/MainFolder/uploadss/’)
Any idea why files are not getting uploaded there?
Thanks in advance