jay_em
October 27, 2003, 4:10am
1
Does anyone know how I can create a site that a user can:
Type in a password
Change a few numbers
Hit an update button
And the result saves in real time
???
It’s gotta be simple… NOT php I hope!
kind of like this…(jay-em hits the “submit new thread” button)
:puzzle:
system
October 27, 2003, 4:12am
2
Well you answered your own question, only it was what you hoped it wasn’t :x
system
October 27, 2003, 4:21am
3
Well, if I gotta then I gotta … lol
Elaboration please? :ogre:
Cool footer!
system
October 27, 2003, 4:23am
4
Well, i’ve never really worked with that side of PHP yet (just started learning), but if it helps…
You will need to use fopen() to open the file (usually .txt file I think) that you will save your new data to, then you will use fwrite() to write the new data in, and then where you want this information to be displayed you will use include().
And thanks for the footer comment
system
October 27, 2003, 5:45am
5
Thanks for your time… Unfortunately I am totally lost.
Do you knoe of any good sites out there that may help?
:hr:
system
October 27, 2003, 6:01am
6
Nope, sorry
Usually when I need to do something in PHP and I know what function I need to do it with, I use google.com to search for how to use those functions.
In your case it would be…
fopen()
fwrite()
fclose()
include()
include() is easy though…
include("file.txt");
We have some PHP geniuses on this forum too, so maybe they will come around and see this.