Re: This is a bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/20/07, Augusto Morais <augusto@xxxxxxxxxxxxxxxxx> wrote:
[snip!]
> // - foo.php
> include "lib/clients.class.php";
> $clients = new clients(); //instatiating the clients class
>
[snip again!]
>
> var_dump($clients); //i dont get the object here. I got NULL!!! why?!?!!?
>
> problem:
> When the method(include_file) return "include FILE" the $client object
> stay NULL but when the same method only return "FILE" :
> include $globalactions->include_file("foo");
>
> the $client object isnt empty.

    Augusto,

    I read your code over several times.... where is the clients();
code, and how is that returned to the script?  I couldn't find it
anywhere in there, and I didn't see an explanation.

-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Hey, PHP-General list....
50% off for life on web hosting plans $10/mo. or more at
http://www.pilotpig.net/.
Use the coupon code phpgeneralaug07
Register domains for about $0.01 more than what it costs me at
http://domains.pilotpig.net/.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux