Authenticating users with cURL

In this post I’ll explain how to log in a user with cURL. This can be useful if you want to integrate joomla login with an external app. For example, you could have a dual installation of wordpress and joomla and use wordpress joomla to log in joomla users as well.

Backing up all databases using mysqldump

In this post I’ll explain how I backup all databases in servers I work with. When you face trouble with those servers it’ll be pretty useful to have daily database dumps.

So, I use mysqldump utiliy to backup database and an script I wrote myself to transfer files, which you can find here.

Zipping and unzipping websites with php

Sometimes you need to work with only FTP access, and it takes a lot of time to backup a website through FTP because usually there are a lot of files and listing them is a long process. I made these php scripts to avoid wasting time when I only have FTP access. For example, when a mate wants to work on a website but he/she want to backup it up first just in case they break something. They use these scripts below:

Facebook sharer and IPv6 issue

Last week all facebook buttons on domains on ALL of our servers stopped working. I always got a 404 response when facebook crawler tried to visit our domains. This happened in our 2 dedicated servers from 1and1. At first, my mates were trying to figure out if it was a joomla issue, but they finally couldn’t solve it, so they asked me to investigate it. My first thought was: you got a 404? let’s check logs for those domains and we’ll see what happens for sure. I checked those files and I couldn’t see any 404 error, the visit wasn’t even logged. Shit happens.