Hey guys I'm sending a base64 audio encoded file to my server to decode and save but every time I decode it I get an empty audio file that won't play. Anyone have any idea whats going on?
file_put_contents($fileName, base64_decode($file));
Thanks.
Hey guys I'm sending a base64 audio encoded file to my server to decode and save but every time I decode it I get an empty audio file that won't play. Anyone have any idea whats going on?
file_put_contents($fileName, base64_decode($file));
Thanks.