[سري للغايه] سرع اي منتدى الى 200% او اكثر

النقاش العام حول phpBB2 ، يرجى عدم طلب الدعم الفني أو طرح المشاكل هنا.

المشرف: alhitary

صورة العضو الرمزية
seeker2002
عضو جديد
عضو جديد
مشاركات: 10
اشترك في: الأحد يونيو 08, 2003 9:00 pm
مكان: مملكة البحرين
اتصال:

مشاركةبواسطة seeker2002 » الأحد يونيو 19, 2005 3:42 pm

???? ??????? ???
http://www.swalif.net/softs/showthread.php?t=120344
???? ?? 100 ?? ???? ??????? ?? ???? ?????? :D ? ??????? 100% ?? ?????? ? ?????? ???? ?????

http://www.web4host.net
ارخص عروض الاستضافه مع الاستخدام الشهري العالي
على سيرفر محمي من الهكر باذن الله
خدمة في عالم الاستضافة و اسناء النطاق من سنة 2004




ArabFriends
صُناع أريبيا
صُناع أريبيا
مشاركات: 635
اشترك في: الاثنين مارس 31, 2003 12:52 am
مكان: أرض الله الواسعة

مشاركةبواسطة ArabFriends » الاثنين يونيو 20, 2005 1:16 am

?? ???? ????? ?? ????? ??? ????????
??????? ?? ??????? ?????? ????? ????? php ???? ???????? ?????? ??????? ?????? ???????

??? ???? ????? ????? ? ???? ?? ???? ?????? :idea:
بالتوفيق ،،

Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » الاثنين يونيو 20, 2005 1:55 am

????? ??? ?????

????? ??? ????? ??? ????? ????? ?????? ???? ??? ????? ??????? :mrgreen:
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:

صورة العضو الرمزية
مهند قمرة
مشرف سابق
مشرف سابق
مشاركات: 4222
اشترك في: السبت أكتوبر 30, 2004 8:32 pm
مكان: مـصـر [ولي الفخر]
اتصال:

مشاركةبواسطة مهند قمرة » الاثنين يونيو 20, 2005 5:54 am

?????? ?????
????? ??? ????? ???? ?????? ??? ??? <?php
??? ??????
:wink:
سأعود قريبا لعالمي في ارابيا :)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
صورة

صورة العضو الرمزية
الشباب العربي
عضو نشيط
عضو نشيط
مشاركات: 145
اشترك في: الجمعة نوفمبر 12, 2004 10:18 pm
مكان: لبنان بيروت
اتصال:

مشاركةبواسطة الشباب العربي » الاثنين يونيو 20, 2005 5:55 am

??? ???? ?????? ??????

?????? ??? ????? ???? ?????? ??? ??? ?????? ??? ???? ?????? ???? ?????? ?? ????? ???????? ???? ???? ??? ??? ?????? ?????? ???


What?
Gzip. Its a compression algorithm. Similar to ZIP and SIT, gzip is very common. If you are dealing with uncompressed data, you can save tons of space by gzipping your files. An image file is already compressed using jpeg or gif algorithms, and so as is the nature of data, compressing it again with gzip won't give you much. But if you have raw text, or even better, xml or html files, you are in for a treat. Most people never think of it, because image files have always been so much larger than the HTML files themselves. But more and more, HTML files are growing and growing, with more complicated page layouts and things like JavaScript, 40K HTML files are common place and easily/often surpassed. Now when you think about what HTML is, most of the HTML file itself is HTML tags, the same tags used over and over again. This makes HTML one of the BEST things to compress. You can easily compress a 40K file down to 3K.

How?
But how is it implemented? Believe it or not, nearly all browsers support gzipped content. Its been built into them for years. Its just that no one has bothered to use it. There are 3 main ways to gzip your code. Two of them involve using mod_gzip. Now mod_gzip does work, but to be honest it is a bitch to set up. Once its configured, you can set it up one of two ways. Apache can either automatically gzip all html on its way out, on the fly. Or, you can store 2 versions of each page on your site, a gzipped version, and a regular version

For example, you'd have in your home directory:
index.html -and-
index.gz
Browsers that supported gzip, would get the gz file. Ons that didn't would get the html file.
Either way you set up mod_gzip, Apache will automatically send gzipped files to browsers that support it, and straight html to browsers that don't. And from the client, there is no change, no difference, the page sends, decompresses and loads exactly the same from the user point of view.
By now you might be thinking, it would be a pain in the ass to have to maintain gzipped copies of every page on my site. Your right it would, you shouldn't do it that way. You might also be thinking that having apache gzip on the fly will bog down your server. But it won't. Heres the real beauty of gzip. Because the file is so much smaller, it takes significantly less time to transmit. And the web sever doesn't have to maintain a connection for nearly as long. As a result, there is no performance hit on the server whatsoever. Add that to the fact that you are going to take a sizable bite out of your bandwidth usage each month. And the fact that high speed users are going to load your site a bit faster, and dial up users are going to load your site SIGNIFICANTLY faster. using gzip seems like a no brainer, and it surely IS a no brainer (in my opinion anyway). Wheres the downside? Configuration. Setting it up is a pain in the ass. And if you are on a web host, most don't even use mod_gzip. If you are moving your site from one server to another, you'll have to set it up on the new one again, if possible.

