Martz
12-28-2001, 05:32 PM
I'm trying to work out the best way to store and read attachments from another server / mySQL database.
My first thoughts are to:
make attachement.config.php for the remote server info
require it in the /attachment.php
change $DB_site to $ATT_site (which is defined in attachment.config.php)
Does this sound feasbile or an I wasting my time? My reasons for this hack is because attachments take up lots of space, and I need them to remain secure with permissions checking. I am currently hosted on shared (empty but for me) server which limits the mySQL size to 200mb. I use 140mb in attachments! I have access to another mySQL database which is unlimited but hosted on a slower server.
Thanks in advance for any help, hints or suggestions. :)
My first thoughts are to:
make attachement.config.php for the remote server info
require it in the /attachment.php
change $DB_site to $ATT_site (which is defined in attachment.config.php)
Does this sound feasbile or an I wasting my time? My reasons for this hack is because attachments take up lots of space, and I need them to remain secure with permissions checking. I am currently hosted on shared (empty but for me) server which limits the mySQL size to 200mb. I use 140mb in attachments! I have access to another mySQL database which is unlimited but hosted on a slower server.
Thanks in advance for any help, hints or suggestions. :)