RE: [PHP] Re: Making functions available from another script

2005-11-07 Thread Richard Leclair
r. > Using "include" doesn't give you an error if the include file is not > found. > > Arno > > DotContent > Professional Content Management Solutions > www.dotcontent.net > > > -Original Message- > From: Ric

RE: [PHP] Re: Making functions available from another script

2005-11-07 Thread Richard Leclair
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

[PHP] Making functions available from another script

2005-11-06 Thread Richard Leclair
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. Regards, Richie ! -- P

RE: [PHP] Line breaks in mail function?

2005-11-06 Thread Richard Leclair
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 PROTECT

RE: [PHP] No forums?

2005-11-05 Thread Richard Leclair
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