asmith Posted December 22, 2007 Share Posted December 22, 2007 <?php session_start(); $_SESSION[ok] = $_POST[a]; $_POST[a] = $_SESSION[ok]; echo '<form action="'.$_SERVER[php_SELF].'" method="post"> <input type="text" name="a" value="'.$_POST[a].'" /> <input type="submit" value="test" /></form>'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/82815-solved-session-adds-backslashes/ Share on other sites More sharing options...
papaface Posted December 22, 2007 Share Posted December 22, 2007 http://uk3.php.net/manual/en/function.stripslashes.php Quote Link to comment https://forums.phpfreaks.com/topic/82815-solved-session-adds-backslashes/#findComment-421159 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.