|
Posted by juglesh on 07/20/05 00:35
howdy, I am using this code library thing:
http://sourceforge.net/projects/php-csl/
http://www.php-csl.com/snippets/
and had an idea. I was thinking about keeping a bunch of functions in
the root dir of my server, so I can re-use my code from any of my
websites without having to copy each func or code into the current
site that im working on. So, Itd be kinda like PEAR, youd just go:
Code:
include "/home/library/thefunction.php;
$var = thefunction();
That php-csl that i linked to would have to be modified, cuz it stores
the snippets in *.s files. No biggie. Also, it would be cool to have
the code you need for including the func be in a text area that could
have a copy to clipboard button.
Anyone doing such a thing? Have any security concerns? Other
thoughts?
thanks,
juglesh
--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-PEAR-csl-code-library-ftopict241484.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=839478
[Back to original message]
|