RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
-Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2008 9:09 AM To: php-general@lists.php.net Subject: RE: [PHP] Re: PUT vs. POST (was: php File upload) 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. Gee.. I get the feeling that you didn't read what I wrote in that post. PHP can't access client stuff. No, PHP _CAN'T_ access client stuff! Um... kay? Todd Boyd Web Programmer
RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
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. Gee.. I get the feeling that you didn't read what I wrote in that post. PHP can't access client stuff. No, PHP _CAN'T_ access client stuff! Um... kay? 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. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
tedd wrote: 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. Statement 2 _is_ 100% true. Sorry, end of discussion for my part. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
-Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 1:17 PM To: php-general@lists.php.net Subject: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload) tedd wrote: 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. Statement 2 _is_ 100% true. Sorry, end of discussion for my part. I think there is a difference in definition going on here. An object in the local filesystem (though not the original copy of it, but a facsimile rendered through Javascript) can be accessed from PHP, though not in its original form, but wrapped in an AJAX request--or hidden INPUT tag, etc. (in the form of encoded text)--and then manipulated. That's what I *MEANT* to say. :P Todd Boyd Web Programmer
RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
At 8:17 PM +0200 8/11/08, Per Jessen wrote: tedd wrote: 2) ... there is NO way for PHP to access anything on the client. -- not true. Statement 2 _is_ 100% true. Sorry, end of discussion for my part. /Per Jessen, Zürich Per Jessen: I am sure you are smarter than this -- you're probably not understanding what I am saying. I write code daily that communicates between javascript and php. As such, data that is on the client-side can passed to the server-side effortlessly -- javascript does that very well and if you don't want to entertain a refresh, you can even use ajax. PHP can even write javascript to do this and sit waiting for a reply back -- it's simply a matter of timing. Here's an example of php and javascript playing well together: http://webbytedd.com/b/timed-php/ Are you saying that this is not possible? I think not -- I think one of us is not understanding what the other is saying -- which is it? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] Re: PUT vs. POST (was: php File upload)
On 8/11/08, tedd [EMAIL PROTECTED] wrote: Per Jessen: I am sure you are smarter than this -- you're probably not understanding what I am saying. No, Per is correct. PHP itself cannot access anything on the client. It is a server-parsed language. The client never executes PHP, period. Javascript, other applets, etc. can *inform* or push information to PHP about the client or files on the client, but PHP itself has no idea what is going on other than $_SERVER, $_COOKIE vars and whatnot identifying the browser. That's all it gets without something else helping it, and that is still not -PHP- itself. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)
At 2:07 PM -0500 8/11/08, Boyd, Todd M. wrote: I think there is a difference in definition going on here. -snip- Todd: I think you are right -- there must be some type of disconnect going on here because it's obvious that php can receive data from javascript. It's also obvious that javascript works client-side. Therefore, php can receive data from client-side -- to claim otherwise is nonsense. Per Jessen must be talking about something else. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] Re: PUT vs. POST (was: php File upload)
At 12:19 PM -0700 8/11/08, mike wrote: On 8/11/08, tedd [EMAIL PROTECTED] wrote: Per Jessen: I am sure you are smarter than this -- you're probably not understanding what I am saying. No, Per is correct. PHP itself cannot access anything on the client. It is a server-parsed language. The client never executes PHP, period. Javascript, other applets, etc. can *inform* or push information to PHP about the client or files on the client, but PHP itself has no idea what is going on other than $_SERVER, $_COOKIE vars and whatnot identifying the browser. That's all it gets without something else helping it, and that is still not -PHP- itself. Arrrggg!!! Read! I said: 1). PHP by itself cannot access the local file system -- true. Now, do you agree with that?! Isn't that the SAME as what you said above?! Now, why not read the rest of what I wrote? Sometimes it's hard to get an idea across because some people refuse to read, but love to comment about the obvious. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] Re: PUT vs. POST (was: php File upload)
On 8/11/08, tedd [EMAIL PROTECTED] wrote: Now, do you agree with that?! Isn't that the SAME as what you said above?! Now, why not read the rest of what I wrote? Sometimes it's hard to get an idea across because some people refuse to read, but love to comment about the obvious. Or this conversation has become a hassle to pay attention to and I'm not going to waste time since gmail has compressed all the common text on each conversation trying to flip through it. Originally this was a decent idea for discussion since this interests me, but the thread has been hijacked into a semantics discussion now. So I decided I've seen enough of this back and forth and posted something. I therefore request we stop this discussion or put it into another thread about PHP vs. clientside crap, and let POST vs. PUT resume discussion if that's even still alive. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php