scottyrob
04-14-2006, 06:09 AM
Hi, i am trying to create a script that echo's the source of a page into a textbox then i can edit it.. I will probably have to use things like fopen and fwite....
I have currently got this:
<link rel="stylesheet" href="main.css" type="text/css">
<?php
$pagename = $_GET["pagename"];
echo ("$pagename");
?>
Can someone tell me a step-by-step guide on what i need to do to make it so that i can echo the text into a textbox, edit it, click a submit button and update that page... I do not want someone to tell me the code but just a guide of what i need to do to achieve what i want...
I.E use fopen to open up a page, echo the text into a textbox, etc etc
Thanks very much!
I have currently got this:
<link rel="stylesheet" href="main.css" type="text/css">
<?php
$pagename = $_GET["pagename"];
echo ("$pagename");
?>
Can someone tell me a step-by-step guide on what i need to do to make it so that i can echo the text into a textbox, edit it, click a submit button and update that page... I do not want someone to tell me the code but just a guide of what i need to do to achieve what i want...
I.E use fopen to open up a page, echo the text into a textbox, etc etc
Thanks very much!