Re: Re: PUT vs. POST (was: php File upload)
| From: | Per Jessen | Date: | Sat, 09 Aug 2008 18:20:18 +0000 |
| Subject: | Re: Re: PUT vs. POST (was: php File upload) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277938@lists.php.net to get a copy of this message | ||
tedd wrote:
> At 3:50 PM +0100 8/9/08, Richard Heyes wrote:
>> > Given that PHP doesn't run on the client, there is no way for
>> > anything
>>> written in PHP to access anything on the client.
>>
>>Wouldn't it be fun though if it could? :-)
>>
>>--
>>Richard Heyes
>
> In a round about way it can, but it's limited.
>
No, it cannot.
> You see, anything that javascript can discover can be passed to php.
> The limits are those limits imposed on javascript.
Ah, so you mean that _javascript_ can access something on the client -
very true, but javascript!=PHP.
Of course PHP can do all sorts if you combine it with javascript, black
magic, or what have you, but PHP alone is a server side scripting
language, nothing more nor less.
/Per Jessen, Zürich