Jump to content
Sign in to follow this  
LOULOU

CHUNK_SPLIT and Base64_Encode

Recommended Posts

LOULOU

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

Share this post


Link to post
Share on other sites
seandisanti

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....

Share this post


Link to post
Share on other sites
LOULOU

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

Share this post


Link to post
Share on other sites
seandisanti

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.

Share this post


Link to post
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
Sign in to follow this  

×