I'll bookmark that but not what I'm looking for this time.
My code is does the following
- Encode news
- Upload to Flash Streaming server
- Overwrite last news
- Change date by making site.com/admin/updatedate?news=bbcmonday&newdate=090609
The program can move the file, but it cannot write to the mysql database, so I have to make the website do it but only once the program is finished encoding.
Many thanks. Will be using the code from your first link