View Single Post
Old 10-05-2012, 05:02 PM   PM User | #1
keys88
New Coder

 
Join Date: Aug 2010
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
keys88 is an unknown quantity at this point
Reference in 'glob'

How would
PHP Code:
$list=glob('{../pics/*.jpg,*JPG,*jpeg}',GLOB_BRACE); 
need to be written with $_SERVER['DOCUMENT_ROOT'] in place of the relative reference?

I can't figure out those nested quote marks.

Thank you.

Last edited by keys88; 10-05-2012 at 05:09 PM.. Reason: minor typo
keys88 is offline   Reply With Quote