|
Posted by linda on 11/04/06 02:55
Is it possible to upload an image file to a different web address? The
reason I ask is that I have set the admin side of my partners business
address to a sub domain.
So it's like this:
Main site that customers view
www.webaddress.co.uk
Admin address
admin.webaddress.co.uk
The admin address is password protected using .htaccess, and on the main
site the folder that contains the db_connect.php is in a folder that's
protect again with .htaccess, but this time it's set to only allow from my
domain. So I can include it in the files, but it's not possible to enter
the folder direct or view it. I would like to be able to upload image files
to the main address from the admin site, is it possible. I have a working
upload page but it will only upload to the admin address. If I try to
change it to the www address I get errors and it wont work.
Any ideas?
Many thanks as always,
Linda
Navigation:
[Reply to this message]
|