<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pi Webpage Reboot</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/pi-webpage-reboot</link><description>I have recently set up a LAMP Raspberry Pi and am using this at work to monitor some servers (see Raspberry PI as a LAMP server and PI as a Web Server Monitor) I&amp;#39;m running it &amp;#39;headless&amp;#39; (i.e. without a keyboard or mouse attached). This is fine until I</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pi Webpage Reboot</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/pi-webpage-reboot</link><pubDate>Thu, 12 May 2016 07:04:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d9aead8d-becf-4121-ab49-04f5213a8d86</guid><dc:creator>PEarle</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;m afraid I haven&amp;#39;t got access to the original code any more - however, the main function is to be able to issue the reboot command from a web page - the rest of the article just deals with some bells and whistles to make it look nicer, etc. The functionality to allow a php page to issue the reboot command is dealt with in the first code example on this blog post (i.e. under the heading&lt;strong&gt; Python Script&lt;/strong&gt;). If you look at that, followed by the section &lt;strong&gt;PHP Code&lt;/strong&gt;, it should be enough to explain how to get the function up and running.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17446&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pi Webpage Reboot</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/pi-webpage-reboot</link><pubDate>Wed, 11 May 2016 20:16:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d9aead8d-becf-4121-ab49-04f5213a8d86</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is exactly what I would like to do to cancel or reboot to stop a headless timelapse running. But as a previous contributor has said the downloads do not appear to be complete. Please can someone help?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17446&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pi Webpage Reboot</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/pi-webpage-reboot</link><pubDate>Sat, 12 Mar 2016 18:33:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d9aead8d-becf-4121-ab49-04f5213a8d86</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thanks for this tutorial. In the final setup should there be one, two, or three separate php files? Your attached documents include rebootaction.php and rebootprompt.php, but should there also be a reboot.php that calls the rebootprompt.php?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am able to get a basic web reboot using your python script and the three separate pieces of code (starting with &amp;quot;Output a button&amp;quot; above) put into a reboot.php file, but I am not able to get the &amp;quot;Server is rebooting...&amp;quot; message, or timer and cancel options, etc. My pi immediately reboots and the page reloads with an error message. Thanks for your help.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17446&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Pi Webpage Reboot</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/pi-webpage-reboot</link><pubDate>Wed, 23 Jul 2014 04:18:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d9aead8d-becf-4121-ab49-04f5213a8d86</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This looks great, and exactly what I need. sadly, it looks like the .zip files are no longer up. Is there any other way of getting them from you. In the meantime I will have a go at compiling them from you awesome post.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17446&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>