Often (writing software and technology) that the article is now present, tomorrow has already passed. There is at least un plugin per WordPress to notify the reader that the post you're reading was written long ago, which it is a perfect fit and ready for use, groped but I also wanted to change the code of my theme to add this simple function automatically.
I state that the following steps create a box (in this case yellow) before the article title. (more…)
Today I illustrate a small process, which I highly recommend to those bloggers linked to the development of a certain topic, to automatically alert the reader that the article you are reading is more old man a time of our choosing, and possibly belonging to a certain category. I am thinking especially to my blog, where technical information can be fine today, but it may already be obsolete with the next release of a software, no longer supported by the operating system or ingetrata.
The result will be completely customizable: appear a block (DIV) leading article, with a class of our choice. We will then give us a style to the DIV. (more…)
In today's article I deal with printing. After I compared the various requirements of customers, I came to theorize the idea that the user (utonto) should have to have everything ready. Less software or drivers will be installed, will be more happy and will be less annoying to those who have something else to do.
The illumination came to me sifting between the printer settings that we have in the office. In one of the menus I see that you can upload the PDF to print on the printer's internal memory to print automatically. (more…)
Resize Images, since the photo editing programs have become part of the routine of the average, is a task as simple as trivial. It is used especially for smaller size is available save bandwidth on the transfer of the file: smaller image will load faster and also to use the images on the web is not the high resolution needed. The problem arises when we have a considerable number of images to be resized, open them one by one can become quite long and tedious. (more…)
And’ It has been almost a year since my last article about a an open source project in a state of neglect. The project was Linux4one, a distribution optimized for Acer Aspire One. Linux4one then made the natural end of each small project that is incorporated, more or less happily, in a bigger project. (more…)
Today we see a small program in PHP on that adapts well to any of our web pages. It is HTML Purifier a common libreria PHP, that cleans up the HTML dates of the pages by removing all tag e i markup unnecessary, that often weigh down the page. Also makes the code of our pages secure (I'm thinking about dynamic sites: WordPress, Joomla, Drupal, etc..) contrasting effectively XSS attacks (Cross-site scripting).
For those who want to use HTML Purifier hand operation is more than obvious; downloaded and extracted the package we give write permissions the folder
Today we see how to set up our Linux box for the web production. What we need is Apache (il web server), MySQL (the database that will contain the data) and PHP (the interpreter for the dynamic language PHP). This configuration is exactly the same adopted by major server worldwide.
Some time ago there was some’ confusion about which version to use php. It was just released php5 and was still using the version 4, for some commands backward compatibility has not been met and some scripts have stopped working. Fortunately php5 circulating for quite some time, and it is even completed the development of php4. There will be problems with large packages (wordpress, joomla and company). (more…)
Anyone who has ever tried to create piagne HTML with Linux you will certainly clashed with the lack of WYSIWYG software developed ad hoc for our favorite operating system. Fortunately, today this “gap” is filled only in part due to the development of some open source programs that attempt to compensate for the lack of development in Dreamweaver (or still commercial alternatives) su piattaforma Linux, but in many ways we are still far from having reached the usability of Dreamweaver or similar.
In today's driving back to talk about “.htaccess“, this time we will use the “mod_rewrite” to change the extension to files so that by making a request to “file.html” the request is turned to “file.php” without altering the URL.
Today's tutorial is very short and very easy. The following lines of code do all the work: (more…)