My goal was read the number in the file, and if the number is smaller than three add one to it, and if bigger reset the number to one. Write new to the file.
12.02.2017 08:45 | Bash, Crontab, Linux, Server
HTML Forms are one of the main points of interaction between a user and a web site. This tutorial teaches you how to make one.
01.01.2017 08:43 | PHP, HTML, SQL
A tutorial how to set up Flickr photo galleries on ProcessWire. I modified Sergio's photo downloading script and made Photobox effect for galleries.
10.11.2016 00:00 | PHP, Websites, ProcessWire
Using anchor links with a fixed header is a problem, as the body text may be hidden underneath the header.
04.10.2016 02:35 | Websites, CSS, HTML
Page load times can be significantly improved by asking visitors to save and reuse the files included in your website.
12.09.2016 01:20 | Websites, SEO, Cache
Rsync is a powerful tool that facilitates the transfer and synchronization of data between both local and remote systems.
14.05.2016 15:50 | Server, Backup, Crontab, Linux
Backups are one of the most important things when running a server and these scripts help backup your important data automatically.
24.04.2016 11:37 | Server, Linux, Backup, Crontab, Bash
Every one-page website needs animated smooth scrolling effect, and this script will rock your site.
Drupal Views is a powerful tool for all kind of mixed results but how to add images to Views' Page when url have "?". Blocks can't help, but PHP can.
01.03.2016 00:38 | PHP, Drupal
Are you guilty of one of these common PHP mistakes? Refer to this list next time you’re debugging PHP code.
21.02.2016 09:13 | PHP
Drush is a command-line shell and scripting interface for Drupal. This tutorial help you understand how Drush works and how it makes your life easier.
27.01.2016 17:01 | Drupal, Server, Linux
This simple XML Flickr feed parser fetch newest photos and show them with links and thumbnails.
24.10.2015 00:58 | XML, PHP, CSS, HTML
A basic tutorial how to take control of MySQL server, how to make a database and a user, and how to store information in the MySQL database.
19.10.2015 23:24 | SQL, Linux, Server
A simple PHP script which can store an XML document as a file to the server and use it for the website. Replaces file older than 24 hours.
01.10.2015 19:57 | XML, PHP, Server
Tutorial how to set up and run a TeamSpeak 3 server as service on Linux.
29.09.2015 23:20 | Server, Linux
SSH keys serve as a means of identifying yourself to an SSH server using public-key cryptography and challenge-response authentication.
19.09.2015 00:23 | Security, Server, SSH