Why did you take this job on if you couldn't fulfill the requirements in the first place? After a quick google search, I've seen the exact same question asked on stackoverflow - was that you? We're not going to do the work you can't do, for free.
I'm not sure this is possible in PHP - I don't think it has the capability.