Level One - Unlock Your Career in Manufacturing - SampleAnanth Palaniappan
Many studies in India state that more than 90% of engineers are not readily employable, resulting in poor understanding of the shop floor, reduced productivity and resulting in poor business performance of the companies.
Level One is a detailed guide on providing induction training to engineers and graduates joining the manufacturing sector in India, which is not covered in any curriculum. This book will help in understanding the fundamentals of various functions, job responsibilities, various tools and techniques, MIS reports and the analysis to be done, thus serving as an Induction Kit for new employees.
Visit www.levelone.co.in to read about the book and order
Buy this book here: https://notionpress.com/read/level-one
สไลด์ประกอบการบรรยายในหัวข้อ "Introduction to PHP programming" สำหรับบุคคลทั่วไปของศูนย์เทคโนโลยีอิเล็กทรอนิกส์และคอมพิวเตอร์แห่งชาติ ในหลักสูตร LAMP training
เราสามารถเข้าสู่ internet ได้อย่างไรถ้าเราอยู่ที่บ้านหรือห้อพักของเรา
ต้องใช้อุปกรณ์อะไรบ้าง
หลังการทำงานของอุปกรณ์และคอมพิวเตอร์ในการเชื่อมต่อ internet
ประเภทของอุปกรณ์
เทคโนโลยีการส่งข้อมูล
2. Application
FTP Telnet WWW DNS
Server Server Server Server
TCP Port TCP Port :80 TCP Port :53
TCP Port :23
20,21
Windows socket Interface
Host to Host
TCP UDP
Internet
IP
Network
3. Application Layer
การทำางานของโปรโตคอลชันนี้จะเป็นการ
้
เข้าใช้ทรัพยากร
ระยะไกล (Remote Access) และการแชร์ใช้
ทรัพยากร
HTTP (Hyper Text Transfer Protocol)
(Resource บส่งไฟล์เว็บเพจ ระหว่างเว็บบราวเซอร์
ใช้สำาหรับการรั Sharing) โปรโตคอลที่อยู่ใน
และเว็บเซิรนี้ได้แก่
Layer ์ฟเวอร์
SMTP (Simple Mail Transfer Protocol)
ใช้สำาหรับการรับส่งอีเมล์ระหว่างเมล์เซอร์เวอร์
6. Web Server
เว็บเซิรฟเวอร์ (Web Server) คืออะไร
์
เครื่องบริการเว็บไซต์ หรือเว็บเพจผ่าน http://.. .. ..
เพื่อให้ได้ข้อมูลทั้งภาพ เสียงจาก
ผูให้บริการ เช่นบริการ http://www.google.com ที่เปิด
้
บริการเว็บจากเครื่องให้บริการที่
เรียกว่า Web Server สำาหรับบทความ หรือข้อมูลในหน้านี้
ให้ข้อมูลเกี่ยวกับการทำา
Web Server ด้วย โปรแกรมต่าง ๆ Web Server ที่เป็นที่
นิยมได้แก่ PWS, IIS และ Apache
บริการเว็บเซิร์ฟเวอร์ จะมีบริการเสริมต่าง ๆ สำาหรับนัก
พัฒนา ที่ทำาให้เว็บไซต์
7. Apache คืออะไร
Apache คือ โปรแกรม ที่ทำาหน้าที่เป็น web
server ที่มีผู้ใช้ทั่วโลกมากกว่า 60 % มีหน้าที่
ในการจัดเก็บ Homepage และส่ง Homepage
ไปยัง Browser ที่มีการเรียกเข้า ยัง Web
server ที่เก็บ HomePage นันอยู่ซึ่งปัจจุบนจัด
้ ั
ได้ว่าเป็น web server ที่มี ความน่าเชื่อถือมาก
ซึ่งสามารถหามา Download ได้จาก website
www.apache.org
8. Web Architecture
Apache
Web Server
TCP/IP Port:80
Via Web Brower
TCP/IP
Port:80
Interne
t TCP/IP
Port:3306
Data base MySQL
9. Web Architecture (3)
Apache
Get / Post Web Server
Web HTML include
Brower Document Php engine
MySQL Database
TCP/IP PHP
Port:3306 Document
Grant Allow for Php Configuration
Connect via with
Apache and PHP MySQL Library
23. Introduction for PHP
PHP: Hypertext Preprocessor
<html>
<head>
<title>Example</title>
</head>
<body>
Say by HTML <br>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
24. Introduction for PHP
ทำาการแสดงผลเป็นเอกสารรูปแบบ HTML
Document
<html>
<head>
<title>Example</title>
</head>
<body>
Say by HTML <br>
Hi, I'm a PHP script!
</body>
</html>
25. Introduction for PHP
Function print() and echo()
การแสดงผลข้อมูล/ ข้อมูล
print “Hello”;
echo “Hello”;
หรือ
print (“Hello”);
echo (“Hello”);
30. Dealing with Forms
A simple HTML form
File name :test.php
<form action="action.php" method="post">
Your name: <input type="text" name="name" /> <br>
Your age: <input type="text" name="age" /> <br>
<input type="submit" /> <br>
</form>
File name :action.php
Hi <?php echo $name; ?>.
You are <?php echo $age; ?> years old.
Out put from this script
Hi Joe. You are 22 years old.