Jump to content

simora

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

simora's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi requinix: That's what I thought also, but I've tried: $filename = ('./Collection_Posts/'.$file, base64_decode($uri)); Also $filename = file_put_contents('./Collection_Posts/'.$file, base64_decode($uri)); Also $filename = ./Collection_Posts/$file; Trying to echo the filename, I'm not getting anything.
  2. I am trying to get the actual filename so that I can attach it to an email. I tried echo $file; but its not giving me anything. Just a blank page. Here's the code that I' working with: $file = date('M-d-Y H:i A'). '.png'; $uri = substr($data,strpos($data,",")+1); file_put_contents('./Collection_Posts/'.$file, base64_decode($uri)); echo $file; exit;
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.