|
Posted by lazypig06@gmail.com on 08/08/06 21:07
Hi everyone !
I got a question about how to create a universal functions (visible to
all pages in current directory and sub directories).
I am trying to create a function that can be called on each page in
current directory and sub directories without include the file that
contains this file. Does anybody know how to do this ?
To make it more specific, Let's say I created a file "temp.php" which
contains a function "foo( )".
Now, I'd like to call foo( ) in every new web pages I create in any
subdirectory without including the file "temp.php".
I was told that .htaccess can get this job done. However, I don't know
exactly how this is done using .htaccess ?
Any help would be appreciated ?
Thanks,
Lazy Pig
Navigation:
[Reply to this message]
|