Re: [PHP] Pre global configuration

2005-09-27 Thread Lendy Chen
$sendmail_path = @ini_get('sendmail_path'); if (!$sendmail_path) { // no sendmail, so we're using SMTP to send mail $delimiter = "\r\n"; } else { $delimiter = "\n"; } in vBulletin 2005/9/27, Si

Re: [PHP] Pre global configuration

2005-09-27 Thread James Kaufman
On Tue, Sep 27, 2005 at 10:40:06AM -0400, Jake Gardner wrote: > This is a stretch and I doubt you can do this very easily, but I was > wondering if there is a way to define behaviors that happen throughout > a script before execution for example if the OS is windows, all > strings are terminated wi

Re: [PHP] Pre global configuration

2005-09-27 Thread Silvio Porcellana
Jake Gardner wrote: > This is a stretch and I doubt you can do this very easily, but I was > wondering if there is a way to define behaviors that happen throughout > a script before execution for example if the OS is windows, all > strings are terminated with \r\n, if Linux, then \n without adding