| 
	
 | 
 Posted by Jerry Stuckle on 09/19/06 16:13 
noworriesci@gmail.com wrote: 
> Jerry Stuckle wrote: 
>  
>>noworriesci@gmail.com wrote: 
>> 
>>>Noodle wrote: 
>>> 
>>> 
>>>>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... 
>>> 
>>> 
>>>Thanks for answers, 
>>> 
>>>Yes they are hosted in two sepereted web server, second one which has 
>>>own web server does not put files on the Linux server, it stored on its 
>>>webservers directory, so different technology, i have to upload two 
>>>times that same file or i have to solve with php like this. (as i told 
>>>earlier) 
>>> 
>>>Thanks guys, 
>>> 
>>>I asked because if it's possible, we will hire a php coder.. 
>>> 
>> 
>>A lot of things are possible.  But just because it's possible in one 
>>language doesn't necessarily mean that's the best language. 
>> 
>>I agree with Noodle.  I'd just have a shell script to ftp the files to 
>>the second machine. 
>> 
>>-- 
>>================== 
>>Remove the "x" from my email address 
>>Jerry Stuckle 
>>JDS Computer Training Corp. 
>>jstucklex@attglobal.net 
>>================== 
>  
>  
> Sorry for my english, i could not explain in my second mail, i think.. 
>  
> It is impossible to copy files because of technical problems. I have to 
> upload, it does not have any solution except uploading.. 
>  
 
I'm not talking about copying.  I'm talking about ftp.  You do have ftp  
access to the other server, don't you? 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |