Install SQL Ledger on Windows


Rod from SunsetSystems does a very good job on OpenEMR  forum in explaining how to install SQL Ledger on Windows. I summarize here what he explained then keep visiting  his post here.

1. Xampp Lite (no Perl):
http://www.apachefriends.org/en/xampp-windows.html
2. Strawberry Perl:
http://strawberryperl.com/
DBI, DBD::Pg, Date::Calc, XML::Parser and Frontier::Responder
3. PostgreSQL:
http://www.postgresql.org/
4. Expat:
http://sourceforge.net/projects/expat/
http://win32.perl.org/wiki/index.php?title=Expat_Hacking
5. pexport.exe
http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz

6. Modify the first line of the various Perl scripts in SQL-Ledger to point to the correct path for the Perl interpreter.
http://sql-ledger.org/source/windows/shebang

source:

http://www.oemr.org/modules/wiwimod/index.php?page=SqlLedgerInstallHowtos

Advertisements

IE Download Over SSL Error


Previous Code

<?php
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

New Code

<?php
header(‘Cache-Control: maxage=3600’); //Adjust maxage appropriately
header(‘Pragma: public’);
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

source:

http://elrems.wordpress.com/2008/03/05/php-header-pdf-document/