Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- session_start();
- require_once(__DIR__ . "/api/database.php");
- require_once(__DIR__ . "/api/api.classifieds.php");
- require_once(__DIR__ . "/api/api.media.php");
- $classifieds_api = new ClassifiedsAPI($database);
- if(isset($_POST['images[]'])) {
- $media_api = new MediaAPI($database);
- $media_api->upload_images("images", 255);
- echo nl2br(print_r($media_api->get_images(255), true));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement