SHARE
TWEET

Untitled

MrHelpless Feb 21st, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     function getTagNameUrl()
  3.     {
  4.        
  5.         //##### Link
  6.        
  7.         $steam      = file_get_contents($_GET['link']); // steam group url
  8.        
  9.         //##### Tag
  10.        
  11.         $pattern    = '<span class=\"grouppage_header_abbrev\" style=\"\">.+<\/span>';
  12.            
  13.         preg_match($pattern, $steam, $m);
  14.        
  15.         $group      = str_replace ($m, "<span class=\"grouppage_header_abbrev\" style=\"\">", "");
  16.         $group      = str_replace ($m, "<\/span>", "");
  17.        
  18.         $groupTag   = $group[0];
  19.        
  20.         //##### Name
  21.        
  22.         $groupName  = "test";
  23.        
  24.         //##### Url
  25.        
  26.         $groupUrl   = "";
  27.        
  28.         //echos
  29.        
  30.         echo "<br>".htmlspecialchars("m = ".$m[0]);
  31.         echo "<br>".htmlspecialchars("m = ".$group[0]);
  32.         //echo "<br>".htmlspecialchars("steam = ".$steam);
  33.        
  34.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top