Can anyone make me or tell me how to make a script which will:
1)login WITH my ID/USERNAME AND PASWORD to mig33 (mig33.com/login.php)(web version not wap) OR JUST MAKE MY ID ONLINE in mig33.
2)Make my id stay logged in and online.
3)my id should be online 24/7(or as long as my hosting server is online)
4)MY ID SHOULD BE ONLINE EVEN WHEN I AM NOT IN my script, site, or MIG33.
5)my id should be online using some script, php or what ever, cronjobs or any cpanel supported serverside thing. **making the script may be very easy or very difficult, i dont know, if u make it for me free ill be evergreatfull and give u 2$ in paypal.(i know its a low ammount,but its a little appretiation) . THANKS IN ADVANCE.
***i think this might help anyone who will try to help me in this:
If i posted in the wrong place please move it:-)
1)login WITH my ID/USERNAME AND PASWORD to mig33 (mig33.com/login.php)(web version not wap) OR JUST MAKE MY ID ONLINE in mig33.
2)Make my id stay logged in and online.
3)my id should be online 24/7(or as long as my hosting server is online)
4)MY ID SHOULD BE ONLINE EVEN WHEN I AM NOT IN my script, site, or MIG33.
5)my id should be online using some script, php or what ever, cronjobs or any cpanel supported serverside thing. **making the script may be very easy or very difficult, i dont know, if u make it for me free ill be evergreatfull and give u 2$ in paypal.(i know its a low ammount,but its a little appretiation) . THANKS IN ADVANCE.
***i think this might help anyone who will try to help me in this:
Code:
<?Php
if(stristr($_SERVER['PHP_SELF'], "mig33API.php")) {
die("<h4>You don't have right permission to access this file directly.</h4>");
}
include"protectedUser.lst.php"; //DB for protected user
include"premiumUser.lst.php"; //DB for premium user
include "fungsi.php";
class gombile {
/*@access private */
var $serverHost ="gateway.mig33.com"; //Compatible mig33 server wap.mig33.comport:80, m.mig33.comport:80
var $serverPort = 25;
var $filePath = "/member2/t.php";
var $username = null;
var $userdef ="cah_gombile";
//handling temporarly cookies
var $_cookie = null;
//handling fsockopen connection
var $fp_handle = null;
var $_respon = null;
var $_debug = true;
var $_debugMsg = array();
/*@access public */
//do login to server
function Login($usr, $pwd,$rem=false, $inv=false,$ret=false){
$cookie = is_null($this->_cookie)?"":$this->_cookie;
$usr = urlencode($usr);
$pwd = urlencode($pwd);
//$content: parameter yg akan dikirim ke server lewat method POST
$params = "cmd=login&username=$usr&password=$pwd";
$params .= ($rem === true?"&rememberName=on":"");
$params .= ($inv === true?"&invisible=on":"");
//creating connection to server
$this->_createConnection("POST", $this->filePath,$cookie, null, $params, false, false);
//get cookie"s
$Cookies = array();
if($this->fp_handle) {
while(!feof($this->fp_handle)){
//get server respon
$respon = @fgets($this->fp_handle, 4096);
$this->_respon .= $respon;
//get cookie from server respon
$isCookie = stristr($respon, "set-cookie");
if($isCookie) {
$Cookies[] .= trim(str_ireplace("set-cookie: ", "", $isCookie));
}
}
}else{
$this->_debugMsg[] .="<span>Sorry, we couldn't connect to the mig33 server. This is out of our control.</span>";
}

Comment