Kategoriearchive: php


DKIM-Patch 0.2.3

A new version of the DKIM-Patch for ISPConfig is available now. Download: DKIM-Patch Changes to 0.2.2: 2013-10-11 skip writing dkim-values for inactive domains removed the public-dkim-key from the interface; the dns-record will be created within the dns-module. there is no need to display the public-key anymore. the public-key is also […]


WordPress 3.6.2 and qtranslate

Worpress 3.6.2. doesn´t work with qTranslate. The plugin is always disabled and the current version will not be accepted. There is the option to activate the plugin yet, but this will not work correctly. There is a simple workaround. wp-content/plugins/qtranslate/qtranslate.php die Zeile 90 wie folgt ändern: define(‘QT_SUPPORTED_WP_VERSION’, ‘3.6’); http://wordpress.org/support/topic/not-work-on-wp-36


stop DNS replication in a ISPConfig cluster

The following post refers to http://www.howtoforge.com/forums/showthread.php?t=62702 When using several servers for web and / or mail, all must each be recorded in the DNS. But if one server fails, the DNS entries have to be adjusted accordingly; a round-robin DNS solution leads to timeouts, too. If only the local IP […]


ISPConfig – Remove mount –bind lines from df output in monitor

To remove the mount – -bind lines from df output in the monitor, only minor changes are needed. before after You must change only a few lines in /usr/local/ispconfig/server/lib/classes/monitor_tools.inc.php. Line 477 (direct after public function monitorDiskUsage() {: from global $conf; to global $app,$conf; Change line 488 from $dfData = shell_exec(‘df […]


ISPConfig – DKIM-Patch 57

This setup ist for dkim-patch up to 0.4.1. For newer versions please see here. I have already described how a DKIM key can insert into amavis with ISCPonfig automatically. While the former solution works, but is not controllable via the interface and thus also not apply to customers / clients […]


ISPConfig – add backup size to web backups 8

To view the size of the backups of a domain in the interface, just a few minor changes are needed. The modified files are available for download here. Add one line to interface/web/sites/lib/lang/en_web_backup_list.lng: $wb[‘filesize_txt’] = ‘Filesize’; Extend interface/web/sites/templates/web_backup_list.htm by two lines: <th class=”tbl_col_filename” scope=”col”><tmpl_var name=”filename_txt”></th> <th class=”tbl_col_filename” scope=”col”><tmpl_var name=”filesize_txt”></th> <th […]


php $_POST with special characters

I just wondered why $private_key=$_POST[‘pkey’]; doesn´t work, when I use a variable with AJAX, which also contains a +. The solution is surprisingly simple: PHP changes fields containing the characters space, dot and others to ensure compatibility with the (obsolete) register_globals. There are many workarounds. I use this function: function […]