leothelion Posted August 13, 2009 Share Posted August 13, 2009 prog 1... $ali = serialize($alias); $comm = serialize($comment); header("location:modreply3.php?host=$host1&alias=$ali&comment=$comm"); modreply3.php.... $host1 = $_GET['host']; $al = unserialize($_GET['alias']); $comm = unserialize($_GET['comment']); the trouble with dropping spaces is with the comment. "test comment" is being passed as "test" http://mandy4/ccadns/modreply3.php?host=jlm2&alias=a:2:{i:0;s:11:%22jlm2alaise2%22;i:1;s:9:%22jlm2alias%22;}&comment=a:1:{i:0;s:4:%22test%22;} I'm using serialize because alias & comment are arrays. any ideas on a fix?? thanks Quote Link to comment 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.