Re: [PHP] Including function libraries

2004-10-03 Thread Marek Kilimajer
Jasper Howard wrote: it seems possible that this is the problem, you called it, "checkLoggedIn()" in your script then tried to call, "checkloggedin()". Notice the caps aren't there when you tried to call it. Case does not matter for functions. Only for variable names. -- PHP General Mailing List (h

Re: [PHP] Including function libraries

2004-10-02 Thread Jasper Howard
> Do you have in functions.lib ? > > > > -Original Message- > From: Andrew W [mailto:[EMAIL PROTECTED] > Sent: 02 October 2004 16:52 > To: php-gen > Subject: [PHP] Including function libraries > > Ok, I've got a file called functions.lib which cont

RE: [PHP] Including function libraries

2004-10-02 Thread Graham Cossey
Do you have in functions.lib ? -Original Message- From: Andrew W [mailto:[EMAIL PROTECTED] Sent: 02 October 2004 16:52 To: php-gen Subject: [PHP] Including function libraries Ok, I've got a file called functions.lib which contains the following: function checkLog

[PHP] Including function libraries

2004-10-02 Thread Andrew W
Ok, I've got a file called functions.lib which contains the following: function checkLoggedIn() { return (true); } function Test ($x) { return ($x * $x); } and a file called test.php which contains the following: include 'functions.lib'; if (checkLoggedIn()) { print "Logged