mirror of
https://github.com/hakasenyang/tvple-php
synced 2026-08-22 04:53:07 +09:00
Bug fixed
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
if($url) {
|
||||
$tvpleurl = 'http://tvple.com/';
|
||||
if(substr($url,0,strlen($tvpleurl)) == $tvpleurl) $url = substr($url, strpos($url, $tvpleurl) + strlen($tvpleurl));
|
||||
$pos = strpos($url, '/');
|
||||
if($pos) $url = substr($url, $pos + 1);
|
||||
if(!is_numeric($url)) echo 'Error... (URL Error)';
|
||||
else
|
||||
{
|
||||
@@ -21,6 +23,7 @@
|
||||
--주소 형식--<br>
|
||||
ex1) http://tvple.com/1234<br>
|
||||
ex2) 1234<br>
|
||||
ex3) http://tvple.com/other/1234<br>
|
||||
<label><input type="radio" name="s" value="0" checked>다운로드</label><label><input type="radio" name="s" value="1">스트리밍</label><br>
|
||||
<a href='https://noref.tk/?http://tvple.com/' target='_blank'>티비플 접속해서 주소 가져오기</a><br>
|
||||
<input type="submit" value="전송"><br><br>
|
||||
|
||||
Reference in New Issue
Block a user