faq:uploadcontentcheck
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
faq:uploadcontentcheck [2011-07-13 14:16] – 137.193.251.30 | faq:uploadcontentcheck [2011-10-22 03:30] – 99.66.112.234 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Uploaded Content Mismatch ====== | + | bitch |
- | :?: When I try to upload an image, I get a "The uploaded content did not match the file extension" | ||
- | |||
- | :!: DokuWiki checks if uploaded files contain malicious content. To do this it needs access to uploaded file in the temporary upload directory. If your server uses PHP's open_basedir setting, you need to make sure your temporary upload directory is inside this basedir. | ||
- | |||
- | You can set the option to your DokuWiki temp dir. Either in your php.ini: | ||
- | |||
- | <code php> | ||
- | upload_tmp_dir = / | ||
- | </ | ||
- | |||
- | Or in your .htaccess file: | ||
- | |||
- | <code apache> | ||
- | php_value upload_tmp_dir / | ||
- | </ | ||
- | |||
- | Another possibility is to change the " |
faq/uploadcontentcheck.txt · Last modified: 2011-10-22 06:20 by 24.18.132.182