Re: storing functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ross wrote:
> I am wondering how you store and recall your functions.
> 
> I have an external file - functions.php, this includes all the functions for 
> the site. It is included in the pages head and then I just use the functions 
> when I need them.
> 
> Does anyone have a better way to store/recall functions?

having an army of chinese type in the required files from memory
using altair 8000 interface for every request. only joking.

what you have is a basic 'include' strategy, as functions.php
grows you might consider splitting it into a number of files that group
similar functions together, e.g.

db.funcs.php
output.funcs.php
misc.func.php

other than that I'm not sure what you are really asking?

> 
> 
> 
> 
> R. 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux