Hi,
I have developed a PHP/MySQL application which all files and the database are in an Apache server (call this server A). Users need to login before gaining any access. I use HTTPS/Session to protect my site.
In the application, there is a function called "file sharing". Basically, that means users can upload files to and download files from this area. However, all the uploaded files need to be stored in another server - server B (IIS, I have full control).
How to connect these 2 servers together? I need to display the list of file from server B. Server A doesn't provide any ftp function for PHP.
One simple solution is to implement the "file sharing" function in ASP. But the problem is the users need to login again if they go to this region, they have login once before entering the member area, right? (I know this problem can be avoid by using hidden field, but this solution is not secure) But my boss doesn't want double login.
So how to solve this problem?
Thanks in advance.