Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Canada
    Posts
    11
    Rep Power
    0

    Question How to create an upload button


    How do I create a button that when pressed, the person viewing the website can upload a picture to me. I'm using Front Page 2000
  2. #2
  3. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    You need to write a form page, and that action (when you press submit) triggers the upload. Check out the related threads below, they may help you out.
    I have attached a muliple file upload form to start you off. You need to change the form action to some form processing script..
    Code:
    <!-- file upload form -->
    <p><strong>File upload:</strong></p>
    
    <form method="post" action="SCRIPTNAME" enctype="multipart/form-data">
    <p>
    <input name="upfile[]" type="file"><br>
    <input name="upfile[]" type="file"><br>
    <input name="upfile[]" type="file"><br>
    <input name="upfile[]" type="file"><br>
    <input name="upfile[]" type="file"><br>
    <input value="Upload" name="action" type="submit"></p>
    </form>

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Canada
    Posts
    11
    Rep Power
    0
    I put the above HTML into my site to ad the upload button. But when I try it out, I don't get the file that I uploaded. Any suggestions?
    It's located at http://www.noneofyourbusiness.ca/Upload%20Page.htm
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Canada
    Posts
    11
    Rep Power
    0
    This is the HTML I used. It changed a bit due to some changes I made to customize it. But When you try to upload, I don't receive the upload. I do get the rest of the info, just no file.

    <body>
    <!-- file upload form -->
    <p align="center"><!--webbot bot="Navigation" S-Type="parent"
    S-Orientation="horizontal" S-Rendering="graphics" B-Include-Home="TRUE"
    B-Include-Up="FALSE" U-Page S-Target -->
    <p align="left"><strong>File upload:<strong><p align="left">

    &nbsp;

    <form method="post" action="--WEBBOT-SELF--" enctype="multipart/form-data" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
    <!--webbot bot="SaveResults" U-File="dss_stuff.htm" S-Format="HTML/BR"
    S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE"
    S-Email-Address="noneofyourbusiness@noneofyourbusiness.ca"
    B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="TRUE"
    S-Email-Subject="Picture Upload" S-Builtin-Fields -->
    <p align="left">
    File to upload:<input name="upfile[]" type="file"></p>
    <p align="left">
    Title:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Title" size="20"></p>
    <p align="left">
    Your Name (will be displayed):<!--webbot bot="Validation"
    B-Value-Required="TRUE" --><input type="text" name="User" size="20"></p>
    <p align="left">
    Comment:<textarea rows="2" name="Comments" cols="20" style="float: left; margin-left: 0"></textarea></p>
    <p align="left">
    Email Address:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="EmailAddress" size="20"><br>
    </p>
    <p align="left">Can we email you: <font size="1">yes</font><input type="radio" value="V1" checked name="yes">&nbsp;
    <font size="1">no<input type="radio" name="no" value="V2">&nbsp;&nbsp;&nbsp; </font></p>
    <p align="left">
    <br>
    <input value="Upload" name="Upload" type="submit" style="background-color: #C0C0C0; color: #000080; border-style: outset"></p>
    </form></strong></strong></body>
  8. #5
  9. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    Well you won't, 'cos the form has got to be directed to a script that will upload files. The form is only a form.

    Do you have access to server side technology, i.e. PHP or ASP?

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Canada
    Posts
    11
    Rep Power
    0
    I'm not quite sure what that is. What is it, and how would I get it. Like I said efore, I'm new at this and am learning by trial and error, so I really appreciate your help!!!
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Canada
    Posts
    11
    Rep Power
    0
    I have access to ASP. So do you have any suggestions?
  14. #8
  15. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    I can't help you there I am afraid. I don't know ASP, but you can google for the answer or check out the ASP forums here.

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  16. #9
  17. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    Originally posted by notthecops
    I have access to ASP. So do you have any suggestions?
    I've got a suggestion for you: stop using Frontpage! You won't learn how to program cross-platform websites with that... learn to code by hand first; then, if you /really/ want to use a WYSIWYG editor, go w/ one that doesn't create code which is browser-specific (like Frontpage). Dreamweaver or GoLive would be better choices...
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2007
    Posts
    1
    Rep Power
    0

    Question Is There A Site Or Program For Me


    Am new to posting, so sorry if i have done something wrong.

    I have i site and i understand HTML, and i have tried with PHP to make an upload button, but i dont get it.
    Can someone tell me (if there is) a good PHP editor that lets me make upload buttons.
    My website is 82.12.83.65:8001

    (or can someone make the site and send it to me
    (paulhutchinson5@gmail.com or
    @hotmail.com)

    thankyou
  20. #11
  21. Known to taste like chicken
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    In front of my computer
    Posts
    399
    Rep Power
    312
    Originally Posted by paulman88

    (or can someone make the site and send it to me
    good luck with that!

    SD
    "Take thy beak from out my heart, and take thy form from off my door" - Homer J Simpson / Edgar Allan Poe

    Looking for a project Idea?
  22. #12
  23. from the lab...
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2004
    Location
    the land of wind and ghosts
    Posts
    1,844
    Rep Power
    560
    For starters, an upload button does nothing...it's the form/script that does what you want/need.

    Secondly, have you tried php.net? From there you should be able to find what you need. There are probably a million tutorials out there on building super-simple upload scripts as well, so hit google and I'm sure you'll find what you need.

    I highly doubt anyone is going to just build you one and email it to you.
  24. #13
  25. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Late reply for Upload


    This is a late reply to your post but may be helpful to others... try a pre-programmed script like Simple2ftp. There is a free version that gives your site a file upload / download manager or the pay for version which has extended capabilities.
    Best of luck, Henry

    Originally Posted by paulman88
    Am new to posting, so sorry if i have done something wrong.

    I have i site and i understand HTML, and i have tried with PHP to make an upload button, but i dont get it.
    Can someone tell me (if there is) a good PHP editor that lets me make upload buttons.
    My website is 82.12.83.65:8001

    (or can someone make the site and send it to me
    (paulhutchinson5@gmail.com or
    @hotmail.com)

    thankyou
  26. #14
  27. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2011
    Posts
    9
    Rep Power
    0
    Please tell me how to use this code in php.
  28. #15
  29. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Using Upload script


    Originally Posted by websitedesign2
    Please tell me how to use this code in php.
    There are written instructions that come with the script. Follow those. You will need at least a basic understanding of mySQL database and creating an FTP account to use the script. Transfer files to your server and run the installer, follow the on screen instructions should do the trick. I think the install script only comes in English though which could be a problem for some.
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo