Welcome Guest, Not a member yet? Register   Sign In
How to setup an automatic function?
#10

[eluser]bretticus[/eluser]
Using the CodeIgniter "stack" for a simple database update via cron is way overkill. Just take KingSkippus's suggestion and work on it until you get it working. Steer clear from the wget method. I suppose it's convenient but having to write code to prevent any user/bot in the whole wide world from running your script on a whim is also overkill. Yes, you'd have security by obscurity (or you could use PHP to deny access--or even apache), but it's just bad practice to allow access to code that shouldn't be accessed via the Web (just doesn't make any sense.) Seriously, the path to follow here is the one that KingSkippus has demonstrated. Everyone else is suggesting things that might be easier for you to grasp with your understanding of CodeIgniter I suppose.

No offense, but you are building a game and do not know what a command line is or how to specify a file path? Sorry, just seems like you might need to get a basic understanding of a basic concept or two before jumping into more advanced projects. Might save you form making a few mistakes along the way. I am impressed that you are doing what you are doing despite that lack.


Messages In This Thread
How to setup an automatic function? - by El Forum - 07-18-2010, 02:31 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 02:41 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 02:44 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 03:12 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 03:27 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 03:36 PM
How to setup an automatic function? - by El Forum - 07-18-2010, 03:44 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 03:03 AM
How to setup an automatic function? - by El Forum - 07-19-2010, 07:39 AM
How to setup an automatic function? - by El Forum - 07-19-2010, 10:03 AM
How to setup an automatic function? - by El Forum - 07-19-2010, 10:19 AM
How to setup an automatic function? - by El Forum - 07-19-2010, 02:12 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 02:17 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 02:30 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 03:06 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 04:27 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 07:06 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 07:31 PM
How to setup an automatic function? - by El Forum - 07-19-2010, 08:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB