Get names and paths from unzip_file()

If i where you i would read the folder where the zip a $path=”/path/to/extract”; $file=”/path/to/zip.zip”; unzip_file( $file, $path ); $files = scandir($path); $files = array_diff(scandir($path), array(‘.’, ‘..’)); // removes empty spots from the array and then do what you want with the files. File names are in the $files array. foreach ($files as $key => … Read more

Where to store sensitive uploaded file?

Upload files at anywhere ( normally create your own folder inside wp-content/uploads folder ), you can create .htaccess file and index.html files inside the folder to restrict the files from direct access. Keep index.html blank and add deny from all text in .htaccess file.

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