phppaper Posted March 17, 2008 Share Posted March 17, 2008 Dear All, How can you stop people from viewing your photo when they type in the absolute link of that photo in browser BUT I want them be able to view after login, I already have a login system ready with MYsql. Any chance to get it work?? Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted March 17, 2008 Share Posted March 17, 2008 Keep the file outside of your webroot, then use a php script to view the file. Quote Link to comment Share on other sites More sharing options...
phppaper Posted March 17, 2008 Author Share Posted March 17, 2008 can you teach me how to connect to a file outside the root?? My hosting is a public company. 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.