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>'; ?> 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 Link to comment https://forums.phpfreaks.com/topic/82815-solved-session-adds-backslashes/#findComment-421159 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.