is there a way to "load" a textfile into a textbox with php? or any other way?
i'm gonna make a online text editor Originally posted by Arax
is there a way to "load" a textfile into a textbox with php? or any other way?
i'm gonna make a online text editor
yeah..just load the file into a variable and echo the contents as the value of the textbox...
<!-- m --><a class="postlink" href="http://www.php.net/fileonly">http://www.php.net/fileonly</a><!-- m --> a text file that is located on the server, not on the client side.Originally posted by Gregory
only a text file that is located on the server, not on the client side.
Well...they have to learn to use file handling functions anyway...uploading a file isn't much more complex then editing one...
i'm gonna make a online text editor Originally posted by Arax
is there a way to "load" a textfile into a textbox with php? or any other way?
i'm gonna make a online text editor
yeah..just load the file into a variable and echo the contents as the value of the textbox...
<!-- m --><a class="postlink" href="http://www.php.net/fileonly">http://www.php.net/fileonly</a><!-- m --> a text file that is located on the server, not on the client side.Originally posted by Gregory
only a text file that is located on the server, not on the client side.
Well...they have to learn to use file handling functions anyway...uploading a file isn't much more complex then editing one...