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