PHP ကျူတိုရီရယ်

PHP ပင်မစာမျက်နှာ PHP မိတ်ဆက် PHP ထည့်သွင်းပါ။ PHP Syntax PHP မှတ်ချက်များ PHP Variables များ PHP Echo / Print PHP Data အမျိုးအစားများ PHP စာတန်းများ PHP နံပါတ်များ PHP သင်္ချာ PHP Constants PHP Operator များ PHP If...Else...Elseif PHP Switch PHP Loops PHP လုပ်ဆောင်ချက်များ PHP Arrays PHP Superglobals PHP RegEx

PHP Forms

PHP Form ကိုင်တွယ်ခြင်း။ PHP Form Validation PHP Form လိုအပ်ပါသည်။ PHP Form URL/E-mail PHP Form ပြီးပါပြီ။

PHP အဆင့်မြင့်

PHP နေ့စွဲနှင့် အချိန် PHP ပါဝင်ပါတယ်။ PHP ဖိုင်ကိုင်တွယ်ခြင်း PHP ဖိုင်ကို ဖွင့်/ဖတ်ပါ။ PHP ဖိုင်ကို ဖန်တီး/ရေးပါ။ PHP ဖိုင်ကို တင်ခြင်း။ PHP Cookies PHP စက်ရှင်များ PHP Filters PHP Filters Advanced PHP ပြန်ခေါ်ခြင်းလုပ်ဆောင်ချက်များ PHP JSON PHP ခြွင်းချက်

PHP OOP

PHP OOP ဆိုတာဘာလဲ PHP အတန်းများ/အရာဝတ္ထုများ PHP Constructor PHP Destructor PHP Access Modifiers PHP Inheritance PHP Constants PHP Abstract အတန်းများ PHP မျက်နှာပြင်များ PHP လက္ခဏာများ PHP Static Methods PHP Static Properties PHP Namespaces PHP Iterables

MySQL ဒေတာဘေ့စ်

MySQL ဒေတာဘေ့စ် MySQL ချိတ်ဆက်မှု MySQL သည် DB ကိုဖန်တီးပါ။ MySQL ဇယားဖန်တီးပါ။ MySQL သည် Data ကိုထည့်သွင်းပါ။ MySQL နောက်ဆုံး ID ကိုရယူပါ။ MySQL တွင် Multiple ထည့်သွင်းပါ။ MySQL ပြင်ဆင်ထားသည်။ MySQL Data ကို ရွေးပါ။ MySQL ဘယ်မှာလဲ။ MySQL Order By MySQL က Data တွေကို ဖျက်လိုက်ပါ။ MySQL အပ်ဒိတ်ဒေတာ MySQL ကန့်သတ်ဒေတာ

PHP XML

PHP XML ပါဆာများ PHP SimpleXML Parser PHP SimpleXML - ရယူပါ။ PHP XML Expat PHP XML DOM

PHP - AJAX

AJAX နိဒါန်း AJAX PHP AJAX ဒေတာဘေ့စ် AJAX XML AJAX တိုက်ရိုက်ရှာဖွေမှု AJAX စစ်တမ်း

PHP ဥပမာများ

PHP ဥပမာများ PHP Compiler PHP Quiz PHP လေ့ကျင့်ခန်းများ PHP Certificate

PHP အ ကိုးအကား

PHP ခြုံငုံသုံးသပ်ချက် PHP Array PHP ပြက္ခဒိန် PHP နေ့စွဲ PHP လမ်းညွှန် PHP အမှား PHP ခြွင်းချက် PHP ဖိုင်စနစ် PHP Filter PHP FTP PHP JSON PHP သော့ချက်စာလုံးများ PHP Libxml PHP Mail PHP သင်္ချာ PHP ထွေ PHP MySQLi PHP ကွန်ရက် PHP Output Control PHP RegEx PHP SimpleXML PHP Stream PHP String PHP Variable ကိုင်တွယ်ခြင်း။ PHP XML Parser PHP Zip PHP အချိန်ဇုန်များ

PHP Output Control လုပ်ဆောင်ချက်များ


PHP Output Control လုပ်ဆောင်ချက်များ

PHP သည် ဘရောက်ဆာသို့ မည်သည့်အကြောင်းအရာကို ပေးပို့သည်နှင့် မည်သည့်အချိန်တို့ကို ထိန်းချုပ်သည့် လုပ်ဆောင်ချက်အစုံကို ပံ့ပိုးပေးပါသည်။ ၎င်းကို output control ဟုခေါ်သည်။

