|
Posted by Noodle on 09/19/06 08:01
noworriesci@gmail.com wrote:
> Hi,
>
> I just wonder that can i do this in php ? :
>
> I have 2 app. One of them open source php app., other one is different
> app. which has own web server.(in different language)
>
> Both of them have user authentication and file upload system.
>
> I want to integrate their upload systems. So, for example, i logged
> into the php system, i clicked upload link, i browsed file from my
> computer then i uploaded that file. I just want upload same file into
> other app.. So when i upload that file, it should be logged into the
> other system (with same username and password, or i can put these
> information into the php code) and it should upload same file to the
> other system.. Is it possible in the php ?
>
> Hopefully it was clear..
>
> Thanks,
Are the two web servers on the same machine, or have a common shared
drive? If so, you could point both the app's at a common upload
directory?! Otherwise you could do some php (or shell) scripting to ftp
files between directories and get it to sync whenever a file is
uploaded, or use a cron job every hour etc...
Navigation:
[Reply to this message]
|