So I bring you the 3rd way to do it. Its so easy, you'll think your doing something wrong. Forget mod_gzip. Use PHP instead. All you have to do is put the following line at the VERY top of each PHP document, and just like magic, the entire HTML of the page will be compressed!
Code:

كود: تحديد الكل

<? ob_start("ob_gzhandler"); ?> 
This is so easy, just paste it at the beginning of your PHP and thats IT! It automatically gzips the page for browsers that support it. And its portable. Nearly every webhost uses PHP, so with no configuring, you can move your site from server to server, and every server that uses PHP, you'll automatically get compressed code. If you use PHP already, you are probably thinking 'oh my god where have you been all my life' but if you don't, your probably scratching your head wondering what php is. I can't go into too much detail here, but basically: If your server is running PHP, all you have to do is change your files from webpage.html to webpages.php. And now your file is a PHP file. You can still edit it no problem in programs like Adobe GoLive. And just slip the line of code at the absolute beginning of the file, and you'll clearly see the difference.

If you are wondering about where you should use this and where you shouldn't, I'll tell you where: Everywhere. Put it at the top of every single page on your site (or use an include( ) function in PHP). Every HTML page will get at least some compression. The bigger and more complicated the page is, the better it will compress.

Now, to reiterate what I've said. If you want to gzip all your HTML code to speed up your web server, speed up your page load times, and use significantly less bandwidth, while all at the same time doing nothing different to edit, maintain, or view your web sites, then simply slip that one line of PHP at the top of each document and you are good to go!

Wondering what a gzip page really looks like? Every page on http://www.whatsmyip.org uses php gzipping. I've been using it for years, and it works like a charm!

How to verify its working:
gzip works so seamlessly, no doubt you'll be wondering, "is it working?" Here's the easiest way to check, and you can use it on any web page. Load the page in FireFox. Now in the 'Tools' menu, choose 'Page Info'. Now in the window, you will see a size value. That is the actual size of the html of the page as it was transmitted over the internet. Now go to 'File' and save the page to your desktop. It will save the html file and probably a folder with all the images too. Just toss the images. Now Get Info on the html file, and you will see the size of the uncompressed code. If you are not using gzip, they will be nearly identical. If you ARE using gzip, the first value will be significantly smaller than the second. If you really want to be wowed, use that method to verify this page on my site:
http://www.whatsmyip.org/htmlcharacters/
Then you will see the power of gzip!

UPDATE:
I wrote my own gzip checker, so if you want to see if a web page is compressed, you can use it. It will tell you if its compressed, and how much data is saved. And if its not compressed, it will tell you how much data WOULD be saved if you used gzip.
http://www.whatsmyip.org/mod_gzip_test/
_________________


???? ?????? ?????? ?? ??????


1- ??? ????? ?? ???? ??? ??? ????? PHP ????? ??? ?? ???? ??? HTML ????? ?? ???? ??????? ??? ?? ??? ?? ?? ?????? ?????

2- ??? ??????? ?? ?????? ???? ?????
index.php
??? ???? ???? ???? ???? ????? ????
index.gz

3- ??? ????? ???? ???? ?? ??? ??????? ???? ????? ????? ???? ?? ???? ?? ??? ????? ???? ?? ????? ??? ???? ???? ???? ??? ?? ?????? ?????? ????? ???? ????? ?? ???? ????

??????? ?? ???? ??? ???? ????? ???
???? ?? ???? ??? ???? ???? ?? ????????? ???? ?? ???? ?? ??? ???? ??? ???? ??????? ??? ??? Overal_Header ?? ??? Include/functions ?????? ????? ??? ?????? ???? ?? ???? Templates ????? ???? ???????? ???? ???? ??

??? ???? ?? ???? ?? ??? ????? ?? ??? ?? ???? ???? ?? ???? ?? ???

??????????????? ???? : ???? ??? ???? ???? ???????? ??? ?????? ???? ??????? ??? ???? ?? ???? ??? ??? ???? ?????? ???? ?? ??? ??? ?? ??? ?? ???? ??? ???????...


???? ?????? ???? ????? ???? ???? ?? ???? ??? ????? ????? ??? ????? ???? ???????

