![]() |
| |||||||
![]() | ![]() | |
![]() | ![]() | ![]() |
![]() |
| | أدوات الموضوع | طريقة عرض الموضوع |
| تكفون ابغى مساعدة بسيطة ممكن تعدلي ملف كونينج فقط ارجوكم تكفون هذا ملف لمجلة نيوك وبغيت اعدل البيانات بس ماعرفت وهذي الاشياء الي تتعدل $dbhost = "localhost"; لاتقم بتغييره $dbuname = "root"; اسم المستخدم لقاعدة البيانات $dbpass = "1234"; كلمة المرور $dbname = "nuke81"; اسم قاعدة بيانات المجلة اسم القاعدة سميتها nuke وباسورد 645312 بس اسم مستخدم لقاعدة بيانات مافهمتها تحملوني مبتدا ![]() \ ملف كونفنينج هذا هو <?php ################################################## #################### # PHP-NUKE: Advanced Content Management System # ============================================ # # Copyright (c) 2007 by Francisco Burzi # http://phpnuke.org # # This program is free software. You can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License. ################################################## #################### if (stristr(htmlentities($_SERVER['PHP_SELF']), "config.php")) { Header("Location: index.php"); die(); } ################################################## #################### # Database & System Config # # dbhost: SQL Database Hostname # dbuname: SQL Username # dbpass: SQL Password # dbname: SQL Database Name # $prefix: Your Database table's prefix # $user_prefix: Your Users' Database table's prefix (To share it) # $dbtype: Your Database Server type. Supported servers are: # MySQL, mysql4, sqlite, postgres, mssql, oracle, # msaccess, db2 and mssql-odbc # Be sure to write it exactly as above, case SeNsItIvE! # $sitekey: Security Key. CHANGE it to whatever you want, as long # as you want. Just don't use quotes. # $subscription_url: If you manage subscriptions on your site, you # must write here the url of the subscription # information/renewal page. This will send by # email if set. # $admin_file: Administration panel filename. "admin" by default for # "admin.php". To improve security please rename the file # "admin.php" and change the $admin_file value to the # new filename (without the extension .php) ################################################## #################### $dbhost = "localhost"; $dbuname = "root"; $dbpass = ""; $dbname = ""; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "cPEnq15ZPmejnuKtzZMUHFH1bee9KLT9i5FfZBmI"; $subscription_url = ""; $admin_file = "admin"; /************************************************** ********************/ /* You finished to configure the Database. Now you can change all */ /* you want in the Administration Section. To enter just launch */ /* your web browser pointing it to http://xxxxxx.xxx/admin.php */ /* (Change xxxxxx.xxx to your domain name, for example: phpnuke.org) */ /* */ /* Remember to go to Preferences section where you can configure your */ /* new site. In that menu you can change all you need to change. */ /* */ /* Congratulations! now you have an automated news portal! */ /* Thanks for choose PHP-Nuke: The Future of the Web */ /************************************************** ********************/ // DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING $prefix = empty($user_prefix) ? $prefix : $user_prefix; $reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","In sighful","Interesting","Informative","Funny","Over rated","Underrated"); $badreasons = 4; /* If you want to use the IMG tag in your HTML code, to include images in News for example, you must use the following line and comment the old $AllowableHTML */ /* $AllowableHTML = array("img"=>2,"b"=>1,"i"=>1,"strike"=>1,"div"=>2, "u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockqu ote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1); */ /* or just include "img"=>2 in the $AllowableHTML array bellow. This feature isn't included by default due to possible security issues */ /* If you want to use the most common html tags you must uncomment the following line and comment the $AllowableHTML above this line but be aware that this option allows many html tags even to your registered users */ $AllowableHTML = array("b"=>1,"i"=>1,"img"=>2,"strike"=>1,"font color"=>2,"font"=>2,"div"=>2,"u"=>1,"a"=>2,"em"=>1 ,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"= >1,"ol"=>1,"ul"=>1); //$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a "=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1," tt"=>1,"li"=>1,"ol"=>1,"ul"=>1); $CensorList = array("fuck","cunt","fucker","fucking","pussy","co ck","c0ck","cum","twat","clit","bitch","fuk","fuki ng","motherfucker"); $tipath = "images/topics/"; //************************************************** ************* // IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK: http://phpnuke.org/modules.php?name=Commercial_License // COPYRIGHT NOTICES ARE GPL SECTION 2(c) COMPLIANT AND CAN'T BE REMOVED WITHOUT PHP-NUKE'S AUTHOR WRITTEN AUTHORIZATION // THE USE OF COMMERCIAL LICENSE MODE FOR PHP-NUKE HAS BEEN APPROVED BY THE FSF (FREE SOFTWARE FOUNDATION) // YOU CAN REQUEST INFORMATION ABOUT THIS TO GNU.ORG REPRESENTATIVE. THE EMAIL THREAD REFERENCE IS #213080 // YOU'RE NOT AUTHORIZED TO CHANGE THE FOLLOWING VARIABLE'S VALUE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE // (http://phpnuke.org/modules.php?name=Commercial_License) //************************************************** ************* $commercial_license = 0; ?> ياريت تعدلة لي وتحطة منتديات مدرسة المشاغبين - تطوير المواقع و السكربتات Ajax XML CSS JavaScript PHP Perl CGI seo Search Engine web2 التعديل الأخير تم بواسطة نونو اكس ; 09-09-2008 الساعة 07:40 PM |
![]() |
| مواقع النشر (المفضلة) |
| أدوات الموضوع | |
| طريقة عرض الموضوع | |
| |
-
-