Re: [PHP] How to display ALL session variables?

2007-10-18 Thread truncatei
2007/10/18, Nathan Nobbe <[EMAIL PROTECTED]>: > > On 10/18/07, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > > > > Is there a simple way to display all session variables? Like the code > > below I use in debug for all posted variables: > > > > echo "posted variables"; > > while (list($name, $valu

[PHP] Why $_REQUEST do the same thing as mysql_escape_string()

2007-10-17 Thread truncatei
I put some thing in an form input filed like this: ' " \ then submit to a php script. When use $_GET / $_POST / $_REQUEST to get the value, I always get: \' \" \\ In php expression it should be: $_REQUEST['field'] = "\\' \\\" "; Any one who can tell me why?