/    Sign up×
Community /Pin to ProfileBookmark

write text file

hi guys, I’d make a script to write a text file, I’m not so smart with js and I don’t know how to do, can you help me pls?

?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundrySep 01.2004 — You can't really do this in browser-based JavaScript. Depending on what you want to do, a server-side language is probably a better choice.

Adam
Copy linkTweet thisAlerts:
@clauchemauthorSep 01.2004 — my hosting does not support php, asp, etc., that's why I would use js.

actually if js does not allow write operations, I have to change hosting I guess...

is that true also for xml files?

thanks for your answer.

?
Copy linkTweet thisAlerts:
@AdamGundrySep 01.2004 — Yes, JavaScript runs on the client-side (the user's local computer) so it can't change anything on the server or client (barring security vulnerabilities).

Adam
Copy linkTweet thisAlerts:
@clauchemauthorSep 01.2004 — right, thanks adam

?
×

Success!

Help @clauchem 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.17,
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,
)...