On Sun, Nov 1, 2009 at 6:46 PM, Larry Garfield wrote:
> On Sunday 01 November 2009 2:50:55 pm Daniel Kolbo wrote:
> > Hello,
> >
> > Is there a way to see what objects and functions a script
> > loaded/required/used?
> >
> > I could recursively loop through the globals, but if objects were unset,
On Sunday 01 November 2009 2:50:55 pm Daniel Kolbo wrote:
> Hello,
>
> Is there a way to see what objects and functions a script
> loaded/required/used?
>
> I could recursively loop through the globals, but if objects were unset,
> then i may miss some.
>
> I could make a 'tracking' object and ever
On Sun, Nov 1, 2009 at 9:50 PM, Daniel Kolbo wrote:
> Hello,
>
> Is there a way to see what objects and functions a script
> loaded/required/used?
>
I don't think it's possible to that in PHP code.
>
> I could recursively loop through the globals, but if objects were unset,
> then i may miss som
Hello,
Is there a way to see what objects and functions a script
loaded/required/used?
I could recursively loop through the globals, but if objects were unset,
then i may miss some.
I could make a 'tracking' object and every time i load/include a file
(which contains a class def or a function de
On 11/4/05, Unknown Unknown <[EMAIL PROTECTED]> wrote:
> Hi everyone, i have some code that proccesses a login form. i have an object
> $DB which works only in SOME areas, this is the code:
>
[...]
> $DB="membersp";
> $SQL="SELECT ID FROM membersonline WHERE ID='$ID' ";
> $DB->Query($SQL);
[...]
>
On Thu, 2005-11-03 at 18:37 -0500, Unknown Unknown wrote:
> Hi everyone, i have some code that proccesses a login form. i have an object
> $DB which works only in SOME areas, this is the code:
>
> require_once("Include.php");
> global $DB;
There is no need to global $DB here. You are already in
Hi everyone, i have some code that proccesses a login form. i have an object
$DB which works only in SOME areas, this is the code:
Query($SQL);
$UserInfo=$DB->QueryInfo("Array");
if($UserInfo==0) $Login="FALSE";
else $Login="TRUE";
//Make Sure the user is not a duplicate user trying to log in agai
STFW
>-Original Message-
>From: Unknown Unknown [mailto:[EMAIL PROTECTED]
>Sent: 03 November 2005 00:05
>To: Jasper Bryant-Greene
>Cc: php-general@lists.php.net
>Subject: Re: [PHP] Classes and Functions
>
>
>Oh thanks agai
Robert Cummings wrote:
On Thu, 2005-11-03 at 12:15, Jasper Bryant-Greene wrote:
On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote:
Oh thanks again
and what does RTFM mean?
Read The [insert your favourite word beginning with F here] Manual.
"Fondu"?? *licks lips*
you missed an '
On Thu, 2005-11-03 at 12:15, Jasper Bryant-Greene wrote:
> On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote:
> > Oh thanks again
> > and what does RTFM mean?
>
> Read The [insert your favourite word beginning with F here] Manual.
"Fondu"?? *licks lips*
Cheers,
Rob.
--
.
On Wed, 2005-11-02 at 19:05 -0500, Unknown Unknown wrote:
> Oh thanks again
> and what does RTFM mean?
Read The [insert your favourite word beginning with F here] Manual.
--
Jasper Bryant-Greene
General Manager
Album Limited
e: [EMAIL PROTECTED]
w: http://www.album.co.nz/
b: http://jbg.name/
p:
Oh thanks again
and what does RTFM mean?
A thanks, i tried that before didn't seem to work, now it works
Thanks again!
On 11/2/05, Unknown Unknown <[EMAIL PROTECTED]> wrote:
>
> Hi everybody i have a class that i reference with:
> $DB= new DBInterface;
> outside a function it works fine, but using $DB inside a function changes
> the data type i think... i get an error saying i'm using a method on a
> non-object...
On Wed, 2005-11-02 at 18:56 -0500, Unknown Unknown wrote:
> Hi everybody i have a class that i reference with:
> $DB= new DBInterface;
> outside a function it works fine, but using $DB inside a function changes
> the data type i think... i get an error saying i'm using a method on a
> non-object...
Hi everybody i have a class that i reference with:
$DB= new DBInterface;
outside a function it works fine, but using $DB inside a function changes
the data type i think... i get an error saying i'm using a method on a
non-object...
any help appreciatted
your question is hard to answer. The difference between classes and
functions is like the difference between a toolbox, and a spanner. A
class is a container, that contains functions, and variables, or as
they are called in Object-Oriented-Speak(methods, and properties).
A method is a function tha
On Sat, 2004-12-11 at 13:03 -0500, R. Van Tassel wrote:
> Can someone give me a distinction between the two and when to use / not use
> them?
>
>
>
> I want to thank everyone who replied about my"For" loop question. All the
> answers were VERY helpful! Thanks very much.
You might want to pick
Can someone give me a distinction between the two and when to use / not use
them?
I want to thank everyone who replied about my"For" loop question. All the
answers were VERY helpful! Thanks very much.
~ R. Van Tassel
> just a fast question here.. and the lotic probably isnt to bright on my
part
> and i think i know the answer to this question too but just to make
sure...
> if you can include variables in an include file and use them outside that
> file (in the file that includes that file that is) then can you
just a fast question here.. and the lotic probably isnt to bright on my part
and i think i know the answer to this question too but just to make sure...
if you can include variables in an include file and use them outside that
file (in the file that includes that file that is) then can you do the s
Sent: Wednesday, November 28, 2001 12:17 PM
Subject: [PHP] Classes and functions
> Hy,
>
> I'm writing a class for POP3 access and I want some of the internal
> functions to be private, like the mime decoding stuff.
>
> Is there any way to do this? I found nothing in th
Hy,
I'm writing a class for POP3 access and I want some of the internal
functions to be private, like the mime decoding stuff.
Is there any way to do this? I found nothing in the docs :(
Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
23 matches
Mail list logo