Re: How can i know the propery of a javascript object how can i see what object inclue [message #178941 is a reply to message #178933] |
Sun, 26 August 2012 21:59 |
Tim Streater
Messages: 328 Registered: September 2010
Karma:
|
Senior Member |
|
|
In article <k1dkaq$5k3$1(at)speranza(dot)aioe(dot)org>,
Christoph Becker <cmbecker69(at)gmx(dot)de> wrote:
> Peter H. Coffin wrote:
>> On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
>>> Jerry Stuckle wrote:
>>>> ROFLMAO! "Pointed Head" shows his stoopidity once again.
>>> ^^^^^^^^^^^^
>>> Who? ;-)
>>>>
>>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>>
>>> I'm actually no "great one", but I can answer this question: at least on
>>> all browsers, which implement the NPAPI. I'm not aware of any
>>> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>>>
>>>> And how many servers are actually running Javascript?
>>>
>>> That's not the point. You've said "PHP runs on the server; Javascript
>>> runs on the client", what might be easily lead to the wrong assumption,
>>> that "Javascript" can't run on the server.
>>
>> Perhaps this would be better phrased as "generally doesn't" rather than
>> as "theoretically could, if someone were to write and install
>> special-purpose code in order to do so." The point of the vast majoritiy
>> fo the discussion here is (aside from the nits that pointy Tommy
>> and a couple others try to pick) is whether something can be done
>> for/with J. Random Browser, using a typical load or something someone
>> could reasonably make into a requirement to us a web app.
>>
>>>> And how can PHP see what objects are included in Javascript?
>>>
>>> Actually it can't. But Thomas didn't say so (please note the carets,
>>> which might not be aligned properly in the news reader, but are so in
>>> the source code of the message).
>>
>> That was the point of the original post, to which Jerry said "no, it
>> can't" and Thomas said "It sure can!" and linked to something that
>> didn't do that.
>
> Thomas didn't say: "it sure can". Please see his caret markers: these
> clearly indicate, that he regards only the statement "PHP runs on the
> server; Javascript runs on the browser" as wrong. I'm not sure, though,
> what he meant with "on two accounts" as he set 3 markers.
>
> The hint about FirePHP was an addition to Robert, who pointed out the
> developer tools of the browsers (FireBug etc.) And it was quite valuable
> (at least for me), as I didn't know that there's a port to Chrome.
A port of what?
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
|
|
|