Re: writing to fild on another server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





blackwater dev wrote:
I have a web server and an images server.  My web server doesn't have
enought space for the images, hence the images server. I have to download properties from a realty database hourly and the data goes in to a db on my webserver while the image needs to be taken from a MSSQL db and written to the images server as an actual .jpg or .gif file. Fopen, however, won't let
me write using the http protocol.  How can I open and write files between
servers?

Thanks!

Couple of options come to mind, and I'm sure there are many others...

Option 1: nfs mount / share your partition drive(s) on your web server.
Option 2: Write the files out locally and then have a backend process that moves them to the image server.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux