Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

New Servage Hosting account – Back Up

Tuesday, May 21st, 2019 by Helge
Restore your files and databases Did you know that at Servage, we make all the backups on your files and databases available to you directly in your own home directory? If not, we definitely recommend you read this post!backuprestore Most have ever needed to recover data from a backup - whether it's your laptop that crashed, your phone's latest OS crashed, or an update of your WordPress made the page unusable. The third scenario is most common for our customers to have suffered (although we are sometimes consulted in the other examples also ). In this blog post we will go through three ...

New Servage Hosting account – Application installer

Tuesday, May 14th, 2019 by Helge
Install applications with view clicks! Our application installer helps you to install and use complex apps with few clicks only. Our system will set up the files and the associated database. It is very easy to install tools like e.g. Wordpress, Joomla, Coppermine, openCart and many more. Here, you find a step by step instruction how to use the Servage application installer: WordPress-VS-Joomla-VS-Drupal https://servage.zendesk.com/hc/en-us/articles/115000057163-Application-Installer If you should decide to install a new application on the host on which you already installed a tool, you can simply uninstall the existing tool tool and then do a new installation. Here, you see how to uninstall ...

New Servage Hosting account – SSH

Friday, May 10th, 2019 by Helge
Screenshot_2019-05-07 How To Log In Via SSH For each Servage hosting account, we are offering one SSH account. SSH stands for Secure Shell and is a way to log in to the server to be able to work directly on the server via text commands. When people refer to 'using SSH', they are referring to using an SSH client to connect to another computer's SSH server in  order to remotely run commands on that computer. Any computer is capable of running both an SSH client and a server. SSH has plenty of advantages, it allows the encryption of data so that those malicious would-be attackers cannot access your user information and passwords. SSH ...

New Servage Hosting account – Helpdesk

Tuesday, May 7th, 2019 by Helge
Almost all Servage customers are moved to our new platform (V2). Of course, plenty of questions occur since the functionalities are implemented differently in the new control panel and some time is required to get used to that system. Servage created a Helpdesk with hundreds of posts to expHP_1lain the new control panel and to show where you can find the functions. Our Helpdesk has step by step instructions, supported by screen shots directly from the Servage Webhosting account. You find the Helpdesk on this URL: https://servage.zendesk.com/hc/en-us On the dashboard of our Helpdesk, you find categories. When you click on the categories, you find the related ...

CSS sprites are cool and useful

Thursday, May 2nd, 2019 by Servage
  How CSS Sprites Work There is an interesting story about Vilfredo Pareto, an economist who made an observation on the wealth of most of the nations in UN and found that 80% of the wealth of a nation is in the hand of 20% of the people in that country. This became famous as the 80/20 rule in the economic world there after. In our computing world especially in case of web development and web developers who are focusing on performance optimization technique this same rule is working for the code. There are only 20% codes, which are consuming 80% time of the client-server interactions. This is particularly true for http requests. Us web programmers are ...

More with CSS Visual effects

Saturday, April 20th, 2019 by Servage
transforms Transform Values: transform function(s) | none Default: none Applies to: transformable elements (see sidebar) Inherits: no This article focuses on the more straightforward 2-D varieties because they have more practical uses. Transforms are supported on all major browser versions with vendor prefixes. They are not supported at all on IE8 and earlier, Firefox 3 and earlier, and Opera 10.1 and earlier. You can apply a transform to the normal state of an element and it will appear in its transformed state when the page loads. Just be sure that the page is still usable on browsers that don’t support transforms. It is common to pull out the transforms only when users interact with the element via a ...

Variable-typing in PHP

Tuesday, April 16th, 2019 by Servage
php-explorer-tab-search PHP is a very loosely typed language. This means that variables do not have to be declared before they are used, and that PHP always converts variables to the type required by their context when they are accessed. For example, you can create a multiple-digit number and extract the "nth" digit from it, simply by assuming it to be a string. In the following snippet of code the numbers 12345 and 67890 are multiplied together, returning a result of 838102050, which is then placed in the variable $number. Automatic conversion from a number to a string <?php $number = 12345 * 67890; echo substr($number, 3, 1); ?> At the point of the assignment, $number is a numeric variable. ...

