Post Specific Uploader

Check if the argument is present, and if it isn’t return the default value:

if(!isset($_REQUEST['post_id']))
  return $upload;

// cast it to integer to avoid problems
$id = (int)$_REQUEST['post_id'];

...

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)