I am having trouble setting the correct path in the file/image edit as and view as entry box. I want to set a absolute path to a location on my C:\ drive. I have the absolute path check box checked and I have the correct path (I believe) "C:\xampp\htdocs\media". But when I submit the record in the Add screen, I am getting the following PHP error:
php error happened
Technical information
Error type 2
Error description move_uploaded_file(C:\xampp\htdocs\media/header2.png) [function.move-uploaded-file]: failed to open stream: No such file or directory
URL xxxxxx/media_add.php?
Error file /home/xxxxxxxxx/include/phpfunctions.php
Error line 570
SQL query insert into media
(mediaType, filename, title, bannerText, mediaActiveUser) values ('Text', 'header2.png', 'test file', 'check it', 1)
It looks to me like the code is placing a forward slash instead of a backslash when it is setting the directory it is trying to load the file to...C:\xampp\htdocs\media/header2.png
Does anyone know how to fix this so that the file will load properly to a folder on my C drive?
Thanks