WEBDEV Concepts
Part 2: Developing a site 67 Upload: Sending files to the server Uploading consists in sending one or more files from the user’s computer to the server. A simple example: Create a contact in a directory . The user wants to associate a photo with the contact form. This photo is stored on the hard disk of the computer. The UPLOAD control allows the user to select the image via a "Select a file" button. When the form is validated, the selected image file is sent to the server and copied to the hard disk of the server ( UploadCopyFile ). Then, the image will be displayed in the contact form. Web server Server at the hosting company When validating the page, the “uploaded” file is copied into the hard disk of the server. On the browser of the Web user Caution: The appearance of the "Select a file" button (shape, color or text) is defined by the browser and cannot usually be customized. Remark : WEBDEV also includes an upload Smart control. This control supports progress bars, multiple file selection, etc.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==