hi everyone...have another question here...i figured out how to allow people to log in and start a session and everything but on my site i only want to allow members to post comments.....the topics on my site each have a "WRITE A COMMENT" link that when clicked goes to the "submitcomment.php" form....this form has the authenticate user code at the top that makes sure that the user has already logged in and started a session and if not, it send the user to the log in....okay....the question is...how do i make it so that after logging in....the user is sent BACK to the submitcomment.php form as opposed to the "login_success.php" file. I was thinking about changing the header in the checklogin.php script, but if the user logs in from the main page, i dont want them to be sent to the submit comment page if you know what i mean. any thoughts will help! thanks in advance..
Danny