Rev 1162 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1162 | Rev 1439 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
25 | OIDplus::init(true); |
25 | OIDplus::init(true); |
26 | 26 | ||
27 | # --- |
27 | # --- |
28 | 28 | ||
29 | #$cont = file_get_contents('https://oidplus.viathinksoft.com/oidplus_old/?action=list_all'); |
29 | #$cont = file_get_contents('https://hosted.oidplus.com/viathinksoft_old/?action=list_all'); |
30 | $cont = file_get_contents(__DIR__ . '/oidplus_1_with_token.html'); |
30 | $cont = file_get_contents(__DIR__ . '/oidplus_1_with_token.html'); |
31 | 31 | ||
32 | preg_match_all('@oid=\.(.+)">@ismU', $cont, $m); |
32 | preg_match_all('@oid=\.(.+)">@ismU', $cont, $m); |
33 | foreach ($m[1] as $oid) { |
33 | foreach ($m[1] as $oid) { |
34 | check_oid($oid); |
34 | check_oid($oid); |