Posts

Showing posts with the label xampp

How to access db in phpmyadmin in xampp [on hold]

How to access db in phpmyadmin in xampp [on hold] I downloaded the madrasa management software from Google. And I extracted this file and copied it in htdocs in xampp. Then I imported the madrasa management software backup file in phpmyadmin in xampp. Import has successfully completed. But I can't access the database in localhost. So please guide me on how to access this software. This question appears to be off-topic. The users who voted to close gave these specific reasons: Please read stackoverflow.com/help/how-to-ask – Franck Gamess Jul 1 at 6:52 Try to elaborate more and show which error you're facing. stackoverflow.com/questions/30255567/… – Drashti Pandya Jul 1 at 6:56 ...

Laravel, trying to use helper to display PDF

Laravel, trying to use helper to display PDF I'm trying to display a PDF file I have in my storagereports folder inline in the browser. My file is: storagereportsReal_Estate_Test.pdf storagereportsReal_Estate_Test.pdf I have a helper file: appHelpershelpers.php appHelpershelpers.php I call the PDF from my blade with: {{viewReport($filepath, $ext, $filename)}} {{viewReport($filepath, $ext, $filename)}} where $filepath = storage_path().'reports'; $ext = "pdf"; $filename = "Real_Estate_Test"; In my helper file I have: <?php use Response; if (! function_exists('viewReport')) { function viewReport($filepath, $ext, $filename) { $filename.".".$ext, , 'inline'); $headers = [ 'Content-Type' => 'application/pdf', 'Content-Disposition' => 'inline; ' . $filepath."\".$filename.".".$ext, ]; return Response::make(File::get($file...