java - Cant access htaccess protected php script from android application -


i running webserver put .php file access mysql database. dont want .php file viewed public put .htaccess on containing folder.

now i want pass account name , password in url doesnt work.

httppost post = new httppost("http://accname:password@server.com/admin/myfile.php"); 

but when call url out of browser work. pretty lost - there doing wrong ?


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -