php3-list | 199908
Date: 08/30/99
- Next message: Chris Fry: "Re: [PHP3] saving files on another server"
- Previous message: Elton Machado: "[PHP3] PWS/WIN98 Vs. PHP3 / Mysql .txt impory"
- In reply to: Jak: "[PHP3] saving files on another server"
- Next in thread: Chris Fry: "Re: [PHP3] saving files on another server"
- Reply: Chris Fry: "Re: [PHP3] saving files on another server"
- Reply: Rasmus Lerdorf: "Re: [PHP3] saving files on another server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'll try to explain this a little bit more ....
the php3 scripts and pages stay on server A (the one w/ little space, but
good support)
the files will stay on server B (the 500 mb server, w/ lots of space and
little support)
The scripts need to be able to create/delete/rename files (audio files) on
server B ...
What I thought (tell me if I'm wrong or there's a better solution):
users upload files on server A, where the scripts are. No problem w/ this
...
then file names get passed to a cgi on server B that goes pickup the files
from server A and saves them on server B. (this way I can do all the
modification at file names, file checking etc. w/ no problem on server A).
the script on server A verifies that files have been uploaded to B and then
deletes files from A.
(files would be around 100k)
This sounds messy, I know, but I couldn't come up w/ anything best, and
worse of all, I still gotta realize the bridge part and the cgi ...
Any suggestions?
"Jak" ha scritto nel messaggio <7q72sk$1vm$1 <email protected>>...
>Hello, thanks to the help of the newsgroup and the ppl at my new hosting
>company, I've managed to use php3 to create files, dirs, etc at on my
actual
>hosted space.
>
>I still have thus 500 megs of space on another hosting server, which I
would
>like files uploaded from a form (a phpcgi one w/ right userID and file
>permissions) that resides on the new server to go to the old (500 mb)
>server. I know this sounds schizophrenic, and maybe it is ...
>
>Do you think such a configuration would be possible?
>
>Just to hint a solution (don't know if this would work), would it be
>possible for the php script to ftp the other server w/ user and password
and
>create/delete/rename the files over there?
>So the files that go to the temp directory get moved to the other server
>before being deleted?
>
>Thanks to all that will reply.
>
>Jak
>
>
>
>
>--
>PHP 3 Mailing List <http://www.php.net/>
>To unsubscribe, send an empty message to php3-unsubscribe <email protected>
>To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
>To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Fry: "Re: [PHP3] saving files on another server"
- Previous message: Elton Machado: "[PHP3] PWS/WIN98 Vs. PHP3 / Mysql .txt impory"
- In reply to: Jak: "[PHP3] saving files on another server"
- Next in thread: Chris Fry: "Re: [PHP3] saving files on another server"
- Reply: Chris Fry: "Re: [PHP3] saving files on another server"
- Reply: Rasmus Lerdorf: "Re: [PHP3] saving files on another server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

