form validation help PLEASE

#33
[eluser]JHackamack[/eluser]
Just copy everything over and change the Login Index function to be called Login (that way if people want to log in its mains/login) and make sure your form posts to the new location, other than that it should be good.

If all you have are the two functions for the login stuff then it probably won't be that big of a deal, if you were planning a more complex site with editing profiles, resetting passwords, etc, i might suggest naming Login to User and putting the "user" functionality stuff in there, really with MVC you can keep everything in one controller if you want, but I prefer to make the URLs also mean something (eg /user/login, /user/profile, etc)


Messages In This Thread
form validation help PLEASE - by El Forum - 01-09-2010, 12:34 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:20 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:21 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:24 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:28 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:31 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:31 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:33 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:35 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:42 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:43 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:45 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:54 AM
form validation help PLEASE - by El Forum - 01-09-2010, 01:55 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:01 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:03 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:05 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:08 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:09 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:09 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:10 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:13 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:16 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:20 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:20 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:24 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:27 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:32 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:41 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:45 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:45 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:48 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:51 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:56 AM
form validation help PLEASE - by El Forum - 01-09-2010, 03:13 AM
form validation help PLEASE - by El Forum - 01-09-2010, 10:51 AM
form validation help PLEASE - by El Forum - 01-09-2010, 02:42 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:45 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:52 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:54 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:54 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:56 PM
form validation help PLEASE - by El Forum - 01-09-2010, 02:59 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.