???? ??????
http://www.whatsmyip.org/mod_gzip_test/
??? ???? ????? ????? ??? ???? ?? ??? ??? ????? ????
??? ???? ???? ??
http://www.*****.com is gzipped


???? ??? ??? ???? ????
http://www.*****.com is not gzipped


?????? ??????? ?? ??? ????? ????? ?????? ??? ?????? ??? ?????????????? ??? ???? ???? ?????? ??? ?? ????? ?? ???????? ???
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/lebzz/public_html/includes/page_header.php on line 49

???? ???? ???? ?????? ??? Gzip ??? ???? ???????? ????? ?? ????? :cry:
??? ?????? ??? ????
?????? ?? ????? ?????? ?????? ??????? ???? ????? ???????


??? ????? ?? ?? ???? ??? ?? ??????

??? ??? ???? ????? ???????
آخر تعديل بواسطة الشباب العربي في الاثنين يونيو 20, 2005 6:41 am، تم التعديل مرة واحدة.
المدير العام
http://WwW.LeBzZ.CoM
http://WwW.LeBzZ.Net
http://WwW.LeBzZ.OrG

الدعم الفني للمنتدى يكون عبر المنتدى فقط لا غيـــر

صورة العضو الرمزية
مهند قمرة
مشرف سابق
مشرف سابق
مشاركات: 4222
اشترك في: السبت أكتوبر 30, 2004 8:32 pm
مكان: مـصـر [ولي الفخر]
اتصال:

مشاركةبواسطة مهند قمرة » الاثنين يونيو 20, 2005 6:30 am

???? ??? ?? ?????? ??????, ??? ???????
????? :wink:
سأعود قريبا لعالمي في ارابيا :)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
صورة

ArabFriends
صُناع أريبيا
صُناع أريبيا
مشاركات: 635
اشترك في: الاثنين مارس 31, 2003 12:52 am
مكان: أرض الله الواسعة

مشاركةبواسطة ArabFriends » الاثنين يونيو 20, 2005 7:17 am

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/lebzz/public_html/includes/page_header.php on line 49
??? ????? ??? ????? ????? ?? ????? ??????? ?????? ??

?? ?????? ????? :idea:
????? ??? ?????

????? ??? ????? ??? ????? ????? ?????? ???? ??? ????? ???????
بالتوفيق ،،

صورة العضو الرمزية
الشباب العربي
عضو نشيط
عضو نشيط
مشاركات: 145
اشترك في: الجمعة نوفمبر 12, 2004 10:18 pm
مكان: لبنان بيروت
اتصال:

مشاركةبواسطة الشباب العربي » الاثنين يونيو 20, 2005 7:41 am

???? ???? ???? ???? ?? ?? ??? ?? ????? ??????? ???? ?? ????? ???? ?? ???? ??????



?????? ?? ??? ??? ?????? ?? ??? ???? ???????? ????????? ????????
المدير العام
http://WwW.LeBzZ.CoM
http://WwW.LeBzZ.Net
http://WwW.LeBzZ.OrG

الدعم الفني للمنتدى يكون عبر المنتدى فقط لا غيـــر

عبقري العرب
صُناع أريبيا
صُناع أريبيا
مشاركات: 755
اشترك في: السبت يوليو 26, 2003 10:29 pm
اتصال:

مشاركةبواسطة عبقري العرب » الاثنين يونيو 20, 2005 12:59 pm

?????? ?????

??? ?????? ??????,
??? ?????? ????? ? ??? ????? ????? ???? ?? ????
???? ???? ???? ????? ????? ????? ????? ????? :oops:

Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » الاثنين يونيو 20, 2005 8:57 pm

??????????????? ???? : ???? ??? ???? ???? ???????? ??? ?????? ???? ??????? ??? ???? ?? ???? ??? ??? ???? ?????? ???? ?? ??? ??? ?? ??? ?? ???? ??? ???????...
8O 8O

??? ??????? ??? ??? ?????? ?? ?? ??? ???? ??????? ???? ?!

??? ???? ??? ?? ??? ????? ??? ???? ????? ?? ??????? ? ?????? ??? ????? ??? ??? page_header.php ???? ?? ???? ??????? ????? ??? ????? ?????? ??? ??? ????? ??? ????? ?!

?? ?? ?????
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:

ArabFriends
صُناع أريبيا
صُناع أريبيا
مشاركات: 635
اشترك في: الاثنين مارس 31, 2003 12:52 am
مكان: أرض الله الواسعة

مشاركةبواسطة ArabFriends » الثلاثاء يونيو 21, 2005 1:58 am

