dai non è così difficile!![]()
e poi nella pagina modificafile.php ti riprendi il nome con $_POST['nome_file'];codice:<table width="300" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="50">File:</td> <td width="250"> <form action=aprifile.php method=post> <textarea name=NOMEFILE cols="30"> </textarea><input type='submit' value='modifica'> </form> </td> </tr> <tr> <td> </td> <td width="250"><?php $html = file_get_contents($_POST['NOMEFILE']); echo "<form action='MODIFICAFILE.php' method='post'> <input type='hidden' name='nome_file' value='".$_POST['NOMEFILE']."' <table><tr><td> <textarea name='text' cols='80' rows='15'>$html</textarea> </td></tr></table> <input type='submit' value='invia'> </form>"; ?></td> </tr> </table>

Rispondi quotando