In this post we will connect Php code in Linux env (Debian 8 Jessie) to M$ Sql Server, using FreeTDS (latest vers.).
We start from a fresh installation of Debian 8 Jessie.
# apt-get update && sudo apt-get upgrade
# apt-get install apache2
# apt-get install php5
# /etc/init.d/apache2 restart
# apt-get install dpkg-dev
# apt-get install devscripts
To check that php5 works fine
# php -v
PHP 5.6.13-0+deb8u1 (cli) (built: Sep 7 2015 13:38:37)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
Now if all works fine you can continue. Click here to continue reading Php code in Linux to Ms Sql Server using Freetds
In this post I will show how to implement “click to call” functionality for Asterisk written in C#, and using Asterisk manager API.
To use it you can launch the exe and put like argument the number to dial. Really simple but… works !
The code is subject to be improved and “beautified”.
There are times which that is convenient to use USB disks formatted with the old FAT file system, i.e. in office environment with mixed operating system.
In my situation we have a linux server (using ext3 file system), with several SMB shared folder used by all the MAC/Linux/Windows workstation: a very cheap backup system consist in a USB disk connected directly to the server, and a daily backup process that copy all the files from shared folders to this disk. In emergency this disk become the only way to get all files.
From here the most convenient way to use commonly a USB disk is to format it using the old FAT file system !
The Articles Newsflash (mod_articles_latest) module can be modified to show the creation date of your latest articles.
In the following file there is variable (Array) named $item which handles all information we want to display, like date of creation, Title etc.