Downpour Posted September 9, 2008 Author Share Posted September 9, 2008 Is this the code you mean: <?php if(!isset($_POST['Submit'])) { Header ("Location: phorme.php"); exit; } ?> Link to comment https://forums.phpfreaks.com/topic/123303-session-variable-help-please/page/2/#findComment-637539 Share on other sites More sharing options...
revraz Posted September 9, 2008 Share Posted September 9, 2008 yes, but change Header ("Location: phorme.php"); to your first form page. Link to comment https://forums.phpfreaks.com/topic/123303-session-variable-help-please/page/2/#findComment-637545 Share on other sites More sharing options...
Downpour Posted September 9, 2008 Author Share Posted September 9, 2008 That worked to stop people from viewing my download page, but now when I press submit on the form, it brings me back to my form page, instead of continuing to the download page. Link to comment https://forums.phpfreaks.com/topic/123303-session-variable-help-please/page/2/#findComment-637561 Share on other sites More sharing options...
Downpour Posted September 10, 2008 Author Share Posted September 10, 2008 Please I still need help with this code!! Link to comment https://forums.phpfreaks.com/topic/123303-session-variable-help-please/page/2/#findComment-638493 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.