Forum Moderators: open

Message Too Old, No Replies

Editing and Reading an External Document

How do you edit and read an external document?

         

CoolJRT2009

4:16 am on Jan 8, 2009 (gmt 0)

10+ Year Member



Hi.
I am making a website that needs to edit and read an external document.
How could I do this? I have searched through Google [google.com.au] and couldn't find anything. Except other forums.
If I have 2 text boxes, for example:
Title: <input name="Title"><br>
Content: <input name="Content"><br>
<input type="button" value="Save">

I need the button Save to edit the document.
And then on another page:
<input type="button" value="Refresh Information" onclick="?"><br>
Title: <input name="Title"><br>
Content: <input name="Content"><br>
<input type="button" value="Save" onclick="?">
Here, I need the Save button to save it and the Refresh Information to read it.

Thanks.
From Hayden.

eelixduppy

2:50 pm on Jan 8, 2009 (gmt 0)



You are going to need some server-side scripting for this one. Read up on one (eg PHP [php.net]) and see where you get.

surrealillusions

8:09 pm on Jan 10, 2009 (gmt 0)

10+ Year Member



You have 2 main avenues (that i know of) with php, using a MySQL database or using XML. Both ways can be found on php.net as linked to by eelixduppy.

:)