|
Posted by Jerry Stuckle on 01/02/08 01:57
Rik Wasmus wrote:
> On Wed, 02 Jan 2008 02:30:49 +0100, ashore <shoreas@gmail.com> wrote:
>
>> Guys, I dunno what this exchange is all about. Like PHP is a server-
>> land programming language, and XMLHttpRequest is a client-land
>> function, which communicates client-to-server. Which you guys all
>> know very well.
>>
>> It appears to me that the premise of the basic question is faulty, and
>> we oughtta ask Edward Hass to explain his question better. (Mebbe the
>> rest of you have figgered it out, but I sure ain't.)
>
> I only have Edward Hass's quote to go on, as I don't see the original
> post. From that, to me his 'in other words' was quite clear, and clearly
> something cURL could handle. The fact that an XMLHTTPRequest is the
> default way in javascript of getting information from another URL has
> little to do with it as far as I can tell. I grant you that I assume the
> OP knows PHP only works on the server, not the client.
Actually, XMLHTTPRequest has its own problems - like it can't get data
from a site other than the one it was loaded from. Unfortunately, IE6
and below don't enforce this restriction, but Firefox does.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|