Skip to content

Instantly share code, notes, and snippets.

View Manalu's full-sized avatar

Ranap Manalu Manalu

View GitHub Profile
@Manalu
Manalu / Basic connection to SAP HANA from PHP
Created November 14, 2017 03:52 — forked from vdespa/Basic connection to SAP HANA from PHP
Basic connection to SAP HANA from PHP. This is a sample connection to a SAP HANA system. It includes a proper error messaging so if the connection will fail you should be able to get a proper error message.
<?php
/**
* Basic connection to SAP HANA from PHP
*
* This is a sample connection to a SAP HANA system. It includes a proper error messaging so if the connection will fail
* you should be able to get a proper error message.
*
* @license The MIT License (MIT)
* @author Valentin Despa <info[at]vdespa[dot]de>
* @version 1.0 / 04.12.2013