Create .zip files with JavaScript dynamically

Saturday, March 23rd, 2019 by Servage
The JavaScript library JSZip provides you with the ability to generate .zip files dynamically. This way you can send lots of data to a user in a convenient and bandwidth-saving way. With JavaScript becoming more and more powerful, and the amount of data handled by JavaScripts increasing every day, this is a great way to communicate with the user. Most users generally accept zip files from trusted sites - assuming that your users trust your site ;-) It's really easy to create a .zip file. Check out this sample code: var zip = new JSZip(); zip.add("Hello.txt", "Hello World\n"); img = zip.folder("images"); img.add("smile.gif", imgData, {base64: true}); content = zip.generate(); location.href="data:application/zip;base64,"+content; Creating zip files in the browser with JavaScript also ...

Running terminal commands with PHP

Friday, March 15th, 2019 by Servage
terminalSometimes you may find yourself in a situation where you want to run more than just PHP code. Perhaps PHP does not have a built-in function for what you want to do or you want to run some custom commands, such as executing an external program. There are multiple ways to achieve this, and we will learn how to do it in two different ways. The usual way: exec() and shell_exec() These two functions are likely the ones that come to your mind first when thinking about a way to execute a terminal command. Both of there are basic PHP functions, and they are very similar to each other. The biggest difference between ...

How to build a successful site for e-commerce

Saturday, March 9th, 2019 by Servage
webshopE-commerce is quickly turning into a must-have for modern businesses. And why shouldn’t it when it’s relatively cheaper than selling products at a physical location, always having to worry about rent for your shop and a whole lot of others expenses. With an e-commerce business you can basically sell anything, no matter how big or small. And if you have good suppliers, you don’t even have to worry about having too many items in stock or running out of stock. With good managerial skills plus the right marketing and conversion funnel you can actually run a successful business where items sell themselves. Which other crucial element does your e-commerce business depend on, other than ...

Recent articles

Using DOM elements in Javascript – Part 4

JavaScript came about during a dark and lawless time, before the web standards movement, when all the major players in the browser world were—for want of a better term—winging it. It likely won’t come as a major surprise to anyone that Netscape and Microsoft implemented radically different versions of the DOM, with the prevailing sentiment being “may the best browser win.” insertBefore() The insertBefore() method, ...

Using DOM elements in Javascript – Part 3

Inner HTML gives us a simple method for accessing and changing the text and markup inside an element. It behaves differently from the methods we’ve covered so far. Let’s say we need a quick way of adding a paragraph of text to the first element on our page with a class of intro: var introDiv = document.getElementsByClassName("intro"); introDiv.innerHTML = "<p>This is our intro text</p>"; The second ...

Using DOM elements in Javascript – Part 2

Here we will discuss about some more id attributes syntaxes. By id attribute value getElementById() This method returns a single element based on that element’s ID (the value of its id attribute), which we provide to the method as an argument. For example, to access this particular image: <img src="photo.jpg" alt="" id="lead-photo">' We include the id value as an argument for the getElementById() method: var photo = document.getElementById("lead-photo"); By class ...

Using DOM elements in JavaScript – Part 1

We have earlier seen an introduction to DOM Nodes and Structures in JavaScript. Now let’s discuss some advanced DOM Management Concepts to make best use of it in Web Development. The document object in the DOM identifies the page itself, and more often than not will serve as the starting point for our DOM crawling. The document object comes with a number of standard ...

Dear Servage customers – Happy 2019

  With 2018 coming to a close, Servage wanted to reach out and send our best wishes to you and yours! Hopefully, this New Year is going to be the one that fulfils all your dreams and so start it with a joyful and a vibrant soul! Here’s wishing you a prosperous and successful new year!