السلآم عليكم
عندي مشكله .. سويت صفحتين بسيطه ..
واحد لادخال عشوائي داخل الـ texterea ومن ثم يرتب المدخلات بحيث كل منها يكون في سطر بالاضافه الى حذف المكرر ..
لكن المشكله اني لما اشغل الملفات يعترض على وجود الدوال حقت الـ php ما ادري ليه ..
هذه الواجهه

ولما اضغط الزر فقط يعطيني كلمه مصفوفه ..

ما ادري ايش المشكله ..
هذا كود الصفحه الاولى . crazy.html
<html> <head><title>crazy.Web</title></head> <body bgcolor="black"> <div align="center"><h2><font color="white">Pass arrangement</font></h2></div> </br> </br> <div align="center"> <table bgcolor="gray" width="350"> <tr><td> <table bgcolor="white" align="center"> <form action="Done.php" method=POST > <tr> <td><h3>Inter the pass</h3></td> </br> <td> </td> </tr> <tr> <tr><td><textarea rows="10" cols="50" name="exp"></textarea></td></tr> </br><tr> <td></td> </tr> <tr><td></td> </tr> <tr><td align="center"><input type="submit" value="start"> </form> </table> </div> </div> </body>
وهذا كود صفحة بعد الترتيب وحذف المكرر Done.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
html, body{
margin:0;
padding:0;
}
#container {
margin:0px auto;
text-align:center;
}
#left {
width: 80%;
border: 1px orange solid;
display: inline-block;
*display: inline;
}
</style>
<title>pass</title>
</head>
<body bgcolor="black">
<div id="container">
<div id="left"></br></br>
<img src=http://www.it-scoop.com/wp-content/uploads/2012/05/php-cgi-vulnerability.png /></br>
<?php $crazy[]= nl2br($_POST["exp"]);
sort($crazy);
$strar = array_unique($crazy);
?>
<tr><td><font color="white" ><?php echo $strar; ?></font></td></tr>
</table>
</div>
</div>
</div>
</body>
</html>ان شاء الله القى حل عندكم
