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? 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); 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. 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? 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); 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); 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
Archived
This topic is now archived and is closed to further replies.