အထွက်နှုန်းသည် အောက်ပါအရင်းအမြစ်များထဲမှ ထွက်ပေါ်လာနိုင်သည်-

  • echo, print, printf, print_r... နှင့် အခြားသော အလားတူလုပ်ဆောင်ချက်များနှင့် ထုတ်ပြန်ချက်များ
  • PHP မှ သတိပေးချက်များ၊ သတိပေးချက်များနှင့် အမှားအယွင်းများ
  • <?php ?>တဂ်များ ပြင်ပရှိ မည်သည့်အကြောင်းအရာမဆို

PHP နှင့် ၎င်းလုပ်ဆောင်နေသည့် နောက်ခံဖိုင်သည် သုံးစွဲသူထံ မပေးပို့မီ ကြားခံတစ်ခုတွင် အထွက်ကို ထိန်းထားနိုင်သည်။

မှတ်ချက်- အထွက်ထိန်းချုပ်မှုလုပ်ဆောင်ချက်များသည် အထွက်ကြားခံအရေအတွက်ကို ဖန်တီးနိုင်သည်။ ပရိုဂရမ်မှပေးသော output ကိုဖမ်းသောအထွက်ကြားခံများ။ အထွက်ကြားခံအသစ်တစ်ခုစီကို အထွက်ကြားခံအစုတစ်ခု၏ထိပ်တွင် ထားရှိထားပြီး ၎င်းထုတ်ပေးသည့်အထွက်ကို ၎င်းအောက်ရှိ ကြားခံက ဖမ်းမိမည်ဖြစ်သည်။ အထွက်ထိန်းချုပ်မှု လုပ်ဆောင်ချက်များသည် ထိပ်ဆုံးကြားခံကိုသာ ကိုင်တွယ်သည်၊ ထို့ကြောင့် ၎င်းအောက်ရှိ ကြားခံများကို ထိန်းချုပ်ရန်အတွက် ထိပ်ဆုံးကြားခံကို ဖယ်ရှားရပါမည်။

တပ်ဆင်ခြင်း။

PHP output control function များသည် PHP core ၏ တစ်စိတ်တစ်ပိုင်းဖြစ်သည်။ ဤလုပ်ဆောင်ချက်များကိုအသုံးပြုရန် ထည့်သွင်းရန်မလိုအပ်ပါ။


Runtime Configuration

php.ini ရှိ ဆက်တင်များမှ အထွက်ထိန်းချုပ်မှု လုပ်ဆောင်ချက်များ၏ အပြုအမူသည် သက်ရောက်မှုရှိသည်။

Name Default Description Version
output_buffering "0" Enables output buffering for all PHP files by default 4
output_handler NULL Set the name of the default function which handles the output of all output buffers 4
implicit_flush "0" Enables implicit flush, which causes output to be sent directly to the browser on each output statement 4
url_rewriter.tags "a=href,area=href, frame=src,form=,fieldset=" Indicates which HTML tags and attributes can be modified by the URL rewriter (the output_add_rewrite_var() function.) 4.3
url_rewriter.hosts The current value of $_SERVER['HTTP_HOST'] URL rewriting is only done on the server's own URLs by default. To allow for rewriting URLs of other websites, set the hostnames of the other websites here. 7.1

PHP Output Control လုပ်ဆောင်ချက်များ

Method Function
flush() Attempts to send content from the system's output buffer to the browser
ob_clean() Deletes all of the content from the topmost output buffer
ob_end_clean() Deletes the topmost output buffer and all of its contents
ob_end_flush() Deletes the topmost output buffer and outputs its contents
ob_flush() Outputs the contents of the topmost output buffer and clears the buffer
ob_get_clean() Returns all of the contents of the topmost output buffer and clears the buffer
ob_get_contents() Returns the contents of the topmost output buffer
ob_get_flush() Outputs and returns the contents of the topmost output buffer and then deletes the buffer
ob_get_length() Returns the number of bytes of data that are in the topmost output buffer
ob_get_level() Returns a number indicating how many output buffers are on the stack
ob_get_status() Returns information about the output buffers
ob_gzhandler() Used as a callback function for ob_start() to compress the contents of the buffer when sending it to the browser
ob_implicit_flush() Turns implicit flushing on or off
ob_list_handlers() Returns an array of callback function names that are being used by the topmost output buffer
ob_start() Creates a new output buffer and adds it to the top of the stack
output_add_rewrite_var() Used to append query string parameters to any URL in the output
output_reset_rewrite_vars() Removes all variables added by output_add_rewrite_var()