networkthis Posted March 5, 2008 Share Posted March 5, 2008 I need to achieve the following.....I am trying to take the following Example: http://www.example.com/user1/files?path=file1 and redirect if the user trys to type in a different path Example: http://www.example.com/user2/files I was thinking if $url !== http://www.example.com/user1/files then to redirect with headers. Everything I keep trying doesn't work...Any Ideas/maybe an example??? Thank you Quote Link to comment Share on other sites More sharing options...
networkthis Posted March 5, 2008 Author Share Posted March 5, 2008 I do not want users to stray from their files...... Is it possible to do a redirect if the user types a direct url up top that is not equal to http://www.example.com/user/files --- which they are logged in under? Quote Link to comment 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.