Matpatnik Posted August 17, 2007 Share Posted August 17, 2007 Is it possible to open a file and use it with include/fopen from an other server?What I mean is I'm kind of worry about the security of my php files. Can someone take it and use it? I have a session_start() on my main page that include all the rest plus .htaccess set to denied stranger to a direct access, is it good enough?What else can I do to protect my files.Thank you to enlighten me Link to comment Share on other sites More sharing options...
justsomeguy Posted August 17, 2007 Share Posted August 17, 2007 If your include files end in .php then it should be fine. Try opening an include file yourself in a web browser, you will see the same thing that another server would see. If you can see your PHP code then make sure your files are .php files, if you use .inc or something that PHP does not execute then that's a security issue. Link to comment Share on other sites More sharing options...
Matpatnik Posted August 19, 2007 Author Share Posted August 19, 2007 ok so no one can use my variable thru an other site thenThank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.