Hi every body,
Sorry for my english, i'm french
i would like to install a video recorder on my web site.
So i installed java and wowza on a redhat server. All my tests are OK for the moment.
but i would to do something, and i don't know the best way to do it :
If the ID of the member who do the video is 115, il would like that the name of the file is : video_115.flv, and copy / paste this video in the folder usr/local/wowza/content/videoRecorder/500
if the ID of the member is 800 : usr/local/wowza/content/videoRecorder/1000
to determine the name of the folder : floor(ID of the member / 500) * 500
i make this calcul to keep my server clean.
But i need 2 things :
how can i get the ID of my member ?
how can i do a "mkdir" if the folder don't exist and modify their chmod ?
Thank for alle