# Real time website updating

**URL:** <https://forum.kirupa.com/t/real-time-website-updating/34027>\
**Category:** Uncategorized\
**Created:** [October 27, 2003, 4:10am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027 "2003-10-27T04:10:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay\_em](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jay\_em](https://forum.kirupa.com/u/jay_em)\
**Post date:** [October 27, 2003, 4:10am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/1 "2003-10-27T04:10:17Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 4:12am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/2 "2003-10-27T04:12:15Z")

</div>

Well you answered your own question, only it was what you hoped it wasn’t :x

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 4:21am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/3 "2003-10-27T04:21:13Z")

</div>

Well, if I gotta then I gotta … lol

Elaboration please? :ogre:

Cool footer!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 4:23am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/4 "2003-10-27T04:23:16Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 5:45am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/5 "2003-10-27T05:45:02Z")

</div>

Thanks for your time… Unfortunately I am totally lost.

Do you knoe of any good sites out there that may help?  
:hr:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 6:01am UTC](https://forum.kirupa.com/t/real-time-website-updating/34027/6 "2003-10-27T06:01:38Z")

</div>

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](http://google.com) to search for how to use those functions.

In your case it would be…

fopen()  
fwrite()  
fclose()  
include()

include() is easy though…

```php
include("file.txt");

```

We have some PHP geniuses on this forum too, so maybe they will come around and see this.
