PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors [فب] : ob_start () صفحة عرض مرة واحدة ، ونسيان الكعكة ، ورؤوس أرسلت من السابق لأوانه أخطاء
Posted on 21. نشر في 21. Aug, 2009 by Dragos in Coding , PHP أغسطس ، 2009 من قبل دراكوش في الترميز ، [فب]
If you want to display your web pages at once, not subsequently, and reduce the “headers already sent, cannot send cookie information” errors, add ob_start() at the start of your script. إذا كنت ترغب في عرض صفحات الويب الخاصة بك في آن واحد ، وليس في وقت لاحق ، وخفض الرؤوس "أرسلت بالفعل ، لا يمكن إرسال المعلومات كوكي" أخطاء ، إضافة ob_start () في بداية البرنامج النصي.
This function will turn output buffering on. هذه الوظيفة سوف تتحول التخزين المؤقت على الانتاج. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. بينما التخزين المؤقت الإخراج النشط لم الإخراج يتم إرسالها من نصي (بخلاف الرؤوس) ، بدلا من الانتاج يتم تخزينها في مخزن مؤقت داخلي. (php.net) (php.net)
You can also manipulate the contents of the output by using the function ob_get_contents() يمكنك أيضا التعامل مع محتويات الإخراج باستخدام ob_get_contents الدالة ()
Related posts: الوظائف ذات الصلة :
- Browsing errors: пщщпду or пщщпдуюсщь التصفح الأخطاء : пщщпду أو пщщпдуюсщь
- PHP: How to download a webpage (aka web scrapping) with PHP [فب] : كيفية تحميل صفحة ويب (ويعرف أيضا باسم الشبكة تخريد) مع بي
- Coding:How to fetch user profile data with SSI.php from a SMF forum database الترميز : كيفية إحضار البيانات الجانبي للمستخدم مع SSI.php بإمكانك زيارة المجلة الثقافية من قاعدة بيانات منتدى












































