Server-Side PDF Conversion with LibreOffice and IIS

|
| By Sahil Kumar

When building web applications on Windows servers using IIS, you may occasionally need to utilize locally installed desktop applications — like LibreOffice — for server-side tasks. A common example is converting Microsoft Word documents into PDF format. In this post,

Allow the Cross Origin Request (CORS)

| By Webner

Cross Origin issue is resolved by adding header(“Access-Control-Allow-Origin: http://yoursite.com”); to allow the particular origin or we can also allow all the origin by replacing the path to *. For Cake php header is defined in file public/index.php. Code: header(“Access-Control-Allow-Origin: http://yoursite.com”);