Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: [OT] Update data file on accessing sound file

by jonnyfolk (Vicar)
on May 08, 2010 at 17:48 UTC ( #839039=note: print w/ replies, xml ) Need Help??


in reply to Re: [OT] Update data file on accessing sound file
in thread [OT] Update data file on accessing sound file

If it was a question about the iphone that would indeed be a good thing to do. However it's a question about updating files on a server, of which there is much expertise on this forum...


Comment on Re^2: [OT] Update data file on accessing sound file
Re^3: [OT] Update data file on accessing sound file
by Anonymous Monk on May 09, 2010 at 15:08 UTC
    iphone won't directly play an embedded sound file.

    Iphone is a kind of server?

      Obviously you have missed the point of the original question,which indicates that I have expressed it badly. iPhone I guess is a bit of a red herring. Let's forget about the iPhone

      By embedding a sound file into an html web page, I can create a script which updates a data file elsewhere on the (Apache) server, page is published and the sound file plays automatically.

      My question is, if the sound file is accessed directly is there a way that I can register that access and update my data file accordingly?

        Um, so you're asking if you can trigger some action based on access? There might be other web server options, but the basic options are to have your cgi program serve the file (but do it smart, Content-Length/Content-Range ...) or you can parse your webserver log files.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839039]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2014-12-22 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls