-
Meyhomes Capital Phú Quốc's profile was updated 5 years, 2 months ago
-
Amazon Startup Studio | EcomHub's profile was updated 5 years, 2 months ago
-
Situs Judi Roulette Online Terpercaya's profile was updated 5 years, 2 months ago
-
CS Web Solutions's profile was updated 5 years, 2 months ago
-
W88 mobile's profile was updated 5 years, 2 months ago
-
fun88pokerapp's profile was updated 5 years, 2 months ago
-
AiRight Cooling, Heating & Plumbing, Inc.'s profile was updated 5 years, 2 months ago
-
Logic HVAC/R's profile was updated 5 years, 2 months ago
-
Venezia Beach's profile was updated 5 years, 2 months ago
-
Phụ tùng JP-Lifter's profile was updated 5 years, 2 months ago
-
fletayee2's profile was updated 5 years, 2 months ago
-
C K's Heating & Cooling of Hobbs's profile was updated 5 years, 2 months ago
-
Garage Door's profile was updated 5 years, 2 months ago
-
tapplumbing2's profile was updated 5 years, 2 months ago
-
Wheelsrush's profile was updated 5 years, 2 months ago
-
Dana Peters's profile was updated 5 years, 2 months ago
-
w88wins w88club22's profile was updated 5 years, 2 months ago
-
Ivijan-Stefan Stipic replied to the topic Upload avatar directly from the folder via PHP in the forum How-to & Troubleshooting 5 years, 2 months ago
Thank you!
Here is complete script for this:
// Setup
$path = 'some/folder/where/is/prepared/image.jpg'; // EXAMPLE
$user_id = 123; // EXAMPLE
$upload_path = bp_core_avatar_upload_path();
$upload_dir = 'avatars';// Define filename and data
$filename = pathinfo($path, PATHINFO_BASENAME);
$data = file_get_contents( $path );// Prepare final…[Read more]
-
Rory Jerger's profile was updated 5 years, 2 months ago
-
ดูหนังออนไลน์'s profile was updated 5 years, 2 months ago
- Load More