<?php
$mynetlink= $_POST['mynetlink'];
$mynetlink = file_get_contents("$mynetlink");
$title = explode('<title>',$mynetlink);
$title = explode('</title>', $title[1]);
$link = explode('<embed src="',$mynetlink);
$link = explode('" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" width="400" height="334"></embed>',$link[1]);
$baslik = explode('<meta property="og:title" content="',$mynetlink);
$baslik = explode('" />',$baslik[1]);
echo "<form action='iidevam.php' method='POST' >
<div align='center'>
<table border='0' cellpadding='0' cellspacing='0' width='67%' height='228' bordercolorlight='#D6D6D6' id='table1'>
<tr>
<td height='19' align='right'><b>Meta Tag</b></td>
<td width='10' height='19' align='center'>:</td>
<td width='450' height='19'>
<input type='text' name='metatag' size='64' value='"<?php echo $title[0]?>"'></td>
</tr>
<tr>
<td height='19' align='right'><b>Başlık</b></td>
<td width='10' height='19' align='center'>:</td>
<td width='450' height='19'>
<input type='text' name='baslik' size='64' value='"<?php echo $baslik[0]?>"'></td>
</tr>
<tr>
<td align='right' valign='top'><b>Video embed kodu</b></td>
<td width='10' align='center' valign='top'>:</td>
<td width='450' valign='top'>
<textarea rows='9' name='video' cols='53'><embed src='"<?php echo $link[0]?>"' type='application/x-shockwave-flash' wmode='transparent' allowscriptaccess='always' allowfullscreen='true' width='400' height='334'></embed></textarea><p> </td>
</tr>
</table>
<p><input type='submit' value='kaydet' name='kaydet'></div>
</form>";
?>