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 Link to comment https://forums.phpfreaks.com/topic/94484-how-can-i-split-the-following-and-redirect/ 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? Link to comment https://forums.phpfreaks.com/topic/94484-how-can-i-split-the-following-and-redirect/#findComment-483858 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.