I'm trying to write a text file to the blob. I know i have to create a container and a blob. I need to write something like this:
$text = 'some text';
$myFile = "file.txt";
$fh = fopen($myFile, 'w') or die("can't open file c");
fwrite($fh, $json);
fclose($fh);
The question is I want to write this php script but using blob ( we dont have access to the file the system ) how can I do that?