afreiday/php-waveform-png — Issue #1: Saving the generated image on the server
Author: gordyr
Created: 2011-12-23 13:09:17+00:00
State: open

Your script works beautifully. A genuinely great piece of work. I'm a front-end/UI designer meaning my backend knowledge is minimal at best.

I would like to modify your script to save the waveform.png onto the server and input it's url into a mysql database.

I currently have my own upload script which uploads MP3's, saves them to a folder and inserts the URL into the database. What I would like to do is incorporate your script into my own so that when the mp3 is uploaded, your script runs, generates a png, saves the file to server and then finally adds the url of the mp3 file and the url of the waveform.png to the database.

I'm a little lost with how to go about saving the waveform to the server and returning th url that waveform as a variable. So that my own script can then insert the contents of that variable into the database.

Are there any pointers you could give me?

Many thanks

-