1.บันทึกข้อความส่งภายใน ร่างหนังสือ เสนอผู้บริหารลงนาม แสกนเข้าระบบสารบรรณอิเล็กทรอนิกส์ ส่งผ่านระบบสารบรรณอิเล็กทรอนิกส์ นำส่งฉบับจริง
URL-friendly แปลตรงๆ url friendly ก็คือที่อยู่ของเว็บไซต์ที่ดูเป็นมิตร ( กับผู้ใช้ ) เป็นประโยชน์ในการสื่อความหมายและก่อให้เกิดความเข้าใจ ทั้งต่อผู้ใช้งานและบรรดา search engine <?php function slug_url($text) { $text = preg_replace(‘~[^\pL\d]+~u’, ‘-‘, $text); $text = iconv(‘utf-8’, ‘us-ascii//TRANSLIT’, $text); $text = preg_replace(‘~[^-\w]+~’, ”, $text); $text = preg_replace(‘~-+~’, ‘-‘, $text); $text = strtolower($text); $text = trim($text, ” \t\n\r\0\x0B-“); if (empty($text)) { return ‘n-a’; } return $text; } print(slug_url(‘PHP Tutorial’));
mysqli_real_escape_string () / mysqli :: real_escape_string ใช้เพื่อตัดอักขระพิเศษในสตริงเพื่อใช้ในคำสั่ง SQL การเขียนในรูปแบบ : Object oriented style string mysqli::escape_string ( string $escapestr ) string mysqli::real_escape_string ( string $escapestr ) การเขียนในรูปแบบ : Procedural style string mysqli_real_escape_string ( mysqli $link , string $escapestr ) —————————————————————————- Parameter ที่มีการนำมาเข้ารหัส เช่น NUL (ASCII 0), \n, \r, \, ‘, “, and Control-Z. ตัวอย่างรูปแบบ : Object
การสร้าง Token เพื่อใช้ในการส่งข้อมูล เข้าสู่ระบบที่ https://notify-bot.line.me ด้วย Account Line คลิกที่ My Page และเลือก Generate access token (For developers) ตั้งชื่อ Token และ เลือกกลุ่มที่ต้องการสร้าง Token เมื่อได้ Token แล้ว ให้ทำการ Copy ไว้ เนื่องจากระบบ จะไม่แสดง Token นี้ให้เห็นอีกครั้ง จากนั้นในไลน์ จะเห็น line notify เพิ่มขึ้นมาเป็นเพื่อนใหม่ ให้ทำการ invite เข้า ไลน์กลุ่มที่ต้องการ การเขียนโปรแกรม เพื่อส่งข้อมูลให้กับ Line notification ตัวอย่างการเขียนโปรแกรมภาษา PHP เพื่อส่งข้อความ <?php define(‘LINE_API’,”https://notify-api.line.me/api/notify”); $token = “Un2LudBajEKlJs8I7qbWIMkl3f2WjGH56YuDJ9xxxxx”; // ใส่Token
1. nano /etc/mysql/mysql.conf.d/mysqld.cnf 2. ค้นหาคำว่า bind-address = 127.0.0.1 ….. ในกรณีหาไม่พบให้เข้า Path /etc/mysql แล้วใช้คำสั่ง #grep -iR “bind-address” ./* ระบบจะแสดง Path ที่พบคำว่า bind-address แล้วเข้าไปแก้ไขไฟล์นั้น root@freeradius:/etc/mysql# grep -iR “bind-address” ./* ./mysql.conf.d/mysqld.cnf:bind-address = 127.0.0.1 3. ใส่ comment หน้า #bind-address = 127.0.0.1 4. Ctrl+o เซฟ , Ctrl+x ออก 5. สั่ง Restart Service /etc/init.d/mysqld restart
การแก้ไขปัญหาที่เกิดขึ้นจากการใช้งานระบบเครือข่ายคอมพิวเตอร์เบื้องต้น ตอนที่ 1 ผู้ใช้งานไม่ได้เชื่อมต่อสัญญาณอินเตอร์เน็ต เมื่อเข้าเว็บไซต์ www.bsru.ac.th จะขึ้นหน้าจอนี้ วิธีการตรวจสอบและแก้ไขปัญญา ดำเนินการขั้นตอน ดังต่อไปนี้ ขั้นตอนที่ 1 ตรวจสอบการเชื่อมต่อสัญญาณอินเตอร์เน็ตของเครื่องคอมพิวเตอร์ ให้เข้าสู่หน้าจอ Network and Center โดยคลิก Start > Control Panel ดังภาพ หมายเลข 1 , 2 แสดงการเข้าสู่หน้าจอ Control Panel ขั้นตอนที่ 2 เมื่อเข้าสู้หน้าจอ Control Panel เรียบร้อยแล้ว ให้คลิกเลือก Network and Sharing Center ดังภาพ แสดงหน้าจอ All Control Panel Items ขั้นตอนที่ 3 เมื่อเข้าสู้หน้าจอ Network and Sharing
ใน Windows 10 การเพิ่ม Guest จะไม่มี Interface ในการเพิ่มจะต้องเพิ่มผ่าน Command line วิธีการตามนี้ พิมพ์ในช่องค้นหา command prompt แล้วคลิกขวา เลือก Run as administrator 2. กดยืนยันการทำงาน 3. ใช้คำสั่ง net user Visitor /add /active:yes 4. ใช้คำสั่ง net user Visitor * 4.1 ระบบจะถาม Password ถ้าไม่ต้องการใส่ Password ให้กด Enter ข้ามไป 2 ครั้ง 5. ใช้คำสั่ง net localgroup users
alice@u16:~$ sudo vi /etc/php/7.0/fpm/php.ini ; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 128M ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 128M **************************************************************************** แบบ