Creating libraries for processing before header sent
Posted: Fri Apr 17, 2009 7:47 am
Hi all
I'm still learning PHP, I want to know if anyone can explain to me how to create a library of functions etc that I may create. I know that you can have a file called 'lib' for example and then pages call the functions from these files when needed before the header of the page is sent.
I hope someone can shed some light on this for me.
Thanks in advance
DW
I'm still learning PHP, I want to know if anyone can explain to me how to create a library of functions etc that I may create. I know that you can have a file called 'lib' for example and then pages call the functions from these files when needed before the header of the page is sent.
I hope someone can shed some light on this for me.
Thanks in advance
DW