Bug fixed

This commit is contained in:
Hakase
2017-10-02 09:56:12 +09:00
parent 089a42accd
commit 9af3e0f9ef
2 changed files with 13 additions and 29 deletions
+3
View File
@@ -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>