How is uploading via http possible?

  • lookformeb
  • Born
  • Born
  • lookformeb
  • Posts: 3

Post 3+ Months Ago

Sorry if this is a newbie question, but I have searched.

http://www.you-are-a-huge-nerd.com allows you to upload a picture like hotmail lets you attach a file to email... same idea at least.

My question is, how is this done?

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dr nick
  • Proficient
  • Proficient
  • dr nick
  • Posts: 263
  • Loc: Frankfurt

Post 3+ Months Ago

Are you looking for a long answer, or a short one!?

The upload is done via server-side scripting (i.e., you code the html page that allows files to be uploaded to the server), which means that you won't be able to do it with Javascript (which is client-side, i.e., your browser interprets the code).

So if you're looking to include such a feature on one of your own pages, you need to make sure your server supports server-side scripting (e.g., like php).

I think in php its relatively easy to do, but I'm not that qualified at the moment to answer in detail.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

yea PHP is fairly easy, I don't know the code off hand, but if you google for "PHP Uploader script" I am sure you'll find osmething!
  • lookformeb
  • Born
  • Born
  • lookformeb
  • Posts: 3

Post 3+ Months Ago

thanks for the help... i found one here: http://www.webdemon.info/intra.php?item=pfmuploadscript

i will give it a shot later on and let you know the results. thanks again.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

good, make sure to read over the script and try to take in some of the PHP. PHP is really quite an easy language once you get the fundamentals down, ask ATNO-TW (If I am correct he learned a hunk of PHP simply from running his own phpBB).
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

You got that right b_heyer. I have to recommend that approach to anyone/everyone...There's nothing like just diving in and getting your feet wet. Unfortunately, I haven't come upon the problem at hand which is why din't offer a suggestion, but it is a GOOD thing to take some time and do some studying of things you don't know.

It's AMAZING how much you can learn! (and from what I have learned so far -- as b_heyer stated, php is a little easier than most other languages I have run across) I think the key is understanding SQL and databases. That's what gave me fits at first, but it's a little easier going now that I understand the database.
  • lookformeb
  • Born
  • Born
  • lookformeb
  • Posts: 3

Post 3+ Months Ago

i ended up using http://phpatm.free.fr/

it works like a charm and is everything i wanted. thx for the help!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Looks good -- bookmarked it. Anyone know of an ASP equivalent?

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 150 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.