This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$URL = 'http://example.com/login.php'; | |
$user = 'USER'; | |
$pass = 'PASS'; | |
$cookie_path = dirname(__FILE__).'/cookie.txt'; | |
/** | |
* Hace login en la web enviando un POST con el usuario y contraseña. |