How to read in PHP a .php file without compiling it, so I can edit it and and save it in a browser? I need to put it out on an editable textbox.
i've tried that. It works well for text files but if a recognizable command gets in it doesn't display anything.
ssmm987 code should work, what do you mean data that are not in the file,,, <?php $fp=fopen("test.php","r"); $contents=fread($fp,filesize("test.php")); fclose($fp); ?> <textarea rows="30" cols="50"><?php echo $contents;?></textarea> PHP:
Hi, Here is a online PHP,HTML editor: http://phphtmledit.com/index.php . You can use for free. Rudolf