Thats true, but its more overhead calling a function than compare a variable.
Thats why i want to calll the function only once.
- Svein
On Thursday 05 June 2003 14:03, Ford, Mike [LSS] wrote:
-Original Message-
From: Svein Larsen [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 16:22
$gd_loaded = (extension_loaded('gd'))?1:0;
Then you can use if ($gd_loaded) later in your code.
- Svein
-Original Message-
From: Esteban Fernandez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 17:09
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Is gd present?
Also
On Wednesday 04 June 2003 18:16, Svein Larsen wrote:
Anybody got a good solution for capturing errors in php
scripts? I can
catch the errors by logging them to a log file (log_errors in
php.ini) My problem is that i'm running a lot of sites on my server
and i need to know wich site generate
]
Subject: Re: [PHP] Error capturing
On Thursday 05 June 2003 02:00, Svein Larsen wrote:
Yes, set_error_handler work for soft errors.
But parse-errors doesnt get catched by the errorhandler.
But surely you check that your pages actually parse before
deploying them?
*boggles
Thats the strange thing... there IS NO CODE that change the value...
And the cut/paste is bad... there is no parse errors and the code snip is only
a small part of a scriptfile.
- Svein
On Tuesday 03 June 2003 15:33, Jay Blanchard wrote:
[snip]
I'm not able to reproduce this in a short
On Tuesday 03 June 2003 15:27, CPT John W. Holmes wrote:
On Tuesday 03 June 2003 13:58, Jay Blanchard wrote:
[snip]
We would have to see some code
Jay
I'm not able to reproduce this in a short code-snippet.
But from the first echo to the last echo $lid change its value:
Hello,
Anybody got a good solution for capturing errors in php scripts?
I can catch the errors by logging them to a log file (log_errors in php.ini)
My problem is that i'm running a lot of sites on my server and i need to know
wich site generate the error and cant find any way to get this in the
I'm getting strange behavior in some of my scripts
I just upgraded from 4.3.1 to 4.3.2 and was hoping it would solve the
problem. The problem is that variables changes its values from one line og
code to another - without specific code that should change the value.
Do anybody else had this
On Tuesday 03 June 2003 13:58, Jay Blanchard wrote:
[snip]
We would have to see some code
Jay
I'm not able to reproduce this in a short code-snippet.
But from the first echo to the last echo $lid change its value:
if ($hostid==31) echo lid1: $lid;
# Paragraphs
#
9 matches
Mail list logo