php script to decode multiple chunks of base64 encoded text in a text file

I need a few lines of code to help with decoding base64 email messages. I have the messages saved and I can deal with text/html messages no problems at all. But I have some coming thru from clients that has chunks of the message encoded with base64. I can easily find the first chunck and decode it, but that often does not have the text I want. What I need is a script that will find all chunks of base64 encoded text so I can decode, grab out the data that I want and move on. The Chunk starts with "Content-Transfer-Encoding: base64" and ends with "==". The data will just be used in a variable, it doesn't need to be saved or made pretty. Please advise how much to help me out.

Skills: PHP

See more: subtitles xml file php melody script, large file php upload script, flat file php search script, script copy multiple text, script checks multiple text files matches, script import multiple text files spreadsheet, flat file php news script, mail file attachment wav file php script, php process script attached file, php script read emails text file, upload multiple files using php java script, upload file php mysql script, php file upload mysql script, script upload big file php

About the Employer:
( 6 reviews ) Ballajura, Australia

Project ID: #12181917

Awarded to:


Hi, how are you If you are interested I can help with this project and I can do right now If you agree send me a message Thanks for your time

$100 AUD in 0 days
(33 Reviews)

13 freelancers are bidding on average $121 for this job


hello dear i have a great skills in php framewroks and wp cms and its customization and wp plugin customization followings are few urls which i hade made and run successfully [url removed, login to view] webgenius More

$155 AUD in 3 days
(3 Reviews)

Hi, Hope you are doing well. I can understand your Project requirement Like you need php script to decode multiple chunks of base64 encoded text in a text file.I have good experience in this field which can eas More

$155 AUD in 3 days
(25 Reviews)

Hello, I would like to help you figure out that problem with text coded. Please take a look on my profile and check my reviews. Would you like to chat? Thanks, Bartek

$100 AUD in 1 day
(33 Reviews)

Hi, I’m interested in the task you posted. I have been a working as php Developer, YII2 for 5 years, and am very familiar with it. Below are my expertise’s • PHP • YII2 • Zen cart • wordpress • Website scra More

$55 AUD in 3 days
(37 Reviews)

We are an in house team of PROFESSIONALS who always look to produce their best. Our goal is to provide effective web solutions that are focused on reducing your costs and adding to your bottom line. We have been provid More

$155 AUD in 3 days
(1 Review)

we have very good experience developer in php we will finished your task as soon as possible

$188 AUD in 2 days
(42 Reviews)

Dear honorable sir, I am a freelancer and one of the web developers whom you can trust here and have completed over hundred projects successfully with your blessing. and my account is new but I am not a new develo More

$222 AUD in 10 days
(0 Reviews)

A proposal has not yet been provided

$100 AUD in 1 day
(200 Reviews)

Hello! My name is Alexander and I am an european programmer with a 6 years experience in web and mobile desktop aplications development of any grade. In case your offer is still avalable I would like to discus with yo More

$45 AUD in 2 days
(4 Reviews)

hi Little About me I am a php developer with exp in many frameworks(codeigniter/laravel etc..) and many php cms. I am also a plugin developer for wp and can customise all kind of plugins and themes including complic More

$133 AUD in 1 day
(26 Reviews)

Hello, Is this multiple separate chunks of base64 data in the same text chunk mixed with non-encoded data or is it separated? Basically trying to get an idea how much work is needed to separate the base64 data out. More

$83 AUD in 3 days
(67 Reviews)

I have been in this industry for 2 years and such jobs are my daily practice. This is my first time on this site and hence you can see that I do not have any ratings/testimonials to show you. I can assure you that if y More

$88 AUD in 1 day
(31 Reviews)