linux - PHP file in www dir can't access images in user dir -
i have php file in var/www directory , want read images /user/folder/folder directory. have tried creating soft link user folder, however, nothing seems working. appreciated. note, permissions dir , files set 755 , user , group set username (pass required access).
$files = glob("~user/downloads/other/*.*");
seems work fine when include full file path. not sure os you're on, should similar glob("/users/yourusername/downloads/*.*");
Comments
Post a Comment