|
 |
|
อยากรู้ว่า php สามารถสั่ง restart เครื่อง ได้หรือเปล่าครับ |
|
 |
|
|
 |
 |
|
จะเอาไปทำไม 
|
 |
 |
 |
 |
Date :
2009-10-12 21:34:33 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ทำได้ครับ
ศึกษา shell_exec();
|
 |
 |
 |
 |
Date :
2009-10-12 22:14:02 |
By :
trans |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
น้องเขาจะเอาไปสั่งปิดเครื่องพี่ปลากริม เล่นๆ แน่เลย อิอิอิ
|
 |
 |
 |
 |
Date :
2009-10-12 22:17:46 |
By :
NanoThoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
น่ากลัว 
|
 |
 |
 |
 |
Date :
2009-10-12 22:19:45 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
 
|
 |
 |
 |
 |
Date :
2009-10-12 23:09:42 |
By :
apicha31 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ได้ครับ แต่ Linux นะ win ไม่รู้อิอิ
Code (PHP)
<?php
exec("sudo /sbin/shutdown -h now");
?>
Code (PHP)
<?php;
exec("sudo /sbin/shutdown -r now");
?>
|
 |
 |
 |
 |
Date :
2009-10-13 01:11:18 |
By :
Masterhacker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขออนุญาต อย่างเดียวครับ
|
 |
 |
 |
 |
Date :
2009-10-13 01:37:23 |
By :
suriya_puk |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เค้าอาจจะสั่งให้ Web Server รีสตาร์ทตัวเองเวลามีใครเข้ามาสะกิด Data ขำๆๆ
|
 |
 |
 |
 |
Date :
2009-10-13 06:41:58 |
By :
panyapol |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
น่าสนใจเหอๆ แต่เครื่องเรามาน windows server 2003
|
 |
 |
 |
 |
Date :
2009-10-13 08:07:22 |
By :
gummezaka |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|

|
 |
 |
 |
 |
Date :
2009-10-13 09:50:56 |
By :
deawx |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
พี่เดี่ยวหาเรื่องมาต่อยกันป่าว เดี๋ยวเค้าให้อั๋นเครียร์ ( คนบ้านเดี๋ยวกันน่าจาเครียร์ง่าย ...555+)
|
 |
 |
 |
 |
Date :
2009-10-13 14:06:42 |
By :
gummezaka |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อิอิ ให้พี่ มีมี่ เครียร์เลยหรอว่าแต่เรื่องอะไรนั้นหล่ะหาประเด็น กระทู้เริ่มออกทะเลแล้วนะครับ นี้ๆว่าแต่พี่มีมี่บ้านไหนหรอคงไม่ใช่บ้านเดียวกับผมนะอิอิ อิอิ
|
 |
 |
 |
 |
Date :
2009-10-13 17:53:51 |
By :
Masterhacker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มีมี่ hottt !!!
|
 |
 |
 |
 |
Date :
2009-10-13 18:39:50 |
By :
// |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ในรูปนั้น ส่งเสริมคนอื่น ให้เขียนถูก
แต่ดันกลับเขียนผิดเอง
555+
"สมัยนี้เค้าไม่ไช่ภาษาวิบัติ"
เค้า มาจากไหนอะ
แล้ว ไม่ไช่ นั้นคือ ไม่ใช้
แหม รูปนี้ ต้องเปลียนโดยด่วนนะเนี้ย 555+ 
|
 |
 |
 |
 |
Date :
2009-10-13 22:05:53 |
By :
danya |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 04
|