Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(isset($_POST['postVideo']))
  2. {
  3. $videoTitle = $_POST['VideoTitle'];
  4. $videoUserNick = $_POST['VideoNick'];
  5. $youtubeVideoURL = $_POST['YoutubeVideo'];
  6. $videoDescription = $_POST['Description'];
  7. $youtubeVideoURL = explode("&", $youtubeVideoURL); 
  8.  
  9. $queryString = parse_url($_POST['YoutubeVideo'], PHP_URL_QUERY);
  10. parse_str($queryString, $params);
  11.  
  12. echo "
  13. <tr>
  14.  <td>
  15.    <u><p ALIGN='left'><b><font size='5' color='black'>Most recent media</font></b></p></u>
  16.  
  17.    <p ALIGN='right'>
  18.      <a href='newfile.php'><font color='black'>Recent</font></a> /
  19.      <a href='addNew.php'><font color='black'>Add New</font></a>
  20.    </p>
  21.  
  22.    <img src='i3.ytimg.com/vi" . $params['v'] . "/default.jpg' alt='Video thumbnail' />';
  23.  
  24. </td>
  25. </tr>";
  26. }
  27.  
  28. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement