Include file upload button inside post and process file

It looks like you want a few things from a single button press. Initiate request Process request Prompt user WP AJAX will let you utilize jQuery to send a request to admin ajax (action) and trigger your process using shell_exec. When complete you’ll compose the response with wp_send_json_success() and read the result back on your … Read more

How to share media between independent blogs?

I’m afraid you’ll also need to create the database records – that’s how WP looks for media files, starting in the db. Those records then tell WP the local path to the media file. But that means that if your web server has access to both sub domain folders on disk, you don’t need to … Read more

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