GrayFox12 Posted October 18, 2007 Share Posted October 18, 2007 I have switched iis server for my project. My headers are not working correctly now, here is a header that works fine using apache $l = $_GET['LOwner']; header ('Location: http://localhost:82/SLR/LightOwnerForm.php?option=l&val='.$l.' ') ; This worked fine, now it doesnt. I have checked value in $l it has e.g "Cameron House" in it. When i check what its passing it only has "Cameron", its not filling in the space, what do i do? Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/ Share on other sites More sharing options...
marcus Posted October 18, 2007 Share Posted October 18, 2007 urlencode($l); Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/#findComment-372046 Share on other sites More sharing options...
pocobueno1388 Posted October 18, 2007 Share Posted October 18, 2007 Oops, nevermind. I erased what I had. Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/#findComment-372047 Share on other sites More sharing options...
GrayFox12 Posted October 18, 2007 Author Share Posted October 18, 2007 How do i use that? example? Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/#findComment-372048 Share on other sites More sharing options...
pocobueno1388 Posted October 18, 2007 Share Posted October 18, 2007 $l = urlencode($l); Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/#findComment-372050 Share on other sites More sharing options...
marcus Posted October 18, 2007 Share Posted October 18, 2007 $l = $_GET['LOwner']; $l = urlencode($l); header("Location: yourpage.php?l=" . $l); Quote Link to comment https://forums.phpfreaks.com/topic/73734-solved-header-does-not-wnat-to-pass-whole-variable/#findComment-372051 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.