FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » checking for audio playing ???
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: checking for audio playing ??? [message #183491 is a reply to message #183489] Mon, 28 October 2013 12:11 Go to previous messageGo to previous message
Richard Damon is currently offline  Richard Damon
Messages: 58
Registered: August 2011
Karma:
Member
On 10/27/13, 10:22 PM, Thomas 'PointedEars' Lahn wrote:
> Richard Damon wrote:
>
>> […] The one thing that is fairly certain is that the
>> player will almost certainly NOT be written in PHP,
>
> That much is true.
>
>> as PHP is normally a server side language, and few clients will understand
>> it.
>
> A common misconception. *No* programming language is “normally” either
> “server-side” or “client-side”.
>
>
> PointedEars
>

Clearly a falsehood. I would expect that at least 95% of PHP executions
are done via mod-php or php-cgi in response to a http request, and thus
be a "server side" operation. Yes, there are some invocations via cli
doing local calculations, which would be neither server or client side.
There are a few (comparatively) invocations of PHP scripts that will go
out and make a http request to another page, and these could be
considered "client side" if executed via cli, and are somewhat ambiguous
if executed via mod-php or php-cgi (they are doing both sorts of
actions, but since it is being done in response to an incoming request,
this would normally be considered "server side")

I know of no situation (but I suppose it is conceivable) where a user
browser downloads a page, which contains "client side" PHP code, fires
up a PHP interpreter, runs that code and gives the results to the user.
This is what MOST people would think of a "client side" language, and it
doesn't happen. Thus PHP in normally (not exclusively, as the cli script
that accesses an external page is arguably a client side action, but
relatively unusual) a server side language.

In the same way most EMCAScripts (commonly called javascript) are run
within a user browser, even if there does exist some other usages that
might be considered "server side", so it would be a language that is
normally client side.

Note that "normal" does not mean exclusively, but only means in most
common usage.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: There is some confusion on my site I should clear up
Next Topic: accessing nested unknown unserialized objects
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 22:44:35 GMT 2024

Total time taken to generate the page: 0.04175 seconds