Jump to content

[SOLVED] PHP Redirect


bmdsherman

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.