This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install Android Studio | |
- Sdk | |
#SET Environment Variables | |
- Path | |
- Andorid Sdk | |
- emulator | |
- platform-tools | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('form').submit(function(e) { | |
e.preventDefault(); | |
var formData = new FormData($(this)[0]); // array[0] !important | |
$.ajax({ | |
url: '{{ url('/url') }}', | |
type: 'POST', | |
data: formData, | |
success: function(result) | |
{ | |
// result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$rendererLibraryPath = PHPWORD_BASE_DIR . '/vendor/dompdf/dompdf'; | |
\PhpOffice\PhpWord\Settings::setPdfRendererPath($rendererLibraryPath); | |
\PhpOffice\PhpWord\Settings::setPdfRendererName('DomPDF'); | |
$phpWord = new \PhpOffice\PhpWord\PhpWord(); | |
//Load temp file | |
$phpWord = \PhpOffice\PhpWord\IOFactory::load('.docx'); | |
//Save it |
NewerOlder