?? ?? ?????
?????? ?? ?????
??? ?????? ??????,
??? ?????? ????? ? ??? ????? ????? ???? ?? ????
???? ???? ???? ????? ????? ????? ????? ?????
??? ??? ??? ??????? ???? ??? ???? ?????? ?? ????? ??????? ? ???? ???? ???? ???????? ?????? ?????
بالتوفيق ،،

Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » الثلاثاء يونيو 21, 2005 2:45 am

??? ??? ??? ??????? ???? ??? ???? ?????? ?? ????? ??????? ? ???? ???? ???? ???????? ?????? ?????
???? ??? ???????

????? ????? ???? ????? ??? ???? <?php
?????? ??? ?????

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/mara7net/public_html/phpbb/includes/page_header.php on line 51

???? ????? ??????

????? ??? ?????? ???????? ??? ????? ??? ???????

كود: تحديد الكل

// gzip_compression
//
$do_gzip_compress = FALSE;
if ( $board_config['gzip_compress'] )
{
	$phpver = phpversion();

	$useragent = (isset($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) ? $HTTP_SERVER_VARS['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');

	if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
	{
		if ( extension_loaded('zlib') )
		{
			ob_start('ob_gzhandler');
		}
	}
	else if ( $phpver > '4.0' )
	{
		if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
		{
			if ( extension_loaded('zlib') )
			{
				$do_gzip_compress = TRUE;
				ob_start();
				ob_implicit_flush(0);

				header('Content-Encoding: gzip');
			}
		}
	}
}
???? ??????? ?????? ???? ??? ???????

كود: تحديد الكل

// gzip_compression 
// 
$do_gzip_compress = FALSE; 
if($board_config['gzip_compress']) 
{ 
   $phpver = phpversion(); 

   if($phpver >= "4.0.4pl1") 
      { 
         if(extension_loaded("zlib")) 
      { 
   if (headers_sent() != TRUE) 
      { 
         $gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]); 
         if ($gz_possible) ob_start("ob_gzhandler"); 
      } 
   } 
      } 
         else if($phpver > "4.0") 
      { 
         if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) 
         { 
            if(extension_loaded("zlib")) 
         { 
            $do_gzip_compress = TRUE; 
            ob_start(); 
            ob_implicit_flush(0); 

            header("Content-Encoding: gzip"); 
         } 
      } 
   } 
} 
??? ??????? ????? ????? :mrgreen:

??? ???? ???? ????
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:

ArabFriends
صُناع أريبيا
صُناع أريبيا
مشاركات: 635
اشترك في: الاثنين مارس 31, 2003 12:52 am
مكان: أرض الله الواسعة

مشاركةبواسطة ArabFriends » الثلاثاء يونيو 21, 2005 2:58 am

????? ??? ?????? ???????? ??? ????? ??? ???????
?????? ??? ????? ???? :

كود: تحديد الكل

// gzip_compression 
// 
$do_gzip_compress = FALSE; 
if ( $board_config['gzip_compress'] ) 
{ 
   $phpver = phpversion(); 

   $useragent = (isset($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) ? $HTTP_SERVER_VARS['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT'); 

   if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) ) 
   { 
      if ( extension_loaded('zlib') ) 
      { 
//         ob_start('ob_gzhandler'); 
      } 
   } 
   else if ( $phpver > '4.0' ) 
   { 
      if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') ) 
      { 
         if ( extension_loaded('zlib') ) 
         { 
            $do_gzip_compress = TRUE; 
//            ob_start(); 
    //        ob_implicit_flush(0); 

           header('Content-Encoding: gzip'); 
         } 
      } 
   } 
}
بالتوفيق ،،

Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » الثلاثاء يونيو 21, 2005 3:32 am

??????????????????????? ArabFriends,

????? ???? ???? :)
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:

AC
المؤسس
المؤسس
مشاركات: 1939
اشترك في: الجمعة مايو 17, 2002 7:32 am
مكان: السعودية
اتصال:

مشاركةبواسطة AC » الثلاثاء يونيو 21, 2005 6:11 am

?????? ?????

?????? ???? ????? 8)

??? ???? ????? ????? ?? phpBB

?? ???? ??????>>????? ????>>????? "????? ??? gzip" ???? "???"

?????? ??? ????? ?? ??? ??????? ??????? ????? ????? ?? ???
:idea:

????? phpBBArabia ????? ??? ??? ??????

http://www.phpbbarabia.com/board/statistics.php

??? Gzip = ???

?? ???? ???? ??????? ????????? ?? phpBB :idea:
لوكان الجهل رجلاً لقتلته

I Hate vBulletin

نِـثَـارٌ (مدونتي) | | وافــــر >> Wapher.Com || مُفيد.كوم >> MoFFed.Com

:idea: البريد والرسائل الخاصه لايعدان السبيل الامثل للدعم الفني :idea:


العودة إلى ”[ ×.2.0 ] النقاش العام“

الموجودون الآن

المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين وزائران