Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, August 2006
QHttp::post(..)


Message 1 in thread

Hi there,

why does that not work?

_______________________________________________________
QByteArray requestdata;
requestdata.append("m=login");
       
m_http->setHost("localhost");
m_http->post("/phpinfo.php", requestdata);

_______________________________________________________

on localhost there is a php script that displays the post data. 
unfortunately these post datas are empty...

has someone an idea?

thanks.

--
 [ signature omitted ]