PHP file transfer and Output Question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
spec36
Forum Commoner
Posts: 28
Joined: Thu Nov 19, 2009 6:07 pm

PHP file transfer and Output Question

Post by spec36 »

Let's say there is a server tools.mydomain.com and another server at tools.doamin2.com. I want to be able to move a few text files from server #1 "tools.mydomain.com" to a folder on server #2 "tools.domain2.com". Once the text files are on server #2 I want to read them with php and show the output on a webpage.

Do you guys and gals think this would be the best way to do this? or would I be better to just write a script that resides on server#2 that can read the files on server#1 and display them to the screen? Any suggestions would be much appreciated.

Just looking for some information on what would be the best way to do this. Any help is greatly appeciated.

Thank You,

--Spec36
Post Reply