PRE hooks can usually modify values and such, before they are placed on a page. While POST hooks modify the actual HTML which is passed through.
Also, basically when you create a hook, it does this:
In programs such as add.cgi, there is a user_add_link hook at the beginning. When is sees the hook, it searches the plugin.cfg file to see if there is any plugins which use the the user_add_link hook, and if there is, it runs a subroutine which you specify.
They all vary depending on were they are. I know that this is very VAGUE, but hopefully someone else can elaborate.
Robert Blackstone
Webmaster of Scato Search
http://www.scato.com
Also, basically when you create a hook, it does this:
In programs such as add.cgi, there is a user_add_link hook at the beginning. When is sees the hook, it searches the plugin.cfg file to see if there is any plugins which use the the user_add_link hook, and if there is, it runs a subroutine which you specify.
They all vary depending on were they are. I know that this is very VAGUE, but hopefully someone else can elaborate.
Robert Blackstone
Webmaster of Scato Search
http://www.scato.com