working with blobs in a two-server setup

Hi everyone,

I have a two server setup (both debian stable) with apache and the
PHP engine on server1 and postgresql on server2. My application
should be able to store BLOBs in the database. In a test environment
where everything was running on a single server it was OK (I used
the ADBOdb lo functions there) but now I get into all sorts of
trouble: the database can't find the uploaded file, which makes
sense: it's in /tmp on server1! :-(

Does anyone know how I can handle this or have a pointer to a howto?

Thanks!




---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo [at] postgresql.org
Joolz [ Mi, 27 Oktober 2004 09:42 ] [ ID #450324 ]

Re: working with blobs in a two-server setup

Joolz wrote:

>Hi everyone,
>
>I have a two server setup (both debian stable) with apache and the
>PHP engine on server1 and postgresql on server2. My application
>should be able to store BLOBs in the database. In a test environment
>where everything was running on a single server it was OK (I used
>the ADBOdb lo functions there) but now I get into all sorts of
>trouble: the database can't find the uploaded file, which makes
>sense: it's in /tmp on server1! :-(
>
>Does anyone know how I can handle this or have a pointer to a howto?
>
>Thanks!
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo [at] postgresql.org
>
>
move the file to a location on server2?

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html
Justin Wyer [ Mi, 27 Oktober 2004 09:50 ] [ ID #450325 ]
Datenbanken » gmane.comp.db.postgresql.php » working with blobs in a two-server setup

Vorheriges Thema: Fw: working with blobs in a two-server setup
Nächstes Thema: Call to undefined function: pg_connect().