Author Archive

Strtoupper Å Ä Ö fix UTF-8

As you might know the Stroupper dont work with special chars like Å Ä Ö. Also its not working to do str_replace sice Å Ä Ö is not supported there. But there is a way to do this easy with mb_stroupper and use UTF-8, see my example:
$string = “åäö”;
$string=mb_strtoupper($string, “utf-8″);
echo $string;
Enjoy!
$string=mb_strtoupper($string, “utf-8″);


Backup and restore MySQL tables/database

If you have a lagre database that you will take backup on you might find it hard to do so with example phpmyadmin. MySQL made commando for this so you easy can do this in your terminal on both Windows and Linux. I will first go with Linux. OBS: The commando are the same for [...]


FTP server Ubuntu with graphic

GproFTPD is a good graphic based FTP server for Ubuntu. For install simpley type:
sudo apt-get update
sudo apt-get install gproftpd.
After installation just start the program by: sudo gproftpd and setup your FTP server and users.


Unexpected end of mysql – EasyPHP

When I was running EasyPHP on my Vista machine I got error:
unexpected end of mysql
To solve this just quit easyPHP and then right click on easyphp.exe and run as administrator. Hope it helped. Dident find this trick on google so perhaps you did
Good luck!


Skype in your Nokia N97

Now I finally got my new Nokia N97 and I really like this “little” phone! But since I am as you already know a huge fan of Skype I just had to install it on my new phone. But skype have not yet created a offical version of Skype to Nokia N97 so I decide [...]


Skype on Ubuntu, Linux

I just have to thanks skype that they made a version for Ubuntu. Its very importent to me since I am support on telephone by skype daily and need it to run, and ofcourse work… The sad thing about skype on Ubuntu is that it is not that developed as it is on Windows. Perhaps [...]


Skype on Ipod touch

I have just discovered that you can use Skype to your Ipod touch, and ofcource you have to buy a microphone to it. But since I never tried it I am interested in what you, visitor, have for experience of this. Is there any microphone that you can recommend to me? Do it work with [...]


Add printer in Ubuntu, Linux

Little tips how to add network or regular printer to Ubuntu. Go to System>Admin>Printers.
Then New > Printer. Here you choose if you have a network or regular (ex USB). If you have network just enter the IP address and then serch. After you have to select printer for install drivers. All mine networks printer have [...]


Install font in Ubuntu, Linux

This is how i did when i needed to add some windows fonts under Ubuntu.
Go to your home folder, filesystem > home > yourusername.
Now show hidden files and folders by press: ctrl+h
Look for .fonts, if its not exist just make a new folder with name: .fonts
Just drag your ttf files into this folder. If you [...]


.local domain message Ubuntu, Linux

I was getting a message when i connected to my wireless network that said I hade .local domain thats not recommended. To get this dissapere I just wrote this two command into the terminal and rebooted. After that it worked fine:
sudo sed -i -e’/AVAHI_DAEMON_DETECT_LOCAL/s/1/0/’ /etc/default/avahi-daemon
sudo service avahi-daemon start
Did see it on: http://ubuntu-se.org/phpBB3/viewtopic.php?f=17&t=41977&hilit=dom%C3%A4n#p340853
Thanks!