note 82839 added to reserved.variables

From: Date: Mon, 28 Apr 2008 18:19:59 +0000
Subject: note 82839 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-138878@lists.php.net to get a copy of this message
I have a problem: In HTML code, there is a <textarea> and there is a text in it. When I send the content of this <textarea> to the same script and use $_REQUEST for read content, it adds backslashes to quotation-marks ("") ! For exaple I had in HTML: <form action="(the_same_script)" method="post"> <textarea name="text"> Thing("",""); </textarea> <input type="submit" value="Send" /> </form> Later, when I read it with REQUEST (or POST): echo $_REQUEST["text"]; I receive: Thing(\"\", \"\"); Please for help. ---- Server IP: 82.160.94.10 Probable Submitter: 79.186.42.79 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- https://master.php.net/note/edit/82839 Del: integrated -- https://master.php.net/note/delete/82839/integrated Del: useless -- https://master.php.net/note/delete/82839/useless Del: bad code -- https://master.php.net/note/delete/82839/bad+code Del: spam -- https://master.php.net/note/delete/82839/spam Del: non-english -- https://master.php.net/note/delete/82839/non-english Del: in docs -- https://master.php.net/note/delete/82839/in+docs Del: other reasons-- https://master.php.net/note/delete/82839 Reject -- https://master.php.net/note/reject/82839 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138878) next »