R
Richard Fleming
Guest
We are having problems getting a standard PHP upload program - which runs on other systems to work under Plesk 8.2.1 and Apache 1.3.33.
The upload uses the usual.
<form enctype="multipart/form-data" action="copyfile.php" method="POST"> but there is never anything in the $_FORM array. After checking to be sure that safe mode was off, and the standard post_max_size,upload(yes),upload_max_size php variables were set, we saw that in the Apache section of phpinfo that the variable Content-Type was set to form/html instead of "multipart/form-data" as in the case when we ran the code on other systems. Moving the code to another domain on the same Plesk controlled server did not work.
We didn't make any changes to the Apache config files, and I don't know how to correct this (or why it occurred in the first place).
Any assistance would be appreciated.
-****
The upload uses the usual.
<form enctype="multipart/form-data" action="copyfile.php" method="POST"> but there is never anything in the $_FORM array. After checking to be sure that safe mode was off, and the standard post_max_size,upload(yes),upload_max_size php variables were set, we saw that in the Apache section of phpinfo that the variable Content-Type was set to form/html instead of "multipart/form-data" as in the case when we ran the code on other systems. Moving the code to another domain on the same Plesk controlled server did not work.
We didn't make any changes to the Apache config files, and I don't know how to correct this (or why it occurred in the first place).
Any assistance would be appreciated.
-****