470,811 Members | 1,266 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

[Q] How to automating data retreival from another server?

Hi,

I am new to WEB design (and Javascript programming in particular) so I
apologize if this is already a FAQ. Anyway, I need to retrieve data
available on another server (and then incorporate it into my PHP-managed
database). The data is available to client browsers as a comma or tab
delimited list. My sense is that this is problem best solved using a
client-side technology, like Javascript.

I would be grateful for any pointers/references/snippets, etc. If my
assumptions are wrong, please point me in the right direction.

Thanks,

Michael

Jul 20 '05 #1
2 1081


Michael T. Peterson wrote:

I am new to WEB design (and Javascript programming in particular) so I
apologize if this is already a FAQ. Anyway, I need to retrieve data
available on another server (and then incorporate it into my PHP-managed
database). The data is available to client browsers as a comma or tab
delimited list. My sense is that this is problem best solved using a
client-side technology, like Javascript.


If you have PHP on the server then read in the data from the other
server with PHP.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
Michael T. Peterson wrote:
Hi,

I am new to WEB design (and Javascript programming in particular) so I
apologize if this is already a FAQ. Anyway, I need to retrieve data
available on another server (and then incorporate it into my PHP-managed
database). The data is available to client browsers as a comma or tab
delimited list. My sense is that this is problem best solved using a
client-side technology, like Javascript.

I would be grateful for any pointers/references/snippets, etc. If my
assumptions are wrong, please point me in the right direction.

Thanks,

Michael


There are soooooo many ways to do this, and the best solution depends on
your system limitations.

1. You can use Javascript on the client side, with HTA or some other
security bypassing technology
2. You can write a client-side capture program in any language that
sends it back to the server
3. You can write something directly on the server in any language
4. You can run a client on the server that gets the info and talks on
your server as well.
5. You can parse the web page with something like tidylib
....

Unfortunately, I know of no out-of-the-box solution. What you make will
need to be home-grown, and dependant on the system you are extracting
data from. They change their interface, or underlying HTML code, and
you could be in an instant mess.

Brian

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Jerry Weinstein | last post: by
4 posts views Thread by James Johnson | last post: by
4 posts views Thread by Supa Hoopsa | last post: by
2 posts views Thread by Dave | last post: by
4 posts views Thread by danielduq | last post: by
6 posts views Thread by =?Utf-8?B?QWRyaWFuIEpvbmVz?= | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.