.
1- بەڕێوەبەری یانە Hemn Zanko لە کوردستان بە ئمێڵی ( hemn_kurdzhin@yahoo.com ) ..
ژمارەی مۆبایل ( 07812539505 ) .
2- بهڕێوهبهری گشتی ( ReKaN ) له ئهوروپا به ئیمێڵی ( Rekan_uk@hotmail.com ) ، ژماره تهلهفوونی( 00447754007706) .






بابهته گرنگهکانی بهکارهێنانی یانه






پهڕهكان: 1








1- برۆ بۆ include/template/main.tpl
ئهوه زیاد بکه:
<script language="javascript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500,left = 200,top = 140');");
}
</script>دوایی برۆ بۆ viewtopic.php
بگهرێ بۆ ئهمه:
<label><textarea name="req_message" rows="7" cols="75" tabindex="1"></textarea></label>
لەسەرەوە ئەمە دابنێ
<a href="javascript:popUp('http://www.youtdoman.com/upload.php')">
<span style="text-decoration: none">پهڕگه / وێنهی
بابهت / پهیامهكهت لێره بار بكه!</span></a><br>پهرگهیهک دروست بکه به ناوی upload.phpو ئهم کۆدهی بۆ دابنێ
<html dir="rtl">
<body bgcolor="#C0C0C0" align="center">
<form action="up1.php" method="post" enctype="multipart/form-data" align="center">
<p align="center">
<p align="center">
<span lang="ar-kw">شوێنی وێنه</span><input type="file" name="userfile" id="file"> <br />
<button><span lang="ar-kw">باربکه</span></button>
<p align="center">
</form>
<p> </p>پهرگهیهکیش دروست بکه به ناوی up1.php و ئهم کۆدهی بۆ دابنێ
<?php
// Configuration - Your Options
$allowed_filetypes = array('.jpg','.gif','.bmp','.png' ,'.zip','.rar','.mp3','.mp4','.rm','.pdf','.txt' );
$max_filesize = 100000000000000000000;
$upload_path = 'upload/';
$filename = $_FILES['userfile']['name']; // Get the name of the file (including file extension).
$ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.
// Check if the filetype is allowed, if not DIE and inform the user.
if(!in_array($ext,$allowed_filetypes))
die('The file you attempted to upload is not allowed.');
// Now check the filesize, if it is too large then DIE and inform the user.
if(filesize($_FILES['userfile']['tmp_name']) > $max_filesize)
die('The file you attempted to upload is too large.');
// Check if we can upload to the specified path, if not DIE and inform the user.
if(!is_writable($upload_path))
die('You cannot upload to the specified directory, please CHMOD it to 777.');
// Upload the file to your specified path.
if(move_uploaded_file($_FILES['userfile']['tmp_name'],$upload_path . $filename))
echo 'کۆتایی <a href="' . $upload_path . $filename . '" title="Your File">ئهم فایلهی که تۆ بارت کردوه فهرموو</a>';
else
echo 'There was an error during the file upload. Please try again.'; // It failed :(.
?>فایلهکیش دروست بکه به ناوی upload و چمۆدی بکه به 777
لێرهشدا بۆت دهردهکهوێت که ج پهرگهک دهتوانن بار بکهن یان قهبارهی چهند بێت
// Configuration - Your Options
$allowed_filetypes = array('.jpg','.gif','.bmp','.png' ,'.zip','.rar','.mp3','.mp4','.rm','.pdf','.txt' );
$max_filesize = 100000000000000000000;
$upload_path = 'upload/';سەرچاوە: وێبچین
لهسهر هێڵ نییه
پهڕهكان: 1
