Adobe Dreamweaver Forums



Last 10 THreads :         DW help urgently needed, lost my connection to site (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          Connecting to a Database (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          application.cfm/webservice (Last Post : BKBK - Replies : 1 - Views : 2 )           »          Random positions for Movieclips (Last Post : arnhemcs - Replies : 4 - Views : 8 )           »          Generating LEGAL size Word doc (Last Post : BKBK - Replies : 2 - Views : 3 )           »          This Tough Economy and Flex/AIR (Last Post : LuigiL - Replies : 2 - Views : 109 )           »          Fireworks images seem jaggy or kind of blurry (Last Post : azmatswabi - Replies : 5 - Views : 7 )           »          a group for eve players to discouss the interest (Last Post : evemaven - Replies : 0 - Views : 1 )           »          Trouble using variables to name and instantiateTextFields (Last Post : jc_2006 - Replies : 1 - Views : 2 )           »          Background color code is not working. Please help (Last Post : Tim G - Replies : 9 - Views : 10 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Php Development
 
Tags: , , ,



Reply
  #1 (permalink)  
Old 07-15-2008, 07:47 PM
Waleed_Barakat@adobeforums.com
 
Posts: n/a
Diggs:
Default Tutorial Announcement .:: Building Upload

Hello everyone...

In this tutorial we will learn how to build an advanced, powerful and easy File manipulation script, this File manipulation script allow your site visitors to upload, download files, and share this files with their friend(s).

File manipulation is used on the web to allow site visitors to download an offline version of the information presented, for effective document management or just to offer some files to others. Dynamic sites cover file manipulation quite nicely, allowing file uploading and changing on the fly, as well as a better control over downloaded / uploaded files.

Downloading files is the easy part, you just need to add a link to your page pointing to the file's location on the server, and when any visitor clicks that link, he can download the file.

The page to which the form submits will initialize some variables containing the file name, size and the remote upload folder. These variables have different names, depending on the web server you use, but their function is similar. To find what the specific names for this variables are for your particular configuration, consult the manual of the server, the file manipulation section.

When you work with files, you should take into account the following issues:

Maximum file size. This determines how large uploaded files can be. This option depends on each server's configuration and if exceeded, the file will automatically be discarded.
File access rights. To be able to upload files to a server directly from your web application, you must set the right to save files to the specified folder, otherwise an error occurs.
Proxy and cache settings. Certain proxy and cache configurations can limit the maximum allowed file size. Therefore, when you attempt to upload a large file, you might get an error, even if your web server is configured to accept the file. These settings can be changed in the proxy/cache configuration files.

The advanced options:
------------------------------------
- Attaching progress bar indicator while the file is uploaded.
- Show the download and delete links to visitor.
- Adding splash screen with waiting countdown timer.
- Counting how many times the file downloaded by visitors.
- show/hide page elements to protect it from being hacked.
- send download link to others using Send Email and Custom forms.
- and much more...

:: Go To Tutorials :: <http://www.developer-online.com/views_no.php?id_tut=51>

:: Go To Online Demo :: <http://www.developer-online.com/upload_download/index.php>

Best Regards
Waleed Barakat
Developer-Online Creator and programmer
www.developer-online.com <http://www.developer-online.com>


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-17-2008, 03:08 PM
Design_Stage@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Tutorial Announcement .:: Building Upload

Thanks for posting this - I just needed something to assure a client that a file was being uploaded when they submitted a form, and this does just that.

Very generous of you to take the time to write such a comprehensive tutorial.
Reply With Quote
  #3 (permalink)  
Old 07-18-2008, 03:29 PM
Waleed_Barakat@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Tutorial Announcement .:: Building Upload

Hello Design Stage,
thanks, i am happy to hear that from you.
Reply With Quote


  #4 (permalink)  
Old 07-19-2008, 04:21 AM
Purple_Edge@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Tutorial Announcement .:: Building Upload

Thanks, Waleed!

It would be great if you could figure out a way to determine file size before attempting an upload.

For your example site, trying to upload a large file takes a while, then the error message loads saying that the maximum size is 1024K. I've tried to get around this by putting the maximum size on the upload page, but a check for file size would be better.
Reply With Quote
  #5 (permalink)  
Old 07-19-2008, 09:54 AM
Günter_Schenk@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Tutorial Announcement .:: Building Upload

Hi Purple Edge,

-------
it would be great if you could figure out a way to determine file size before attempting an upload.
-------

PHP can only access file data (e.g. size) after it´s been uploaded -- one would have to use Flash for this, as this technology is indeed capable to check such data immediately.

Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk