You are here: Put my function as default function? « PHP Programming Language « IT news, forums, messages
Put my function as default function?

Posted by howachen on 10/03/06 13:09

I have a function foo(), I want all my page can call this method
without include / require

I know I can set in php.ini by setting the auto_prepend...

but this will cause overhead as every file need to prepend this file
even no call to the function,

are there any better method?

instead of writting an extension?

thanks.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация