Re: Image upload *CODE SAMPLE*

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29309
interpreted = N
texte = >on 3/17/2000 1:23 PM, Kenneth Grome at ken@simplewebstores.com wrote: > > >> The good news (that I've heard of) is that WebCatalog allows you >from within > >> WebCat4 to upload a file on the same page as other data fields. > >> > >> The bad news is this that WebCat4 isn't ready yet, and I have to quickly > >> finish a solution to allow the public to upload pictures via a >web form to a > >> website. This site is hosted on a Mac, with WebSTAR, which includes a file > >> upload plugin. Does anybody have any experience using this. Any >tips for how > >> to have people name the file before uploading it, or how to have >WebCatalog > >> find the file they just uploaded and rename it. > > > > I think Mike Davis did this recently, and I think he said he would post the > > code or email it to anyone who was interested. Check the talk >list archives, > > it seems like it was just a few weeks ago when he did it ... > > >Yes, that was me. I can't show you the code on the Voice of the Internet >site as promised because there is too much database stuff wrapped up in it. >But I can show you the upload.tpl file I used in my class, modified slightly >for use on a little multimedia archive site I built. Nice thing about this >page is that it was very well commented for my students as it was part of an >assignment. To access the raw code, go to http://gonzo.ofthedayclub.com/ >and click on the upload link. Then click the hidden link (the period) on >the copyright footer. > >Enjoy... > >Mike > Thanks Mike, Just to add that there are several good perl scripts that do the same job on Linux or OSX. These are pretty powerful allowing you to set parameters like max size and disallow certain files like index.tpl for example. We use such scripts on several sites here to good effect and use WebCatalog to massage the file names, i.e. checking for case and spaces. I have one such script here if anybody wants it feel free to drop me an e-mail.On another note I came across an intriguing site today. Some guys have got a bunch of MacOS servers setup for clustered computing. See http://exodus.physics.ucla.edu/appleseed/appleseedrecipe.htmlNow that would be cool. A bunch of g4s running one WebStar server :-))Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Image upload *CODE SAMPLE* (Michael O Shea 2000)
  2. Re: Image upload *CODE SAMPLE* (Mike Davis 2000)
>on 3/17/2000 1:23 PM, Kenneth Grome at ken@simplewebstores.com wrote: > > >> The good news (that I've heard of) is that WebCatalog allows you >from within > >> WebCat4 to upload a file on the same page as other data fields. > >> > >> The bad news is this that WebCat4 isn't ready yet, and I have to quickly > >> finish a solution to allow the public to upload pictures via a >web form to a > >> website. This site is hosted on a Mac, with WebSTAR, which includes a file > >> upload plugin. Does anybody have any experience using this. Any >tips for how > >> to have people name the file before uploading it, or how to have >WebCatalog > >> find the file they just uploaded and rename it. > > > > I think Mike Davis did this recently, and I think he said he would post the > > code or email it to anyone who was interested. Check the talk >list archives, > > it seems like it was just a few weeks ago when he did it ... > > >Yes, that was me. I can't show you the code on the Voice of the Internet >site as promised because there is too much database stuff wrapped up in it. >But I can show you the upload.tpl file I used in my class, modified slightly >for use on a little multimedia archive site I built. Nice thing about this >page is that it was very well commented for my students as it was part of an >assignment. To access the raw code, go to http://gonzo.ofthedayclub.com/ >and click on the upload link. Then click the hidden link (the period) on >the copyright footer. > >Enjoy... > >Mike > Thanks Mike, Just to add that there are several good perl scripts that do the same job on Linux or OSX. These are pretty powerful allowing you to set parameters like max size and disallow certain files like index.tpl for example. We use such scripts on several sites here to good effect and use WebCatalog to massage the file names, i.e. checking for case and spaces. I have one such script here if anybody wants it feel free to drop me an e-mail.On another note I came across an intriguing site today. Some guys have got a bunch of MacOS servers setup for clustered computing. See http://exodus.physics.ucla.edu/appleseed/appleseedrecipe.htmlNow that would be cool. A bunch of g4s running one WebStar server :-))Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Michael O Shea

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Protect (1997) [index] (1997) # fields limited? (1997) bugs w/! &/or bad scripting??? (1997) A multi-processor savvy WebCatalog? (1997) OT - New Ti Books (2002) RequiredFields template (1997) Webmerchant -> MacAuthorize ... please retry ? (1997) [WebDNA] sales tax on shipping (2008) Bug Report, maybe (1997) Text limits in NT version? (1997) New Command prefs ... (1997) rename a file (1997) Max Record length (1997) WebDNA install on Tiger doesn't work ... (2005) Up and running ... at last !! (1997) Showif, Hideif reverse logic ? (1997) Nav. 4 probs with cart (1997) RE: Languages (1997) Shopping carts and reloading pages (1997)