Hi, You must check this path is right: /usr/local/apache/htdocs/NEO.jpg If this path is right you must ask your system admin verify the write permissions
Create a new page in your root and put this code in the page:
<?php $pos = "0"; $path = @$_SERVER['DOCUMENT_ROOT']; if(strlen($path) == 0){ $pos = "1"; $path = @$HTTP_SERVER_VARS['DOCUMENT_ROOT']; } if(strlen($path) == 0){ $pos = "2"; $path = @$_SERVER['APPL_PHYSICAL_PATH']; } if(strlen($path) == 0 && isset($_SESSION)){ $pos = "3"; $path = @$_SESSION['SITE_ROOT']; } echo "realpath:" .realpath(".") ."<br>"; echo $pos ."-->" .$path; ?>
After send me a link to test
Gianluigi |
|
|