Originally Posted by divanov
Divanov thank u very much .. Now My repetation problem of Msg Box Is solved
I have placed the code:
One more thing is there any problem in getting "false" as string reply from PHP server.Because When I hit URL I am able to Display UID =1 as reply in MSG BOX. But When "false" is sent as reply I get Empty String I have debugged my application and seen it.
connect(nam,SIGNAL(finished(QNetworkReply*)),this,SLOT(finishedSlot(QNetworkReply*))); when I create QNetworkAccessManager.And removed it from loginCheck() SLOT
When UID =2 is returned I get:
When false is returned I get:
string = L"\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\tUID =2"
Below is the URL:
string = L"\r\n\r\n\t\t"
It gives false as reply.But I am getting empty string in :
Thanks once Agian
QByteArray bytes = reply->readAll();
QString string(bytes); // string
QString tristr= string.trimmed();