I have a system where the customer can enter details and a zip file is sent to them afterwards with only part of the php code encrypted. This encryped code does not require any other file to decrypt it.
My script used to do this by posting to the php code to a web-based obfuscator [url removed, login to view] and then it replaced the php code segment with the result of the web-based obfuscator before it zipped it up and emailed it to the customer.
However, the web-based obfuscator no longer exists, the site is down...maybe permanently.
So what I would like ideally is for someone to write a php function where I can pass in the code segment as a parameter and it returns obfuscated code. All whitespace, comments removed, all strings obfuscated also, so that they are not readable at all. I don't expect you to write it from scratch...this is a low budget project, I'd rather you used something that already exists and package it to meet my requirements.