إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: افضل مركز للعناية بالسيارات بالرياض (آخر رد :رودى طه)       :: دورة الملكية الفكرية في التراث الشعبي (الفلوكلور) تقديم د.رباب المعبي (آخر رد :عمران بحر)       :: افضل انواع يد بلاستيشن 5 (آخر رد :بوابة الصين العربية)       :: موقع خاص لحجوزات الأفضل لتذاكر الطيران و حجوزات الفنادق (آخر رد :عمران بحر)       :: مقاول أسمنت بورد بالرياض | تركيب احترافي وجودة عالية 0551033861 (آخر رد :ksa ads)       :: افضل فساتين باسعار مميزة في السعودية (آخر رد :رودى طه)       :: افضل فساتين باسعار مميزة في السعودية (آخر رد :رودى طه)       :: دعوى ميراث بالرياض: دليل شامل لفهم الإجراءات القانونية (آخر رد :نادية معلم)       :: اخصائية مساج الخبر منزلى 0533972744 (آخر رد :رودى طه)       :: massage in riyadh (آخر رد :رودى طه)      

 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 10-11-2009, 06:20 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,669
عدد الـنقاط :3341
 تقييم المستوى : 2140

السلام عليكم اخواني الكرام تقبل الله منا و منكم صالح الاعمال الموضوع عبارة عن شرح تحويل الروابط من php الى html

اعمل ملف جديد تحت اسم : htaccess.
و اذا كان موجود عدل عليه
وضع فيه الكود التالي

رمز PHP:
$ search.php?do=getdaily [L]
RewriteRule ^getdaily([0-9]+).html$ search.php?do=getdaily&f=$1 [L]
RewriteRule ^unanswered.html$ search.php?do=process&replyless=1&replylimit=0&dontcache=1 [L]
RewriteRule ^unanswered([0-9]+).html$ search.php?do=process&replyless=1&replylimit=0&dontcache=1&forumchoice=$1&childforums=1 [L]
RewriteRule ^forum([0-9]+).html$ forumdisplay.php?f=$1 [L]
RewriteRule ^forum([0-9]+)-([0-9]+)-([a-z]+)-(.*)-([0-9]+)-(.*).html$ forumdisplay.php?f=$1&page=$2&sort=$3&order=$4&pp=$5&daysprune=$6 [L]
RewriteRule ^forum([0-9]+)-(.*)-([a-z]+)-([a-z]+).html$ forumdisplay.php?f=$1&daysprune=$2&order=$3&sort=$4 [L]
RewriteRule ^announcement([0-9]+).html$ announcement.php?f=$1 [L]
RewriteRule ^announcement([0-9]+)-([0-9]+).html$ announcement.php?f=$1&announcementid=$2 [L]
RewriteRule ^thread([0-9]+).html$ showthread.php?t=$1 [L]
RewriteRule ^thread([0-9]+)-([0-9]+).html$ showthread.php?t=$1&page=$2 [L]
RewriteRule ^getnew.html$ search.php?do=getnew [L]
RewriteRule ^getnew([0-9]+).html$ search.php?do=getnew&f=$1 [L]
RewriteRule ^printthread([0-9]+).html$ printthread.php?t=$1 [L]
RewriteRule ^sendthread([0-9]+).html$ sendmessage.php?do=sendtofriend&t=$1 [L]

RewriteRule ^referthread([0-9]+)-([0-9]+).html$ showthread.php?t=$1&referrerid=$2 [L]
RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
RewriteRule ^nextnewesttothread([0-9]+).html$ showthread.php?t=$1&goto=nextnewest [L]
RewriteRule ^nextoldesttothread([0-9]+).html$ showthread.php?t=$1&goto=nextoldest [L]
RewriteRule ^post([0-9]+).html$ showthread.php?p=$1 [L]
RewriteRule ^post([0-9]+)-([0-9]+).html$ showpost.php?p=$1&postcount=$2 [L]
RewriteRule ^post([0-9]+)-([0-9]+)-([0-9]+).html$ showthread.php?p=$1&page=$2&pp=$3 [L]

RewriteRule ^thread([0-9]+)-([a-z]+).html$ showthread.php?mode=$2&t=$1 [L]
RewriteRule ^post([0-9]+)-([a-z]+).html$ showthread.php?p=$1&mode=$2 [L]


داخل مجلد includes ابحث عن ملف إسمه functions.php
وابحث بداخلة عن :-
رمز PHP:
print_output($vartext* $sendheader = 1)
{
global
$pagestarttime* $query_count* $querytime* $DB_site* $bbuserinfo;
global
$vbphrase* $vboptions* $stylevar* $_REQUEST;


اضف اسفله مباشرة
رمز PHP:
//www.zag-eng.com+www.cr-house.com
global $session;

$search_array = array(
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&page=") . '([0-9]+)' . preg_quote("&sort=") . '([a-z]*)' . preg_quote("&order="). '([a-z]*)' . preg_quote("&pp=") . '([0-9]*)' . preg_quote("&daysprune="). '([^"]*)"#'*
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&daysprune=") . '([^"]*)' . preg_quote("&order=") . '([a-z]*)' . preg_quote("&sort=") . '([a-z]*)' . preg_quote("&pp=") . '([0-9]*)' . preg_quote("&page=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&daysprune=") . '([^"^&]*)' . preg_quote("&order=") . '([a-z]*)' . preg_quote("&sort=") . '([a-z]*)"#'*
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&daysprune="). '([^"^&]*)"#'*
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&page=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]t=") . '([0-9]+)' . preg_quote("&page=") . '([0-9]*)' . preg_quote("&pp=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]t=") . '([0-9]+)' . preg_quote("&page=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]goto=lastpo st&t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]goto=newpos t&t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"printthread.php?$session[sessionurl]t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"sendmessage.php?$session[sessionurl]do=sendtof riend&t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]t=") . '([0-9]+)' . preg_quote("&goto=next"). '([a-z]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]p=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]p=") . '([0-9]+)' . preg_quote("&page=") . '([0-9]+)' . preg_quote("&pp=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showpost.php?$session[sessionurl]p=") . '([0-9]+)' . preg_quote("&postcount=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]mode=") . '([a-z]+)' . preg_quote("&t=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"showthread.php?$session[sessionurl]p=") . '([0-9]+)' . preg_quote("&mode=") . '([a-z]+)\##'*

'#]*)href' . preg_quote("=\"announcement.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&announcementid=") . '([0-9]+)"#'*
'#]*)href' . preg_quote("=\"announcement.php?$session[sessionurl]f=") . '([0-9]+)"#'*

// sanitizing
#]*)href


اذا اصابت فمن الله و ان اخطأت فمني و من الشيطان تقبل الله منا و منكم صالح الاعمال و اذا استاهل قيموني :shiny01:
www.zag-eng.com
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
استفسار بسيط عن تحويل الروابط الى html محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 10-01-2009 09:50 AM
مطلوب هاك تحويل الروابط منتدى الى اللغة العربية بدون اخطاء محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 09-12-2009 01:40 AM
تغير الروابط بدون هاكات إلى html إلحق وعدل بدون هاااااااااااك محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 08-22-2009 10:20 AM
الروابط عندي بغوغل متأرشفات على انهم html مش الروابط الحقيقية ... محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 06-30-2009 07:40 AM
تصغير الصور فى المنتديات بدون هاكات .. بدون تعديل ملفات محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-27-2009 03:00 AM


الساعة الآن 03:59 PM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML