Advertisement
Sparkster

Untitled

Dec 10th, 2013
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. session_start();
  2. require_once(__DIR__ . "/api/database.php");
  3. require_once(__DIR__ . "/api/api.classifieds.php");
  4. require_once(__DIR__ . "/api/api.media.php");
  5.  
  6. $classifieds_api = new ClassifiedsAPI($database);
  7.  
  8. if(isset($_POST['images[]'])) {
  9.     $media_api = new MediaAPI($database);
  10.     $media_api->upload_images("images", 255);
  11.     echo nl2br(print_r($media_api->get_images(255), true));
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement