Writing a file from a Sub-Domain form to Upper Domain
| From: | Don Wieland | Date: | Wed, 20 Aug 2014 17:13:06 +0000 |
| Subject: | Writing a file from a Sub-Domain form to Upper Domain | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323754@lists.php.net to get a copy of this message | ||
Morning folks,
I have a form/processing page in which I am trying to allow users to UPLOAD an image:
http://admin.wrightcheck.com/admin/resources/php/upload_image.php
and I want to use the "move_uploaded_file()" function to a folder in the upper main
domain:
http://www.wrightcheck.com/media/images/thefilename.jpg
So far all combination are not working. What is the best way to handle paths with such a routine?
Not sure if there is something in my ..httpaccess config that is not allowing this.
Thanks!
Don Wieland
D W D a t a C o n c e p t s