Re: Writing a file from a Sub-Domain form to Upper Domain
| From: | Don Wieland | Date: | Wed, 20 Aug 2014 17:53:24 +0000 |
| Subject: | Re: Writing a file from a Sub-Domain form to Upper Domain | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323762@lists.php.net to get a copy of this message | ||
On Aug 20, 2014, at 10:49 AM, Stuart Dallas wrote:
> $directory = dirname(__FILE__).'../../../media/images/';
>
> And check the path in the error message is correct.
When i do this I get this error:
Warning:
move_uploaded_file(/home/rtsadven/public_html/wrightcheck/admin/resources/php../../../media/images/pic2.jpg):
failed to open stream: No such file or directory in
/home/rtsadven/public_html/wrightcheck/admin/resources/php/upload_image.php on line 40 Warning:
move_uploaded_file(): Unable to move '/tmp/php3buVDQ' to
'/home/rtsadven/public_html/wrightcheck/admin/resources/php../../../media/images/pic2.jpg'
in /home/rtsadven/public_html/wrightcheck/admin/resources/php/upload_image.php on line 40
???
Don Wieland
D W D a t a C o n c e p t s
~~~~~~~~~~~~~~~~~~~~~~~~~
donw@dwdataconcepts.com
http://www.dwdataconcepts.com
Direct Line - (949) 336-4828
SKYPE - skypename = dwdata
Integrated data solutions to fit your business needs.
Need assistance in dialing in your FileMaker solution? Check out our Developer Support Plan at:
http://www.dwdataconcepts.com/DevSup.php
Appointment 1.0v9 - Powerful Appointment Scheduling for FileMaker Pro 9 or higher
http://www.appointment10.com
For a quick overview -
http://www.appointment10.com/Appt10_Promo/Overview.html