First Aid Page for Advanced Multiple File and Remote Upload
If you have any problems, then write an email to me »
To access the server behavior, go to server behaviors (or klick ctrl+F9), klick the '+', go to the menu item 'upload' and then you can choose between the four items 'Advanced PHP File Upload', 'Advanced PHP Remote Upload', 'Advanced PHP File Upload DB' or 'Advanced PHP Remote Upload DB'.
What is the difference between this four menu items?
The differences between the four menu items is, that every item inserts a different upload script. With the two that have the DB postfix you can upload files on the server and insert the filenames into the database. The "file upload" will create normal upload fields with upload from desktop to server upload. The "remote upload" will create an upload, where you can upload files from the web (insert the url of the files) to your server. That means, e.g. if you see an image in the Internet you also want to have on your server, enter the url of the file(s) into the text fields and uplod on your server.
Explanaition
Main tab
Enter the upload direction where the uploaded files should be stored. The direction have to be a relative path to the script-file. E.g.:
../upload/images or upload/files. Same folder means, that the uploads will be stored in the same folder where the upload-script-file is stored on the server.
Enter the file extensions (comma seperated) you want to allow to upload.
Declare the file extensions you want to allow to upload. The file extensions must be inserted comma seperated. Like: " jpg,png,html,htm,pdf "
Write the number of upload fileds you want to have on your website into the next box. The extension automatically creates the number of upload fileds on your page. If you want to allow multiple file upload with eg. 4 upload fields, then write the 4 into the extensions input field.
The next step allows you to set up a maximum filesize for uploads. If an uploaded file is bigger than your value, there will be an error message. The file size must be set up in bytes. 100 kb are 100 000 byte, 1 mb are 1 000 000 byte, 10 mb are 10 000 000 byte.
You will need the next two option only if you allow image upload. Enter the maximum image with and height you want to allow. All images bigger than one of the two values couses an error message. If you don't handle with images, then let the values as is.
More help is coming soon...