user3488027
user3488027

Reputation: 13

How to convert base64 to base128 in php

Can we convert base64 to base128 - and if we can, then how we will do it?

I convert images into base64 using this:

$con=file_get_contents('untitled.png');
$en=base64_encode($con);

How can I convert this to base128 ?

Upvotes: 1

Views: 2725

Answers (1)

GautamD31
GautamD31

Reputation: 28753

You can directly try like

require_once 'base128.php';
$en = encode($con);

For that you have to include the core file this.

Upvotes: 1

Related Questions