[PHP] External Function

2002-01-13 Thread Cory
Is it possible to put all of my functions in a text file and just call it and use the functions in it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

Re: [PHP] External Function

2002-01-13 Thread mike cullerton
on 1/13/02 10:06 AM, Cory at [EMAIL PROTECTED] wrote: Is it possible to put all of my functions in a text file and just call it and use the functions in it? http://www.php.net/manual/en/function.require-once.php http://www.php.net/manual/en/function.include-once.php -- mike cullerton

[PHP] External Function

2002-01-13 Thread Cory
Is there anyway that I can have a file (ex: functions.txt) that has all of my functions in it. And I can call that file and use the functions that are in it. If it is possible, than that would save me a load of time, thanks Cory -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] External Function

2002-01-13 Thread Jason Wong
On Monday 14 January 2002 07:19, Cory wrote: Is there anyway that I can have a file (ex: functions.txt) that has all of my functions in it. And I can call that file and use the functions that are in it. If it is possible, than that would save me a load of time, thanks Cory

Re: [PHP] External Function

2002-01-13 Thread Bogdan Stancescu
As Jason said, include() is what you should look for and, as Mike said, you should also take a look at include_once() and require_once(). Obviously, require() is another option. However, you should be aware that txt files are displayed as plain text when accessed, so if any sensitive data is in