Friday, 14 March 2014

Uploading Files to the User Page

Now that I managed to upload image files to a folder I need to enable the system to allow other file formats to be uploaded. This process was not as challenging as I thought simply because I had a working model already all that was needed was to remove the restrictions I had allocated within the PHP.


The query inserts the file information onto the database and then saves the actual file within the path folder i created.





 Sources
Thompson, P. 2012. Change file permissions upon file upload--PHP? - Stack Overflow. [online] Available at: http://stackoverflow.com/questions/11089654/change-file-permissions-upon-file-upload-php [Accessed: 25 Mar 2014].

No comments:

Post a Comment