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 | |
/** | |
* | |
* Code was adapted from SitePoint | |
* http://www.sitepoint.com/forums/showthread.php?697857-Copy-mysql-table-from-one-server-to-another-through-php&s=b5b25e09ff44749d2e49e0d7c1640fd8&p=4680578&viewfull=1#post4680578 | |
* | |
*/ | |
// Prevent script from timing out | |
set_time_limit(0); |
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
var timeInit = new Date(); | |
var Nightmare = require('nightmare'); | |
// Dados de acesso | |
var Aluno = { | |
usuario : 'seu_usuario', | |
senha : 'sua_senha', | |
unidade : '1' // número da unidade, ex.: 63 | |
}; |