Once again I need your help.
I am still learning php 4, and from what I've learnt already, it's extremely cool a language. But I still have a doubt, and it is imperative that I know how to do this, or something similar in php 4
When I do ASP, I can have the server totally paste a file inside another file when something's requested doing something like this
<!-- #include file="validate.asp" -->
which happens to be pretty cool since I can write functions that are used in many (if not all) files in another file, include it and call the function(s) when I need them
I am currently moving my site from Intel/Windows NT/IIS/ASP/ODBC to SPARC/Solaris 9/Apache/PHP/MySQL, but I have a good structure in ASP, and I need to code the other page based on the first one.
I need to be able to write functions that I can access from any file, so the first way I thought of doing so was with inline file including; but I read that you can make functions to be included in your PHP server... that would be good too.
Does anyone knows how to do either of these solutions?