bmdsherman Posted July 6, 2009 Share Posted July 6, 2009 Hey guys, I am writing a scrip to show a rogerwilco server channel, I have a html forum with 2 fields server name and server channel, I basically what to send users to http://$server/$channel I tried this script <?php header('Location: http://$server/$channel'); ?> but that literally puts http://$server/$channel in your web browser giving you a page not found, any way I can get around this? Thanks! Link to comment https://forums.phpfreaks.com/topic/164974-solved-php-redirect/ Share on other sites More sharing options...
AwptiK Posted July 6, 2009 Share Posted July 6, 2009 <?php header('Location: http://'.$server.'/'.$channel.''); ?> Link to comment https://forums.phpfreaks.com/topic/164974-solved-php-redirect/#findComment-869922 Share on other sites More sharing options...
bmdsherman Posted July 6, 2009 Author Share Posted July 6, 2009 Thanks that did it! ......not where is the "Topic Solved" button? edit: Found the button. Link to comment https://forums.phpfreaks.com/topic/164974-solved-php-redirect/#findComment-869923 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.