How is uploading via http possible?

  • lookformeb
  • Born
  • Born
  • No Avatar
  • Joined: Sep 24, 2003
  • Posts: 3
  • Status: Offline

Post October 6th, 2003, 2:54 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 6th, 2003, 2:54 pm

  • dr nick
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Sep 10, 2003
  • Posts: 263
  • Loc: Frankfurt
  • Status: Offline

Post October 6th, 2003, 4:03 pm

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
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post October 6th, 2003, 4:15 pm

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!
Pixel Acres V2
  • lookformeb
  • Born
  • Born
  • No Avatar
  • Joined: Sep 24, 2003
  • Posts: 3
  • Status: Offline

Post October 6th, 2003, 6:38 pm

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
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post October 6th, 2003, 6:53 pm

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).
Pixel Acres V2
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23403
  • Loc: Woodbridge VA
  • Status: Offline

Post October 6th, 2003, 7:32 pm

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.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • lookformeb
  • Born
  • Born
  • No Avatar
  • Joined: Sep 24, 2003
  • Posts: 3
  • Status: Offline

Post October 16th, 2003, 2:32 pm

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
  • Joined: May 28, 2003
  • Posts: 23403
  • Loc: Woodbridge VA
  • Status: Offline

Post October 16th, 2003, 7:48 pm

Looks good -- bookmarked it. Anyone know of an ASP equivalent?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: Zealous and 124 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.