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

Moderator: igrr

User avatar
By passa1248
#48229 Hi all!
i'm italian so sorry for my bad english T.T

I need help about a HTTP request to a my website that not responding.
The commands that run on the module are these:

Code: Select allAT+RST ' reset module

RESPONSE:

OK
cþcÏRSWâjÓjÊWfg{[úâêê
[Vendor:www.ai-thinker.com Version:0.9.2.4]
ready

AT+CWJAP="XXXX","XXXXXXX" 'connect to wifi

RESPONSE:

OK

AT+CIPMUX=0  'single connection

RESPONSE:

OK

AT+CIFSR 'return  l'IP

RESPONSE:
192.168.43.184
OK

AT+CIPSTART="TCP","www.bloggersite.altervista.org",80  ' connection

RESPONSE:
OK
Linked

AT+CIPSEND=77 'length to send

RESPONSE:
>

GET /prova.php?valore=ciao HTTP/1.0\r\nHost: www.bloggersite.altervista.org\r\n\r\n ' data to send

RESPONSE:
SEND OK


But not send or receive data...

the .php page that should receive the data is this:

Code: Select all<?php
$valore = $_GET['valore'];
$f = fopen("a.html", "a");
fwrite ($f,$valore);
fclose($f);
echo $valore;
?>


the website is hosted to altervista that is a free hosting

Any Idea?
thanks in advice! ^^
User avatar
By Eike999
#48291 Could you find any solution? I am having the same problem, just a "SEND OK" but no response and no register of the GET request
User avatar
By eduperez
#48319 I just put "http://www.bloggersite.altervista.org/prova.php?valore=ciao" in my browser, and successfully received an empty page... I think you should test your PHP code before trying it from the ESP.