<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Execute shell commands in PHP	</title>
	<atom:link href="https://www.binarytides.com/execute-shell-commands-php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/execute-shell-commands-php/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Mon, 10 Dec 2018 18:53:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Carl		</title>
		<link>https://www.binarytides.com/execute-shell-commands-php/comment-page-1/#comment-171729</link>

		<dc:creator><![CDATA[Carl]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 18:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1535#comment-171729</guid>

					<description><![CDATA[Hi Silver,
Your code is pretty cool!  Works as expected when tested, but the results are useless since they are not revealing the expected methods that execute the command in the terminal as you have mentioned for the purpose of using the code.  What should be expected is an array of the methods that passes the test which mean those methods are available to execute a command.
Example: 
return array(&#039;system_&#039;=&#062;&#039;disabled&#039;, &#039;passthru_&#039;=&#062;passthru&#039;, &#039;exec_&#039;=&#062;&#039;exec&#039;, &#039;shell_exec_&#039;=&#062;&#039;disabled&#039;, &#039;error_&#039;=&#062;&#039; &#039;);
Then your code will be a lot more robust and functional by using the &quot;in_array() function for a command method to use.]]></description>
			<content:encoded><![CDATA[<p>Hi Silver,<br />
Your code is pretty cool!  Works as expected when tested, but the results are useless since they are not revealing the expected methods that execute the command in the terminal as you have mentioned for the purpose of using the code.  What should be expected is an array of the methods that passes the test which mean those methods are available to execute a command.<br />
Example:<br />
return array(&#8216;system_&#8217;=&gt;&#8217;disabled&#8217;, &#8216;passthru_&#8217;=&gt;passthru&#8217;, &#8216;exec_&#8217;=&gt;&#8217;exec&#8217;, &#8216;shell_exec_&#8217;=&gt;&#8217;disabled&#8217;, &#8216;error_&#8217;=&gt;&#8217; &#8216;);<br />
Then your code will be a lot more robust and functional by using the &#8220;in_array() function for a command method to use.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: !Shoorf		</title>
		<link>https://www.binarytides.com/execute-shell-commands-php/comment-page-1/#comment-67915</link>

		<dc:creator><![CDATA[!Shoorf]]></dc:creator>
		<pubDate>Tue, 14 Apr 2015 10:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1535#comment-67915</guid>

					<description><![CDATA[Hi Silver Moon,

Thank you for article. But please in example above:

if($status == 0)
With:
if($o[&#039;status&#039;] == 0)]]></description>
			<content:encoded><![CDATA[<p>Hi Silver Moon,</p>
<p>Thank you for article. But please in example above:</p>
<p>if($status == 0)<br />
With:<br />
if($o[&#8216;status&#8217;] == 0)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
