Jump to content

Php Question


z3r01

Recommended Posts

so heres my question. im trying to get my ideas straight before starting a project. i dont know anything about php (which is why im here asking)

 

im not sure if this is the place to ask but here we go:

 

i am in the process of creating an app where 4 users are joined together in a session, then ,one user records a small 1 minute audio. once finished , this audio file gets shared to 3 other people logged in. 2 of the other users rate the uploaded audio, then the last user is able to repeat the process of uploading an audio.

 

is this done with php or with something else. (not the app but the actual exchange of audio and session)

 

phone_idea.gif

Link to comment
https://forums.phpfreaks.com/topic/269172-php-question/
Share on other sites

You could handle receiving the uploaded audio data and distribution of it to the other users using PHP. In order to actually capture the audio from the user and then upload it you will need something else though. Flash or Java should be able to handle that part.

 

So the overall process would be something like

1-Record the audio using a Flash/Java program

2-Have flash/java POST the captured audio to a PHP script

3-Have your PHP script accept the audio data and save it somewhere, either a file or database

4-Your other users would have to be constantly polling the server to find out if audio has been uploaded. When it has, download it for them to listen to. This can be handled via AJAX and a PHP script.

 

Link to comment
https://forums.phpfreaks.com/topic/269172-php-question/#findComment-1383311
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.