Help needed

S

sachin.friends

Hi I have following scenario.
I have 2 web servers A and B.
A need to have update information which is on B
A is server I am maintaining and I can only see the page hosted by B (
through browser)
I want to run some program that will daily read page hosted by B and
update A.
How do I do it?
 
S

Sisyphus

Hi I have following scenario.
I have 2 web servers A and B.
A need to have update information which is on B
A is server I am maintaining and I can only see the page hosted by B (
through browser)
I want to run some program that will daily read page hosted by B and
update A.
How do I do it?

I guess you need to download the page from server B (see 'perldoc
LWP::UserAgent') and parse that page using, perhaps,HTML::parser (see
'perldoc HTML::parser'). Then use the parsed info to modify a file on server
A.

Admittedly, the information I've provided is fairly basic. If you need more
info then post again.

Cheers,
Rob
 
T

Tad McClellan

Subject: Help needed


Subject needed.

Please put the subject of your article in the Subject of your article.

I want to run some program that will daily read page hosted by B and
update A.
How do I do it?


perldoc -q HTML

How do I fetch an HTML file?

How do I automate an HTML form submission?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,500
Latest member
ArianneJsb

Latest Threads

Top