GatKong |
Tetris Mason
|
|
|
Reged: 04/20/07
|
Posts: 5907
|
Loc: Sector 9
|
|
Send PM
|
|
Re: Any php wisemen?
02/10/14 03:24 AM
|
|
|
> wait. I see what's wrong. > > glob searches the local filesystem, not an HTTP URL.
Nailed it! Ah. I knew I had to be overlooking something ridiculously simple.
Changed $dir = 'http://mywebsite.com/random'; to $dir = '../random/';
and BINGO! We got random pics!
Thanks krick!
|
|