Hi I'm new to php and I've been busy reading up, learning etc. I now have a good grasp on the language in general. (I have some previous experience with C#) But I'm a bit lost when it comes to dependencies. What sort of class library's can I expect to find installed on a typical shared hosting server? Would most of these servers have the majority of PEAR modules installed? And things like the mcrypt extension etc. should I assume it will be available or should I avoid using things like this? Ideally it would be nice to be able to include everything the script needs within the distribution, but this doesn't seem to be practical (or even possible) Any advice you guys could give me would be great
imo, PEAR is useful if you run it on your own server. You can't always expect up to date versions of PEAR packages installed on shared hosting. My advice, use some PHP Framework, for example Zend Framework
Thanks for your reply Yeah i didn't think using these classes would be a good idea. I'm not sure if I want to go with a framework though.