RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)

From: Date: Mon, 11 Aug 2008 17:11:24 +0000
Subject: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.general 
Request: Send a blank email to php-general+get-277975@lists.php.net to get a copy of this message
At 6:33 PM +0200 8/11/08, Per Jessen wrote:
Boyd, Todd M. wrote:
I had to use Java for the simple fact that PHP by itself cannot access the local file system in a way that allows for the partial loading of files.
Given that PHP doesn't run on the client, there is no way for anything written in PHP to access anything on the client.
-snip- Todd, I just wanted to stress that there is NO way for PHP to access anything on the client. The way you wrote it, you sort of implied that there might be other ways: "PHP by itself cannot access the local file system in a way that allows ..." That's all.
The above is saying two different things. 1). "PHP by itself cannot access the local file system" <-- true. 2) "... there is NO way for PHP to access anything on the client." <-- not true. Javascript can access some stuff on the client <-- true. Javascript and php can communicate <-- also true. Therefore, anything that javascript can access can be provided to php, thus proving [2] wrong. Now, if I'm wrong, please show me something that javascript can get that can't be provided to php. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#277975) next »