ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/caliberembedded.com/new/admin/api/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/caliberembedded.com/new/admin/api/api.php

<?php include"../config/config.php"; 
if($_POST['type']=="update_as_viewed_profile"){
     try{
         $statement = $pdo->prepare("INSERT INTO `tbl_view_profile`(`member_id`,`view_member_id`) VALUES (?,?)");
        $result=$statement->execute(array($_POST['member_id'],$_POST['view_member_id']));
        if($result==1)
        	{
        	    $message='Success..';
        	    $error='1';
        	}
        	else
        	{
        	    $message='Failed..';
        	    $error='0';
        	}
		//$datas[] = array('message' => $message, 'error' => $error);                   
        echo $message;
}catch(exception $e){
    echo $e;
}
}




?>

Zerion Mini Shell 1.0