rendered paste body<?php// Text Editor$source = 'users'.$_GET['source'];$name = basename($source);$path = str_replace("$name","",$source);$file = fopen($source, r);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html> <head> <link rel="stylesheet" type="text/css" href="sys-app.css" /> </head> <body><h1>Text Editor</h1>Path: <?php echo $path; ?><br />File: <?php echo $name; ?><br /><form method="post" action="process.php"> <textarea rows="15" cols="80"><?php echo $file; ?> </textarea> <input type="submit" name="save" value="Submit" /></form></body></html>