Welcome Guest, Not a member yet? Register   Sign In
url routing to dynamic file name
#9

[eluser]esra[/eluser]
You can probably write a small library with a method using the PHP magic __autoload method in combination with a regular expression composed of the fixed portion of the filename, plus the dynamic part of the file name. Do a web search on 'PHP __autoload' (that is, one word composed of two underscores followed the string 'autoload'). Then load the library in your controller to use whatever you call the autoload method.


Messages In This Thread
url routing to dynamic file name - by El Forum - 08-22-2007, 11:19 PM
url routing to dynamic file name - by El Forum - 08-23-2007, 07:21 AM
url routing to dynamic file name - by El Forum - 08-23-2007, 04:57 PM
url routing to dynamic file name - by El Forum - 08-23-2007, 05:07 PM
url routing to dynamic file name - by El Forum - 09-01-2007, 12:15 AM
url routing to dynamic file name - by El Forum - 09-01-2007, 12:31 AM
url routing to dynamic file name - by El Forum - 09-01-2007, 11:28 AM
url routing to dynamic file name - by El Forum - 09-01-2007, 10:51 PM
url routing to dynamic file name - by El Forum - 09-01-2007, 11:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB