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

Posted by linda on 11/04/06 14:21

Can anyone suggest a way of doing this, or if it is even possible. I have
found lots of information on file uploads through php, but can't find any
that state whether it is possible to upload to a different address from the
one where the upload form is on.

Best wishes,
Linda

"linda" <n0spamF0rme@tiscali.co.uk> wrote in message
news:454c0154$1_4@mk-nntp-2.news.uk.tiscali.com...
> 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

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