Re: glob(path_pattern, GLOB_ONLYDIR)

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

 



On Sun, March 18, 2007 4:30 am, Jim Lucas wrote:
> Al wrote:

>> print_r(glob('../*', GLOB_ONLYDIR));
> well, double check your php version, because this should be built in
> whit the version that you are running.
>
>>
>> And I get: "Warning: glob() expects parameter 2 to be long, string
>> given
>> in foo"
>>
>> I can't find anything in the manual or when Googling.
>>
>> Anyone can explain this for me?
>>

Also crank up your error_reporting to include E_NOTICE, so that you
are given an error message when you use a constant that just plain
does not exist, and PHP has to "guess" that you meant to put quotes
around it.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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