Go Down

Topic: Error getting data from web  (Read 1 time) previous topic - next topic

franklinPCDC

Hello.
Someone can help me with my problem. I'm trying to get data from a web page using an Arduino UNO and Ethernet shield, but when I try to get the response in the Serial Monitor, it shows:


<noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript>


But in the web page only print 'HELLO WORLD' using PHP code.

How I can solve the problem?

rw950431

Is the web page public?  If so what is the address?

If not perhaps you can access the page from your browser and "view source" then post the code (use the code tags </>)

Its likely that your web page is using some javascript libraries for special effects that are not visible to the user.


zoomkat

Quote
How I can solve the problem?
Post a link to the page and your code using the below guidance.

http://forum.arduino.cc/index.php/topic,148850.0.html
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

Vibhutha

I have same problem..
Please help..

SurferTim

Is your site hosted by your own server? Or is it a web hosting company?
Load the web page with a web browser like IE or Firefox. Right click and select "View source". Post it.
Post the php code for the page.
Post the Arduino code you use that gives you that message.

Vibhutha

No.. It is hosted by a free host.. 'byethost7.com'..

The page only has "_t11159##_d1129##_d284##" these charactors..
But when i called it from arduino serial monitor using client.println(GET *********************.com HTTP/1.0)
It wont come.. :(

SurferTim

#6
May 08, 2016, 09:41 am Last Edit: May 08, 2016, 09:48 am by SurferTim
If it is "free", then I presume the web hosting company makes their money from advertising. That is why the JavaScript requirement. I presume that is how they put ads on your web page.

When you visit your web page with a web browser, are there advertisements on the page? Normally there are with "free" hosting.

If no ads, then they require JavaScript for web statistics like traffic counts.

edit: I don't understand this:
"The page only has "_t11159##_d1129##_d284##" these charactors.."
HTML docs are in text.

mart256

Post server code and arduino code...

tom1215

Does anyone find out the solution?

Go Up