Query One: Can I use a member function of an object as an error_handler?
I currently declare a function for error handling with every page, but I
would like to put it in an object which lives in the session anyway. The
problem is I can't seem to do it; when I try to set the error handler to
a
Can anyone tell me why this doesn't work:
$db_object = pg_fetch_object($this-getLastResult());
In imaginary interactive mode, it works like this:
ME echo $this-getLastResult();
PHP Resource id #67
ME echo $this-mr_lastResult;
PHP Resource id #67
ME echo
On Mon, 2003-03-10 at 02:40, David Eisenhart wrote:
I'd recommend that you consider using the set_error_handler function
Of course, this is what I am doing. My question is can I use a member
function of an object as an error handler? I don't seem to be able to,
but I might have overlooked
On Mon, 2003-03-10 at 03:01, Ernest E Vogelsinger wrote:
At 13:38 09.03.2003, Nik Makepeace said:
[snip]
Can anyone tell me why this doesn't work:
$db_object = pg_fetch_object($this-getLastResult());
pg_fetch_object() returns an object
On Sat, 2003-03-08 at 05:21, Rahul.Brenda wrote:
Kevin,
Your program certainly makes very good sense to me.
I have written an extension of the idea available at
http://nikmakepeace.com/goodies/abbreviate.phps
It takes 5 arguments:
string to be abbreviated,
length in
On Fri, 2003-03-07 at 09:34, John Taylor-Johnston wrote:
I have an *.inc with html, a rather long list of options.
And you want to print out said list of OPTIONs several times with
different ones selected each time?
You could do it with an array and a function. The array would contain a
list
On Fri, 2003-03-07 at 07:24, Charles Kline wrote:
I have played with it - changing permissions and the only
one that works is chmod 777 - not sure if this is good or not - pretty
new to unix administration stuff.
If you don't want to make a new directory to store them, you should make
sure
On Fri, 2003-03-07 at 14:44, Leif K-Brooks wrote:
Lately, I've been getting the following error:
Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to
allocate 86460 bytes) in Unknown on line 0
The thing is, I'm not doing anything that could possibly require much
memory.
On Thu, 2003-03-06 at 05:49, electroteque wrote:
hi there i am trying tom preg_replace on a string enclosed in brackets to
denote a dynamic link
This works, if I understand you correctly:
?php
$message = [http://www.eletroteque.dyndns.org/index_html.php|Eletroteque Multimedia];
On Thu, 2003-03-06 at 05:49, electroteque wrote:
hi there i am trying tom preg_replace on a string enclosed in brackets to
denote a dynamic link
This works, if I understand you correctly:
?php
$message = [http://www.eletroteque.dyndns.org/index_html.php|Eletroteque Multimedia];
On Thu, 2003-03-06 at 15:33, John Taylor-Johnston wrote:
I'm looking for a couple of lines of code so I can upload the contents of a *.txt
into a buffer and declare it as a string so I can spit it back in a textarea. I
don't want to necessarily upload a text file, only load it into a buffer.
11 matches
Mail list logo