Welcome Guest, Not a member yet? Register   Sign In
Admin directory
#2

[eluser]Ben Edmunds[/eluser]
You can use a constructor. Constructors are ran when the class is instantiated.

If your on PHP4 then create a method with the same name as the class and then put your code into this method to check the users authentication. If your on PHP5 create a method named __construct and then put your code into this method to check the users authentication.


Messages In This Thread
Admin directory - by El Forum - 12-07-2009, 09:25 AM
Admin directory - by El Forum - 12-07-2009, 09:29 AM
Admin directory - by El Forum - 12-07-2009, 09:34 AM
Admin directory - by El Forum - 12-07-2009, 09:39 AM
Admin directory - by El Forum - 12-07-2009, 09:42 AM
Admin directory - by El Forum - 12-07-2009, 09:45 AM
Admin directory - by El Forum - 12-09-2009, 01:19 PM
Admin directory - by El Forum - 12-09-2009, 01:22 PM
Admin directory - by El Forum - 12-09-2009, 01:24 PM
Admin directory - by El Forum - 12-09-2009, 01:27 PM
Admin directory - by El Forum - 12-09-2009, 01:28 PM
Admin directory - by El Forum - 12-09-2009, 01:48 PM
Admin directory - by El Forum - 12-09-2009, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB