Mailinglisten-Archive |
Hi Liste!
Folgendes Formular (exakt dasselbe, wie im Manual):
<FORM ENCTYPE="multipart/form-data" ACTION="upload.php3" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="10000">
Send this file: <INPUT NAME="userfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Send File">
</FORM>
gibt bei mir folgende Fehlermeldung:
Method not allowed
This is a sample customized error message.
The following tags are supported:
%c inserts the error code (i.e. 405)
%r inserts the error reason (i.e. Method
not allowed)
%r inserts the server version (i.e.
OmniHTTPd/2.04)
%e inserts the administration email
address (i.e. <caefer_(at)_yahoo.com>)
%% inserts a percent sign (i.e. %)
If you are a Javascript master, it should be pretty
easy to use conditionals to make customized
screens for different error codes. Note that SSI
directives are not processed in the error
template. You can find this file, ERROR.TEMP,
in your executable directory (default is
C:\HTTPD)
das angesprungende script sieht folgendermaßen aus:
<?php
if (!copy($picfile, 'newpic.gif')) {
print("failed to copy $file...<br>\n");
}
?>
dieses wird aber garnicht erst geladen.
christian
php::bar PHP Wiki - Listenarchive