,
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 functions available from another script
Richard Leclair wrote
an error if the include file is not
found.
Arno
DotContent
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
Hi Murray,
Try doing something like this:
---
$body = From: $name
Email: $email
IP Address: $_SERVER['REMOTE_ADDR']
Feedback:
$feedback
;
$fromaddr = $email
Reply-To: $email
X-Mailer: PHP/ . phpversion();
mail([EMAIL PROTECTED],
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:
?php include .../fns.php ?
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
I'm afraid I'm going to have to agree with Rob Cummings on this one.
I have a comment and suggestion:
Comment:
There is far too much 'spam' about a long-dealt with issue which keeps
flying around, clogging up mailing lists. It can sometime happens when
people either feel they need to have the
5 matches
Mail list logo