You are not logged in.

Search results

Search results 1-2 of 2.

Tuesday, July 6th 2004, 10:45am

Author: Sheraz

Help required for KIO's http_post

Hello this is my second post in this sequence...as im unable to Post the form variable in KIOS's http_post call my code look like following: m_urlHost = KURL(); m_urlHost.setProtocol("http"); m_urlHost.setHost("myserver.com"); m_urlHost.setPath("/test.php"); m_PostData = "txtname='SAK'"; // form varialble to post QByteArray postByteData; postByteData.setRawData(m_PostData, m_PostData.length() ); m_httpPostJob = KIO::http_post( m_urlHost, postByteData, false ); // return * KIO::Transfer m_httpPos...

Monday, April 7th 2003, 11:08am

Author: Sheraz

How to HTTP Upload Using KIO

With the Help of KIO and KURL i would like to upload a text file for HTTP.... can any1 pls locate me the example code... PS: (i have used http_post successfull that post the values of text fields but the value of File field is left to be uploaded or posted ) Regards Sheraz