[thelist] PHP and subroutines

Anthony Baratta Anthony at Baratta.com
Fri Sep 27 12:54:02 CDT 2002


At 10:25 AM 9/27/2002, Roger Harness wrote:
>Just wondering...do/can folks use subroutine libraries with PHP?? When I
>took a basic (beginning) scripting class, we used PERL, and the teacher
>really, REALLY pushed subroutines stored in .lib files. And they did make
>things a lot easier. I'm just wondering if there's an equivelent with
>PHP...like my database connection stuff. Things that i have to do basically
>every time I code a script. (and if there IS...will/can they slow down the
>server processing time even further then it already is?)

Check here:

http://www.php.net/manual/en/function.include.php

---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list