Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Dreamweaver PHP Uploader Form

Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

Hey all,

Ok here's something that I haven't done much of, I'm looking for a tutorial on creating a page that would allow the user to upload files such as pictures for instance, then I need a page to store those pictures, I know it can be done in DW with a bit of PHP knowledge, I'm ok there.....  Could some one be so kind as to direct me to such a tutorial?

Thanks in advance

Allen

TOPICS
Server side applications

Views

2.3K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

http://www.google.com/search?q=php+file+upload+tutorial

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

Thanks, I've used google already but haven't found anything and posted here in hopes that someone has already located one and could direct me to it.

Thanks again

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

You're welcome!

I assume you've found one now that works for you out of the many helpful first page results provided.

Hint: start with the first result.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

http://docs.php.net/manual/en/features.file-upload.php

You'll also find detailed instructions in Lesson 9 of my book, "Adobe Dreamweaver CS5 with PHP: Training from the Source".

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

Thanks David!....does the link you provided contain instructions to upload files to another HTML page as opposed to a server?

Thanks so much

Allen

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

Bikerboy52 wrote:

Thanks David!....does the link you provided contain instructions to upload files to another HTML page as opposed to a server?

You don't upload files to an HTML page. You upload them to a server. If you want to display the file in a web page, you need to store the details of the uploaded file in a database and use PHP to extract the details from the database. Alternatively, you need to develop a script that is capable of identifying the uploaded file and displaying it.

Although the code involved is not particularly difficult, uploading a file is not a trivial operation. You need to check the size of the file, and make sure that it's not an executable file or script. Even if you check that it's an image, how do you know that it's suitable for display?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 15, 2010 Oct 15, 2010

Copy link to clipboard

Copied

LATEST

ahh...ok...gotcha, I think I have it now

thanks David

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines