Mac에서 간단한 PHP 파일 업로드 예제가 작동하지 않습니다. 내가 파일 크기 모든 설정을 ACL 문제 또는 php.ini 파일에 대한 구글로 보았다 PHP 파일 업로드가 Mac에서 작동하지 않습니다.
<html>
<head>
<title>Process Uploaded File</title>
</head>
<body>
<?php
move_uploaded_file ($_FILES['uploadFile'] ['tmp_name'],
"uploads/{$_FILES['uploadFile'] ['name']}")
?>
</body>
</html>
로 하드 자바 개발자가 scrpting 언어
<html>
<head>
<title>File Upload Form</title>
</head>
<body>
This form allows you to upload a file to the server.<br>
<form action="getfile.php" enctype="multipart/form-data" method="post"><br>
Type (or select) Filename: <input type="file" name="uploadFile">
<input type="submit" value="Upload File">
</form>
</body>
</html>
와 오류를 확인하고 getfile.php 할 수있는 것은에 좋아 보인다 ACL에 관한 나를 은 php.ini의 설정에 대한 디렉토리 파일 업로드 크기의 PARAMS와는 50M 를 사용하여 확인하고 파일을 시도했다 100킬로바이트 이미지 파일 문서화하는 777 권한을 준
누구든지 Mac에서이 설정을 도와 줄 수 있습니까?
모든 사용자에게 변경은'는 error_reporting (E_ALL)을보고 수 있도록 오류를 시도'또는 오류를 얻기 위해 시도 캐치를 사용합니다. –