Completed

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

This project was successfully completed by rlo56467a9097547 for $100 AUD in a day.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $250 AUD
Completed In
1 day
Total Bids
17
Project Description

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online