בעיה במערכת העלאת קבצים - תכנות - HWzone פורומים
עבור לתוכן
  • צור חשבון

בעיה במערכת העלאת קבצים


Shoshan01

Recommended Posts

הפעלתי את מערכת העלאת הקבצים אבל הוא מראה את השגיאה הזו

http://ciauaiz.220mb.com/

ואני לא מצליח לסדר את זה מישהו יודע אך לסדר את זה

<?php 

function head()
{
echo <<<END
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/url]
<html dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>מערכת עלאות</title>
<style type="text/css">
body {
font-family: Arial, Verdana, Tahoma;
font-size: 12px;
margin: 0px;
padding: 0;

}

a:link,
a:visited,
a:active {
background: transparent;
color: #217FBD;
text-decoration: none;
}

a:hover {
background: transparent;
color: WindowFrame;
text-decoration: none;
}

input,
textarea,
select {
background: #FFF;
border: 1px solid Gray;
color: ThreedShadow;
font-family: Arial, Verdana, Tahoma;
font-size: 12px;
}
</style>
</head>

<body>

END;
}

function foot()
{
echo <<<END

</body>

</html>
END;
}

function upload_form_start()
{
global $lang, $std, $config;
echo <<<END
<div align="center">
<form method="post" action="?act=do_upload" enctype="multipart/form-data">
<table width="60%" style="border: solid 1px #C0C0C0; margin: 5px 0; background-color: #F8F8F8;">
<tr>
<td width="100%"><font size="4px"><b>{$lang['upload_form']}</b></font></td>
</tr>
<tr>
<td width="100%"><div align="right"><b>{$lang['max_file_size']}:</b> {$config['max_mb']}MB</div></td>
</tr>
<tr>
<td width="100%"><div align="right"><b>{$lang['select_a_file']}:</b> <input type="file" name="{$config['upload_inputname']}" size="50" /></div></td>
</tr>
<tr>
<td width="100%"><div align="right"><b>{$lang['allowed_files_type']}: </b>
END;
}

function upload_form_end()
{
global $lang, $std, $config;
echo <<<END
</div></td>
</tr>
<tr>
<td width="100%"><div align="center"><input type="submit" value="{$lang['upload_this_file']}" /></div></td>
</tr>
</table>
</form>
</div>
END;
}

function error_screen($err)
{
global $lang;
echo <<<END
<div align="center">
<table width="60%" style="border: solid 1px #C0C0C0; margin: 5px 0; background-color: #F8F8F8;">
<tr>
<td width="100%"><font size="4px"><b>{$lang['error']}</b></font></td>
</tr>
<tr>
<td width="100%"><div align="right">{$err}.<br /><a href="javascript:history.go(-1)">{$lang['back_page']}</a></div></td>
</tr>
</table>
</div>
END;
}

function file_uploaded( $file_url )
{
global $lang;
echo <<<END
<div align="center">
<table width="60%" style="border: solid 1px #C0C0C0; margin: 5px 0; background-color: #F8F8F8;">
<tr>
<td width="100%"><font size="4px"><b>{$lang['file_successfully_uploaded']}</b></font></td>
</tr>
<tr>
<td width="100%">{$lang['file_uploaded_info']} {$file_url}</td>
</tr>
</table>
</div>
END;
}
?>

קישור לתוכן
שתף באתרים אחרים

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

×
  • צור חדש...