<?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: Sending an SMS Message with a GSM Modem using PHP</title>
	<atom:link href="http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/</link>
	<description>Freelance website and web application developer</description>
	<lastBuildDate>Sun, 29 Aug 2010 20:20:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aaron</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-684</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sun, 29 Aug 2010 20:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-684</guid>
		<description>Great script, works on Windows.

I have tested it with a Wavecom M1306B.

Thanks for sharing the script, I managed to find a lot for Linux PHP modems on the Internet, but this is the only one so far for Windows PHP that works.</description>
		<content:encoded><![CDATA[<p>Great script, works on Windows.</p>
<p>I have tested it with a Wavecom M1306B.</p>
<p>Thanks for sharing the script, I managed to find a lot for Linux PHP modems on the Internet, but this is the only one so far for Windows PHP that works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-154</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 13 Dec 2008 22:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-154</guid>
		<description>Could perhaps try the below, apart from that I am not sure -  however please post if you find a solution.

while (!feof($this-&gt;fp)) {
  $this-&gt;buffer .= fread($this-&gt;fp, 1024);
}</description>
		<content:encoded><![CDATA[<p>Could perhaps try the below, apart from that I am not sure &#8211;  however please post if you find a solution.</p>
<p>while (!feof($this->fp)) {<br />
  $this->buffer .= fread($this->fp, 1024);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-153</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Fri, 12 Dec 2008 20:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-153</guid>
		<description>Hi,

I&#039;ve been working on this and so far I&#039;ve figured out to work to the point where it will open the port.  
However, once it gets to wait_reply() function, it gets stuck.  Meaning that it web browser just keeps on loading without ping out.  The problem occurs in $this-&gt;buffer .= fread($this-&gt;fp, 1024); here...  It seems like PHP can not read the port.

Do you have any idea that may be helpful to this?

--- Young</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve been working on this and so far I&#8217;ve figured out to work to the point where it will open the port.<br />
However, once it gets to wait_reply() function, it gets stuck.  Meaning that it web browser just keeps on loading without ping out.  The problem occurs in $this-&gt;buffer .= fread($this-&gt;fp, 1024); here&#8230;  It seems like PHP can not read the port.</p>
<p>Do you have any idea that may be helpful to this?</p>
<p>&#8212; Young</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-152</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Mon, 08 Dec 2008 21:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-152</guid>
		<description>I see that I am &quot;nobody&quot; trying to access from PHP side and /dev/ttyS0 is owned by &quot;root&quot; with group named &quot;uucp&quot;

I strongly think that this is the only issue that can cause all this mass...  That&#039;s what I&#039;ve found so far...</description>
		<content:encoded><![CDATA[<p>I see that I am &#8220;nobody&#8221; trying to access from PHP side and /dev/ttyS0 is owned by &#8220;root&#8221; with group named &#8220;uucp&#8221;</p>
<p>I strongly think that this is the only issue that can cause all this mass&#8230;  That&#8217;s what I&#8217;ve found so far&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-151</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Mon, 08 Dec 2008 21:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-151</guid>
		<description>Yes...
Everything works as expected in linux terminal.
When it becomes PHP that try to run the command line, it gives me the problem.

I did some research regarding this and there is a thing called suPHP.  I am seeking to install this into my linux machine.  What are you thoughts on this?

--- Young</description>
		<content:encoded><![CDATA[<p>Yes&#8230;<br />
Everything works as expected in linux terminal.<br />
When it becomes PHP that try to run the command line, it gives me the problem.</p>
<p>I did some research regarding this and there is a thing called suPHP.  I am seeking to install this into my linux machine.  What are you thoughts on this?</p>
<p>&#8212; Young</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-150</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Dec 2008 20:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-150</guid>
		<description>I would suggest first trying to confirm where the issue is, did you try running it as root on the command line, did it work?</description>
		<content:encoded><![CDATA[<p>I would suggest first trying to confirm where the issue is, did you try running it as root on the command line, did it work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-149</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Mon, 08 Dec 2008 19:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-149</guid>
		<description>I just tried

exec(&quot;sudo stty -F /dev/ttyS0 9600&quot;, $output, $retval); 

Same error..  

Am I missing something or doing something wrong here??

I really appreciate for your time 

-- Young</description>
		<content:encoded><![CDATA[<p>I just tried</p>
<p>exec(&#8220;sudo stty -F /dev/ttyS0 9600&#8243;, $output, $retval); </p>
<p>Same error..  </p>
<p>Am I missing something or doing something wrong here??</p>
<p>I really appreciate for your time </p>
<p>&#8211; Young</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-148</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Mon, 08 Dec 2008 19:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-148</guid>
		<description>I kinda know that su/sudo makes it root.
How do I utilize this from PHP script.  
I know.. I am being little lack of knowledge here..

--- Young</description>
		<content:encoded><![CDATA[<p>I kinda know that su/sudo makes it root.<br />
How do I utilize this from PHP script.<br />
I know.. I am being little lack of knowledge here..</p>
<p>&#8212; Young</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-147</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Dec 2008 19:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-147</guid>
		<description>How are you running the script, command line as the root user?  If not I would suggest trying that.</description>
		<content:encoded><![CDATA[<p>How are you running the script, command line as the root user?  If not I would suggest trying that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Young Kim</title>
		<link>http://www.ns-tech.co.uk/blog/2008/11/sending-an-sms-message-with-a-gsm-modem-using-php/comment-page-1/#comment-146</link>
		<dc:creator>Young Kim</dc:creator>
		<pubDate>Mon, 08 Dec 2008 19:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-146</guid>
		<description>I am keep on getting permission failed error.


Warning: fopen(/dev/ttyS0) [function.fopen]: failed to open stream: Permission denied in /opt/lampp/htdocs/testSMSLinuxVer.php on line 39

When I try to list /dev from PHP, it give out zero.
What am I missing here?

Any idea?  Sorry to keep bothering you.

--- Young</description>
		<content:encoded><![CDATA[<p>I am keep on getting permission failed error.</p>
<p>Warning: fopen(/dev/ttyS0) [function.fopen]: failed to open stream: Permission denied in /opt/lampp/htdocs/testSMSLinuxVer.php on line 39</p>
<p>When I try to list /dev from PHP, it give out zero.<br />
What am I missing here?</p>
<p>Any idea?  Sorry to keep bothering you.</p>
<p>&#8212; Young</p>
]]></content:encoded>
	</item>
</channel>
</rss>
