Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. 49.if(stripos($result, '<div id="LoginResult">Please wait..</div>') === false){
  2.  
  3. correct it and make it strpos and replace === to == (equal)
  4.  
  5. 58.public function connectToChat($username = $this->username, $chat = $this->chat, $password = $this->xatpwd){
  6.  
  7. replace -> with =>
  8.  
  9. 66.$xml .= "\n</root>";
  10.  
  11. it's backwards, make it $xml .= "<root>\n";
  12.  
  13. 77.if ($result === false) {
  14.  
  15. replace === to == (equal)
  16.  
  17. 32.$this->username = $;
  18. 33.$this->password = $;
  19.  
  20. replace -> with =>
  21.  
  22. 28.public function login($username = $this->username, $password = $this->password){
  23.  
  24. replace -> with =>
  25.  
  26. 37.$this->key = "0";
  27. 36.if(empty($this->key)){
  28.  
  29.  
  30. replace -> with =>
  31.  
  32. 55.return array(true, $this->username, $this->xatpwd);
  33.  
  34. replace -> with =>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement