I'm developing a php website that I have under subversion version
control. I'm working on an image upload functionality, and in the
middle of it I realized that any files that a user uploads will not be
under version control, and if I checkout or export the site from
version control, and deploy it, it won't bring any of the uploaded
files with it.
I'm looking at php subversion functions, but the manual says that
they're experimental, and my webhost hasn't deployed them.
What's a workaround for this? I'm thinking that I'll have to have a
parallel site for image hosting. For example, I'll have
images.website. com, hosted under a separate filesystem directory, and
then in the actual website that a user would peruse, any img src would
reference images.website. com . When I accept my uploads, I'll do my
filesystem copy to the images filesystem link.
Thoughts?
control. I'm working on an image upload functionality, and in the
middle of it I realized that any files that a user uploads will not be
under version control, and if I checkout or export the site from
version control, and deploy it, it won't bring any of the uploaded
files with it.
I'm looking at php subversion functions, but the manual says that
they're experimental, and my webhost hasn't deployed them.
What's a workaround for this? I'm thinking that I'll have to have a
parallel site for image hosting. For example, I'll have
images.website. com, hosted under a separate filesystem directory, and
then in the actual website that a user would peruse, any img src would
reference images.website. com . When I accept my uploads, I'll do my
filesystem copy to the images filesystem link.
Thoughts?
Comment