Reply to Re: PHP equivalent to XMLHtttpRequest functions

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация