Jump to content

CHUNK_SPLIT and Base64_Encode


 Share

Recommended Posts

Which one can help me to converse this instruction in autoit instruction

# formate $data avec la sémantique RFC 2045

$new_string = chunk_split(base64_encode($data));

?>

Thanks in advance

well if you have a function named base64_encode that performs the same as the one in the example and a function named chunk_split that met the same criteria, you'd just have to remove the semicolon at the end for it to be correct syntax wise. as far as converting those two functions, we'd need some info on the instructions in each of those functiosn to convert that....
Link to comment
Share on other sites

Which one can help me to converse this instruction in autoit instruction

# formate $data avec la sémantique RFC 2045

$new_string = chunk_split(base64_encode($data));

?>

Thanks in advance

chunk_split --> Split a string into smaller chunks

base64_encode = encode a string in Base64

Link to comment
Share on other sites

chunk_split --> Split a string into smaller chunks

base64_encode = encode a string in Base64

ok, then you could replace chunk_split with StringSplit() kind of figured on that one). as far as the base 64 encode, i'd need the algo to convert to autoit, let me do a little research for you.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...