Development

0

github force pull

Fetch the new branches: git fetch –all Reset your branch: git reset –hard origin/master

0

Configuration for a domain in your Ubuntu Apache

The content of a configuration file for a new domain in apache (e.g. /etc/apache2/sites-available/starfish.ml.conf ) should be:

0

Set internal encoding to UTF-8 for php

Use the following code in your script to set the internal php encoding to UTF-8:

Also, for mysql and...

0

ubuntu activate gd library

In order tu activate GD library on ubuntu, run the following commands:

0

php remove extra spaces

Removing multiple spaces inside a string can be done in PHP using:

 

0

Redirect to a new page using .htaccess files

The code is pretty simple:

0

htaccess subdomain creation

Source: http://stackoverflow.com/questions/5445978/htaccess-subdomain