Install FCKeditor

Header <script type=”text/javascript” src=”Scripts/fckeditor/fckeditor.js”></script> Body <script type=”text/javascript”> window.onload = function() { var oFCKeditor = new FCKeditor( ‘n_message_<?php echo $cnt1; ?>’ ) ; oFCKeditor.BasePath = “Scripts/fckeditor/” ; oFCKeditor.Height = 600 ; oFCKeditor.Width = 800 ; oFCKeditor.ReplaceTextarea() ; } </script>   Config \Scripts\editors\fckeditor\editor\filemanager\connectors\php end edit the config.php // Path to user files relative to the document root. …

MooTools 1.2 Image Protector: dwProtector

Image protection is a hot topic on the net these days, and why shouldn’t it be? If you spent two hours designing an awesome graphic, would you want it ripped of in matter of seconds? Hell no! That’s why I’ve created an image protector class to help designers and artists protect their images. Here’s how …

XAMPP settings with plain-text configuration files

You adjust XAMPP settings with plain-text configuration files. The following files exist: Apache basic configuration: .\xampp\apache\conf\httpd.conf Apache SSL: .\xampp\apache\conf\ssl.conf Apache Perl (only addon): .\xampp\apache\conf\perl.conf Apache Tomcat (only addon): .\xampp\apache\conf\java.conf Apache Python (only addon): .\xampp\apache\conf\python.conf PHP: .\xampp\apache\bin\php.ini (with the apache actually running php version) MySQL: .\xampp\mysql\bin\my.cnf phpMyAdmin: .\xampp\phpMyAdmin\config.inc.php FileZilla FTP: .\xampp\FileZillaFTP\FileZilla Server.xml Mercury Mail basic configuration: …

PHP headers

// See related links for more status codes // Use this header instruction to fix 404 headers // produced by url rewriting… header(‘HTTP/1.1 200 OK’); // Page was not found: header(‘HTTP/1.1 404 Not Found’); // Access forbidden: header(‘HTTP/1.1 403 Forbidden’); // The page moved permanently should be used for // all redrictions, because search engines …