Does anyone have any tips for general troubleshooting of mail()? The standard *nix
"mail"
command works fine from the command line, but php scripts that use php's mail() run
very
slowly -- then the mail ends up not getting send. I assume I have something
misconfigured
for sendmail but am not s
This is driving me buggy...
I just upgraded to RH 8 which included an Apache 2.0 update.
PHP and MySQL work OK independently; I can call mysql_connect() from the
command line, but an attempt to do so from a script within Apache returns a
"Fatal error: Call to undefined function: mysql_connect()"
Actually I did try it and couldn't think of a way to work around the matter.
Thanks for the suggestion.
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2003 12:56 PM
To: Daniel R. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Cons
Can anyone tell me if it is possible (and how) to use defined constants
within "here document" content? I've not been successful finding anything
on this in the online docs.
Thanks!
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eeping
function that uses its data.
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 6:56 AM
To: Daniel R. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Constant Arrays Possible?
At 20:28 22.02.2003, Daniel
As long as your headers/footers are static, you could define them as
constants, include just the script that defines the constants, and do a
print(SOME_FOOTER_NAME); where you want them to appear.
-Original Message-
From: CF High [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 22, 2003
I do the following and it seems to work OK:
I put the following two lines at the top of each script:
$defsPath = "[my include path]defs/";
include_once($defsPath."globals.php3");
...and later a call to a function I wrote ( printNavLinks() ) that outputs
whatever I want in the head
Is it possible to define a constant that is an array of other predefined
constants? If so, what would the syntax be? I'm trying something like the
following (all items prefixed with an uppercase "G" are constants) without
success:
define("GaNavButtons", array(
GnavSectionHome => array (
8 matches
Mail list logo