I am referring to mihalism image hosting script which i believe is php based . I want to know how can I modify the index page so that no one can see the upload boxes to upload the pictures. I want only admin or a specific user to be able to upload pictures, no one else should be able to do it including registred users. They should be able to see home page though, just that the boxes to upload pages should not be visible to them. Can someone please how this can be achived?
Simply look for that upload form element and wrap the code in an if statement using the session you are given after logging in.