/    Sign up×
Community /Pin to ProfileBookmark

How do I upload images on my website?

How do I make it possible for other people to upload images to my website from their harddrives?Is it possible to do so using javascript?
if so can u help me?
Pls. reply…

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Apr 17.2006 — You need to have a server side language to store them.

Eric
Copy linkTweet thisAlerts:
@felgallApr 17.2006 — The most that you can use Javascript for with file uploads is to validate the format of the filename entered in the file field in a form. Everything else (such as checking what type of file it is) needs to be done on the server.

Javascript can't access anything outside of the web page and so can't access files on the client computer and server side processing can only access files after they are uploaded. The upload part needs to be done via a file field in a form.
Copy linkTweet thisAlerts:
@skilled1Apr 17.2006 — coldfusion wins again! update verity indexes woohoo!
×

Success!

Help @kj71191 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...