<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1178911&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Execution d'un script PHP]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1178911</link>
		<description><![CDATA[Les sujets les plus récents dans Execution d'un script PHP.]]></description>
		<lastBuildDate>Tue, 29 Jan 2013 09:37:13 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381601#p12381601</link>
			<description><![CDATA[<p>Le plus simple est d&#039;importer le fichier csv dans un tableur et de formater les ordres insert via le tableur.</p>]]></description>
			<author><![CDATA[dummy@example.com (mazarini)]]></author>
			<pubDate>Tue, 29 Jan 2013 09:37:13 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381601#p12381601</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12377721#p12377721</link>
			<description><![CDATA[<p>Bonsoir ; je souhaiterais importer une nouvelle base de données à MySql cette base de données provient de mon compte google et contient mes contacts le souci c&#039;est qu&#039;elle est au format CSV et je souhaiterais la convertir au forma sql. </p><p>quelqu&#039;un a il ne réponse est ce possible ?</p>]]></description>
			<author><![CDATA[dummy@example.com (electro.ms)]]></author>
			<pubDate>Mon, 28 Jan 2013 20:37:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12377721#p12377721</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12376921#p12376921</link>
			<description><![CDATA[<p>Ah c&#039;était ça!! Bien vu bruno.</p><p>Merci beaucoup.</p><p>Ce qu&#039;il y a d&#039;étrange ce que ce script fonctionnait sur la 11.10 mais le passage a la 12.04 et 12.10 impose le chemin absolu.</p><p>A bientôt!</p>]]></description>
			<author><![CDATA[dummy@example.com (fanlou)]]></author>
			<pubDate>Mon, 28 Jan 2013 19:24:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12376921#p12376921</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12348141#p12348141</link>
			<description><![CDATA[<p>Essaie avec le chemin complet :</p><p>/sbin/shutdown</p>]]></description>
			<author><![CDATA[dummy@example.com (bruno)]]></author>
			<pubDate>Sat, 26 Jan 2013 07:36:35 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12348141#p12348141</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12342621#p12342621</link>
			<description><![CDATA[<p>Merci de ton intérêt pour mon petit problème.</p><p>Pour ce qui est du sudoers j&#039;ai mis les droits a www-data afin qu&#039;il puisse couper le système le script.</p><p>Le phpinfo fonctionne, j&#039;ai oublié de signaler que le SAFEMODE est sur OFF.</p><p>Php fonctionne aussi puis ce que lorsque je lance dans une console </p><div class="codebox"><pre><code>php /var/www/shutdown.php</code></pre></div><p> le pc s&#039;éteind...</p><p>Et en fait c&#039;est un serveur que j&#039;ai recuperer que j&#039;utiliserai en perso, et j&#039;aimerai l&#039;éteindre rapidement sans avoir a me connecter via SSH ou VNC, voila pourquoi je souhaite établir ce genre de script.</p><p>Merci pour les infos.</p>]]></description>
			<author><![CDATA[dummy@example.com (fanlou)]]></author>
			<pubDate>Fri, 25 Jan 2013 17:11:59 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12342621#p12342621</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12340021#p12340021</link>
			<description><![CDATA[<p>C&#039;est le user apache qui doit etre dans le sudoers avec no passwd<br />Est ce que c est le cas ? <br />De plus est ce que apache/php fonctionne ? <br />Remplace ton code par phpinfo() ; et regarde si c est bien interprété.<br />C&#039;est tout de meme un peu space de faire un shutdown via une URL !</p>]]></description>
			<author><![CDATA[dummy@example.com (akaoni)]]></author>
			<pubDate>Fri, 25 Jan 2013 13:35:18 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12340021#p12340021</guid>
		</item>
		<item>
			<title><![CDATA[Execution d'un script PHP]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12338541#p12338541</link>
			<description><![CDATA[<p>Bonjour,</p><p>Voila, j&#039;ai effectué un petit script Php du genre, </p><div class="codebox"><pre><code>&lt;?php
shell_exec(&#039;sudo shutdown -h now&#039;);
?&gt;</code></pre></div><p>J&#039;ai bien ajouter divers user au sudoers pour lancer la commande shutdown sans avoir a entrer le mdp.</p><p>Le fichier est en full access et executable.</p><p>Lorsque je lance dans une console :</p><div class="codebox"><pre><code>php /var/www/shutdown.php</code></pre></div><p>Le pc s&#039;eteind comme demandé. </p><p>Cependant lorsque dans firefox en local je tape : http://localhost/shutdown.php</p><p>Rien ne se passe. Et en remote c&#039;est pareil avec l&#039;adresse ip du serveur.</p><p>Avez vous des idées ?? Je suis sur la derniere LTS. (12.04)</p><p>Merci par avance.</p>]]></description>
			<author><![CDATA[dummy@example.com (fanlou)]]></author>
			<pubDate>Fri, 25 Jan 2013 11:36:02 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12338541#p12338541</guid>
		</item>
	</channel>
</rss>
