View Full Version : [javascript] save variables to file??
bozley05
April 9th, 2004, 23:10
is it possible to save variables from a form into an external file using javascript. i guess im looking for the javascript alternative to fwrite in php.
got anything?
thanks in advance..
nickc
June 7th, 2004, 10:56
Javascript is a client side language whereas PHP is server side so PHP would be a better bet.
Nick
Goofy
June 7th, 2004, 12:59
Javascript is a client side language
Therfore, it's has very limited capabilities of server side scripting. If you are aleady using javascript, then you could use a webbug to transfer the variables to php and then save 'em. It would be ideal to use php if the variables you are reffering to are personal data such as names and addresses. If it's an username or so, then you could use javascript to store 'em on cookies.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.