Welcome Guest, Not a member yet? Register   Sign In
Including 3rd party classes
#1

[eluser]GeXus[/eluser]
Hello, I'm trying to setup Maxmind and they have a GeoIP class that they include, is there a way to simply include this file? Or does it need to be re-worked as a library or something?

Thanks!
#2

[eluser]mddd[/eluser]
You can just include it using a include() call and use it like you would in 'normal' php.
#3

[eluser]danmontgomery[/eluser]
Most vanilla php classes can be loaded normally as libraries. All the library loader is doing is instantiating the class and assigning it to a variable.
#4

[eluser]seanloving[/eluser]
@GeXus, did you get Maxmind setup and working? Anything special to know about how you did it?
Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB