You are here: file upload « All PHP « IT news, forums, messages
file upload

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация