1 drupal.inc drupal_base64_encode($string)

Returns a URL-safe, base64 encoded version of the supplied string.

Deprecated

since 1.0.0

See also

backdrop_base64_encode()

Related topics

File

core/includes/drupal.inc, line 276
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_base64_encode($string) {
  return backdrop_base64_encode($string);
}