* mercoledì 17 gennaio 2007, alle 09:04, Cliff Wells wrote :
Antonio,

I did a very similar thing (storing largish PDF's) in PostgreSQL and
what I did was write an external C program that I let be called as a
CGI.  Although this approach seems slightly kludgy, it works well for a
few reasons:

Basically I used this by wrapping it in a simple Python CGI (although
the ultimate goal was to make it directly callable from a CGI request
w/o any wrapper at all).  If you end up doing it this way, then you'll
want to figure out a way to prevent unauthorized users from accessing it
(either via HTTP AUTH or perhaps even by using one of the deep-link
preventing features of your webserver if it has them).

Hope this gives you a starting point.

tanks a lot ... I take a look to libpq ;-)))

bye ...

--
#include <stdio.h>
int main(void){char c[]={10,65,110,116,111,110,105,111,32,98,97,114,98,111,110,
101,32,60,104,105,110,100,101,109,105,116,64,116,105,115,99,97,108,105,110,101,
116,46,105,116,62,10,10,0};printf("%s",c);return 0;}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to