I am trying to access a file from a server but instead of getting the desired file I get index.php. If I use a URL like http://domain.com/file.mp3 works fine but I need to use a url like "http://domain.com/index.php?security=access_recording".
If I use "http://domain.com/index.php?security=access_recording" in browser I get the correct file. Can anyone help me?
manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)),
this, SLOT(replyFinished(QNetworkReply*)));
manager->get(QNetworkRequest(QUrl("http://domain.com/index.php?security=access_recording")));