Is it possible to save a file (containing an integer variable) on the server using JavaScript? Then how?
Is it possible to save a file (containing an integer variable) on the server using JavaScript? Then how?
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
If you mean for uploading to a file, then you can do this with an
<INPUT TYPE="FILE">
tag....you need some sort of CGI to proerly accept, decode and store this file to exist on the server..
P.S....this would be better on the Tech Board
Well you can use ASP with javascript to do that....
The closest thing with pure javascript would be saving a cookie on the users HD.
javascript is pretty much a client-side script language. it's useful to animate, update, or otherwise change some features which are dependant on a variable present on the user's machine.
for any server-side stuff, i would stick with php, asp, or something cgi.
K, thanks for the replies.
Do you know any good php tutorials?
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Took a quick look at the link, and it seems great.Originally posted by maes
How about the php manual
Thanks!
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
also go over to http://devshed.com and http://devarticles.com for some atricles/tuts... they are both great sites.