ber 2005 5:58 pm
> To: php-general@lists.php.net
> Subject: RE: [PHP] Re: Making functions available from another script
>
> If it was working properly the function would be callable. Your include is
> probably not working - change it to "require" and see if you get an erro
ent
Professional Content Management Solutions
www.dotcontent.net
-Original Message-
From: Richard Leclair [mailto:[EMAIL PROTECTED]
Sent: 07 November 2005 11:33
To: 'Norbert Wenzel'
Cc: php-general@lists.php.net
Subject: RE: [PHP] Re: Making functions available from another script
Richard Leclair wrote:
Hi Norbert,
Thanks for your reply. Yeah, you were almost there - it wasn't quite what I
had in mind. I probably should have elaborated on this one.
I'm looking at building up a library of handy functions that can be included
in a current script.
Only problem is:
(let's
I not gone about this correctly?
Regards,
Richie !
> -Original Message-
> From: Norbert Wenzel [mailto:[EMAIL PROTECTED]
> Sent: Monday, 7 November 2005 5:13 pm
> To: php-general@lists.php.net; Richard Leclair
> Cc: php-general@lists.php.net
> Subject: [PHP] Re: Making fun
Richard Leclair wrote:
Hi PHP-ers,
Here's an easy one:
Q: How can I make a function available from within another php script?
Eg. B.php contains:
Which has a function fn($x);
Later on, I want to include this function in B.php somewhere.
In short: B.php wants to use fn($x) found in A.php.
5 matches
Mail list logo