The following code seems to work in general but everyone once in a while I'm
getting a segmentation fault. Can someone explain to me why this would be
intermittent and/or whether or not it should work?
function getDomain($serverName)
{
$result = $serverName;
// some processing to resul
Note that on another machine running Redhat Linux 6.1 with a uname output of
"Linux web3 2.2.16-3smp #1 SMP Mon Jun 19 19:00:35 EDT 2000 i686 unknown",
the problem does NOT occur even if display_errors in php.ini is set to On.
- doug
Doug Farmer <[EMAIL PROTECTED]> wrote in me
I have definitions (i.e. define ("a", "b");) that are being corrupted in
php-4.0.6 in apache 1.3.20 on Redhat linux from Jan. 11.
Anyone seen this? Any solutions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
ews:01ce01c13a93$a4fd6d00$0b01a8c0@ANDreY...
> if (!define("__FUNCTIONS__") )
> must be:
> > if (!defined("__FUNCTIONS__") )
>
>
>
> Andrey Hristov
> IcyGEN Corporation
> http://www.icygen.com
> BALANCED SOLUTIONS
>
>
> - Original
> defines to protect from multiple inclusion. You can simply use
> include_once
>
> -Rasmus
>
> On Mon, 10 Sep 2001, Doug Farmer wrote:
>
> >
> > I'm doing the following:
> >
> > test.php -
> > > require("functions.php");
&
ere.
I also neglected to say that I was switching from php3.0.14 to php4.0.6.
"Doug Farmer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I'm doing the following:
>
> test.php -
> require("functions.php&qu
I'm doing the following:
test.php -
-- functions.php -
";
function setNoCacheHeaders( ) {
static $headersNotSet = TRUE;
if ( $headersNotSet ) {
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the
past
header("Last-Modified: " . gmdate("
7 matches
Mail list logo