Re: Installing a PHP class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Well that was my first try, so I tried to lookup if that lib path was recursive
> anyway, is it important that all files be in one directory in this path?

That won't work because, assuming we're talking about the same class
(see my prev email), the files need to be put somewhere in your
website's directory structure so they can be pulled in by the calling
script. I do something similar, without classes, on a website I've
written. I'll have a require("./framework/helpers.php"); somewhere at
the top that calls in the needed functions. The same would apply to
pulling in classes.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux