blueman378 Posted October 12, 2007 Share Posted October 12, 2007 <?php header("Location: "/home/vol2/byethost13.com/b13_1013561/mydoodle.byethost13.com/htdocs/users/".$session->username."/index.php"); ?> cheers matt quick correction, its probably the same thing with <?php header("Location: "/users/".$session->username."/index.php"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/72916-why-wont-header-location-work/ Share on other sites More sharing options...
MadTechie Posted October 12, 2007 Share Posted October 12, 2007 the path is, incorrect, it should be a URL ie <?php header("Location: users/".$session->username."/index.php"); ?> or <?php header("Location: http://www.domain.com/users/".$session->username."/index.php"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/72916-why-wont-header-location-work/#findComment-367733 Share on other sites More sharing options...
zgkhoo Posted October 12, 2007 Share Posted October 12, 2007 /users/".$session->username."/index.php wat is the -> meant? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/72916-why-wont-header-location-work/#findComment-367737 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.