These days it’s normal to employ an established platform such as WordPress or Jumla to create a web site or blog, but you may prefer to move differently, in which case this program might prove very useful. You can have it also as a means to edit some pages from older web sites or html […]
Tag: php
If you need to display your recent posts in the front page of your blog and nowhere else, you don’t need (and perhaps you won’t even find) a dedicated plugin / widget for that. Here is my code; feel free to copy, modify and use it to show your recent 5 posts. Changing this number […]
Strange things can happen with the WordPress title in a Home / Front page, according to the particular theme one uses or specialized configurations, when a blog belongs to a multi-site environment or is a single installation. Sometimes in a blog’s Home page you may see that its title is repeated. A solution to this […]
You may try to upload a file on your WordPress site, a backup of your posts, or anything, only to find out that WordPress won’t let you, giving a warning such as “POST Content-Length of 48031673 bytes exceeds the limit of 8388608 bytes,” and the like. This problem comes from your PHP configuration. In order […]
Codelobster PHP Edition is a free portable editor primarily intended for editing PHP, HTML, CSS, JavaScript files with support Drupal CMS, Joomla CMS, Smarty engine, JQuery library, CodeIgniter, CakePHP, Symfony, Yii, Facebook and WordPress. I did not have the chance to try Codelobster because it needs registration even for the free version. Without this secret […]
EasyPHP is a free installation package that will setup automatically on your PC a complete WAMP environment, so that a PHP developers can work in Windows. The package installs automatically PHP, Apache, MySQL, PhpMyAdmin, Xdebug. To use it, you don’t have to stop IIS (if you have it installed); just run the EasyPHP executable and […]
QuickPHP is a free (for personal use) and portable server that will let you test your scripts locally with browsers, without even installing PHP. QuickPHP is a lightweight standalone PHP web server. Features: PHP development web server * Ideal for quickly testing your PHP scripts locally, without the hassle of converting your machine into a […]
Convert ASP code to PHP, with Asp2php
If you are used to ASP scripting, feeling awkward when you see a line of PHP code, you will find Asp2Php, very useful. Asp2Php is a tiny utility that will help you convert an asp script to its php equivalent. Asp2Php may misinterpret some parts, but most of the time it works; it will prepare […]
Sometimes you need to redirect your visitors to another page according to information they have entered in a form, or, if you changed an address in your site, you may need to detect a string in the old address and then redirect your visitors to the new address. This code detects a value called “whatever” […]
PHP === and == operators
In PHP syntax the == operator (two equality signs) returns true if the compared values are equal, even if they are in different types (for example, 7 == “7” is true). The === operator (three equality signs) returns true only if the compared values are absolutely equal, i.e. they have equivalent types as well (e.g. […]