Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're doing an include, wouldn't the passwords still be in a PHP file?


if the php file is printed rather than executed, the include will not be followed. You'd see the "include /path/to/inaccessible/file" but you wouldn't see the passwords within the include.

I think. I haven't seriously used php since 2003 or so.


Yes, but included files still need a <?php tag at the top, or PHP just prints them out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: