custom php function creation and install
Posted
by Ben Olley
on Stack Overflow
See other posts from Stack Overflow
or by Ben Olley
Published on 2010-04-01T13:58:11Z
Indexed on
2010/04/01
14:03 UTC
Read the original article
Hit count: 292
I would like to know how to create a php function that can be installed in php just like the already built in functions like :
rename copy
The main point I would like to achieve is a simple php function that can be called from ANY php page on the whole host without needing to have a php function within the php page / needing an include.
so simply I would like to create a function that will work like this :
location();
That without a given input string will output the current location of the file via echo etc
© Stack Overflow or respective owner