Advertisement

PHP Solutions pp 141-178 | Cite as

Uploading Files

  • David Powers

Abstract

PHP’s ability to handle forms isn’t restricted to text. It can also be used to upload files to a server. For instance, you could build a real estate website for clients to upload pictures of their properties or a site for all your friends and relatives to upload their holiday photos. However, just because you can do it, doesn’t necessarily mean that you should. Allowing others to upload material to your website could expose you to all sorts of problems. You need to make sure that images are the right size, that they’re of suitable quality, and that they don’t contain any illegal material. You also need to ensure that uploads don’t contain malicious scripts. In other words, you need to protect your website just as carefully as your own computer.

Keywords

Class Definition Conditional Statement Remote Server Multiple File Class File 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© DAVID POWERS 2010

Authors and Affiliations

  • David Powers

There are no affiliations available

Personalised recommendations