PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors PHP: () bir kerede, çerez unutun Ekran sayfası ob_start başlıklar çok erken hataları gönderildi
Posted on 21. 21 olarak gönderildi. Aug, 2009 by Dragos in Coding , PHP Ağustos, 2009 Kodlama, PHP ve Dragos tarafından
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. Eğer bir kerede değil, daha sonra web sayfaları görüntülemek için, istediğiniz ve "başlıklarını zaten gönderildi azaltmak, betiğin başlatmak ob_start () at" hataları eklemek çerez bilgi gönderemezsiniz.
This function will turn output buffering on. Bu fonksiyonu çıkış üzerinde tamponlama dönecek. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. Ise çıkış tamponlama hiçbir çıkış komut gönderilen (başlıklar dışında), bunun yerine çıkış dahili bir tampondaki etkin. (php.net) (php.net)
You can also manipulate the contents of the output by using the function ob_get_contents() Ayrıca fonksiyon ob_get_contents kullanarak çıkış içeriğini işlem yapabilirsiniz ()
Related posts: Ilgili posta:
- Browsing errors: пщщпду or пщщпдуюсщь Tarama hataları: пщщпду veya пщщпдуюсщь
- PHP: How to download a webpage (aka web scrapping) with PHP PHP: Nasıl bir web sayfası PHP ile (aka web hurdaya) indirmek için
- Coding:How to fetch user profile data with SSI.php from a SMF forum database Kodlama: Nasıl Bir SMF forumunun veritabanından SSI.php ile kullanıcı profili veri almak için












































