Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By zecanilis
#40130
eduperez wrote:Well, you sketch is programmed to stop on the first ">" character it encounters; have a look at the source code for the web page that your PHP script produces, and see the ">" at the end of the DOCTYPE tag.


No, that's for search the ">" after sending the comand length.
I only request the page if ">" appears.
User avatar
By eduperez
#40150 This is the output from your PHP script:
Code: Select all<!DOCTYPE html PUBLIC
  "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Temperaturas</title>
  </head>
  <body>

<table>
<tr><td>KB:18.6&#176&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp MB:18.7&#176;</td></tr>
<tr><td>Sala:20.1&#176&nbsp&nbsp Ext.:13.8&#176;</td></tr>
<tr><td>Power: 239 W</td></tr>
</table>
</body>
</html>


Notice how that text matches what you see on your LCD.