Use PHP for this instead. This might help: https://stackoverflow.com/questions/...base-using-php