<form method="post" action="./index/valid.php"> <textarea name="editor1"></textarea> <input type="submit" value="Envoyer" /> </form> <script type="text/javascript" src="controlPanel/AppI/templates/full/ckSource.js"></script>
<?php
session_start();
if (isset($_POST['editor1']))
{
echo $_POST['editor1'];
}
?>
Re: Retrieve seizure
<textarea id="editor1" name="editor1"></textarea>
The problem is that "name" is deprecated in recent versions of the HTML spec, although you still need it there to support older clients.
GET method means that data is sent to the query string instead of by POST, so you'd get a call to valid.php?editor1=content+i+typed
Pete