I am developping an online photo database (with php and mysql), and I have a download function and an upload function. The download function works like a charm, it's also not hard at al to download a file from a server.
I was just wondering if it is possible (in php) to recieve a file, but not with the usual html form where you select a file.
E.G. If I want to upload the file "Photo.png", the software converts the image to a base64 string, and than sends it to the php script save.php?base=[BASE64]&&filename=[FILENAME]
How would I make the script reconvert that string into an Photo.png and then save it into the folder /img/?
Thank you in advance, Caspar.