Hi all i have this code in B4A: 
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
This is code PHP (dbpwtestmultipart.php):
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Res return anyway "Error" also if $pw is = marco
Any idea ?
Thanks
Marco
			
			
			
				B4X:
			
		
		
		Sub ExecuteRemoteQuery(Query As String, JobName As String)
    Dim job As HttpJob
    job.Initialize(JobName, Me)
    job.PostMultipart("http://www.xxxx.eu/yyyy/dbpwtestmultipart.php", CreateMap("pw":marco), Null )
End Sub
Sub JobDone(Job As HttpJob)
    ProgressDialogHide
    If Job.Success Then
    Dim res As String
        res = Job.GetString
        Log("Response from server: " & res)
    Else
         Log( Job.ErrorMessage)
     End If
    Job.Release
End SubThis is code PHP (dbpwtestmultipart.php):
			
				B4X:
			
		
		
		<?
$check = $_POST["pw"];
if ($check == "marco"){
     echo "entro";
    }
else
    {
echo "Error";
echo $pw;
}
?>Res return anyway "Error" also if $pw is = marco
Any idea ?
Thanks
Marco
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		