Jump to content

upload pic across domains


ohdang888

Recommended Posts

what is the server environment? 

 

easiest thing to do would be to write a script to sync the files that you trigger after an upload with either system(), exec(), or backticks, depending on what level of interaction verification you need.

 

if both hosts are linux, look into rsync.  Otherwise ftp is your best bet.  If it's not critical the servers are in real time sync, I'd just rsync each dir with a cron job.  even if you need it real time and do the transfer on a per-transaction basis, i would still have a cron job that runs every night or so to make sure the dirs are in sync.

 

if the directory you are using to hold the images is locked down, and you take sufficient precautions, I don't see this being a security risk at all.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.