Web hosting control panel - UPLOADING FILES Checking whether your server supports uploads
UPLOADING FILES Checking whether your server supports uploads All the information that you need is displayed in the main PHP configuration page that you can display by creating a PHP page with the following script and uploading it by FTP to your remote server: Load the page into a browser, and locate the section shown in the screen- shot to the right. Scroll down until you find file_uploads. If the Local Value column contains On, you re ready to go, but you should also check the other configu ration settings listed in Table 6-1. Table 6-1. PHP configuration settings that affect file uploads Directive Default value Description max_execution_time 30 The maximum number of seconds that a PHP script can run. If the script takes longer, PHP generates a fatal error. max_input_time 60 The maximum number of seconds that a PHP script is allowed to parse the $_POST and $_GET arrays, and file uploads. Very large uploads are likely to run out of time. post_max_size 8M The maximum permitted size of all $_POST data, including file uploads. Although the default is 8MB, hosting companies may impose a smaller limit. upload_tmp_dir This is where PHP stores uploaded files until your script moves them to a permanent location. If no value is defined in php.ini, PHP uses the system default temporary directory. upload_max_filesize 2M The maximum permitted size of a single upload file. Although the default is 2MB, hosting companies may impose a smaller limit. A number on its own indicates the number of bytes permitted. A number followed by K indicates the number of kilobytes permitted. 153
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.