<?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>Tue, 24 Jan 2012 09:17:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<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-1790</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 May 2011 12:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-1790</guid>
		<description>If you use e.g. HyperTerminal does everything work correctly (i.e. able to open the port)?  Could be worth testing another COM port (e.g. COM1) if you have any available and see what results you get.  That would help narrow down the issue to a specific COM port, or the script.  Also as mentioned in the update on the post Serproxy, or PHP serial extension could be a more widely compatible option worth looking into.</description>
		<content:encoded><![CDATA[<p>If you use e.g. HyperTerminal does everything work correctly (i.e. able to open the port)?  Could be worth testing another COM port (e.g. COM1) if you have any available and see what results you get.  That would help narrow down the issue to a specific COM port, or the script.  Also as mentioned in the update on the post Serproxy, or PHP serial extension could be a more widely compatible option worth looking into.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Architectz</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-1788</link>
		<dc:creator>Architectz</dc:creator>
		<pubDate>Sat, 14 May 2011 03:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-1788</guid>
		<description>Hello, My gsm modem is connected on COM10 and when I run your script I get.
Warning: fopen(COM10:) [function.fopen]: failed to open stream: Invalid argument

Please help me</description>
		<content:encoded><![CDATA[<p>Hello, My gsm modem is connected on COM10 and when I run your script I get.<br />
Warning: fopen(COM10:) [function.fopen]: failed to open stream: Invalid argument</p>
<p>Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</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-1274</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Tue, 14 Dec 2010 12:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=147#comment-1274</guid>
		<description>Thanks for the code,
Works perfectly on windows (used wamp).</description>
		<content:encoded><![CDATA[<p>Thanks for the code,<br />
Works perfectly on windows (used wamp).</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

