dminder Posted May 24, 2010 Share Posted May 24, 2010 Is there any security risks putting all of your code for a registration process on one page? Including: Database Connection Info MySQL Statements Inserts/Updates to Table(s) validation email generation hashing of password I am just kind of stuck if I should have one php file that contains all of my code for my site, including registration, logins, etc. or if it is better to break them down by page and work it that way....Thanks in advance! Link to comment Share on other sites More sharing options...
justsomeguy Posted May 24, 2010 Share Posted May 24, 2010 There aren't any more security risks with code on one page then there would be with code on multiple pages. It will be difficult to maintain if you have your entire site in a single file though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.