Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  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.  
  10.  
  11. }
  12.  
  13.  
  14.  
  15. $queryString = parse_url($_POST['YoutubeVideo'], PHP_URL_QUERY);
  16. parse_str($queryString, $params);
  17.  
  18. echo "
  19. <tr>
  20. <td>
  21. <u><p ALIGN='left'><b><font size='5' color='black'>Most recent media</font></b></p></u>
  22.  
  23. <p ALIGN='right'>
  24. <a href='newfile.php'><font color='black'>Recent</font></a> /
  25. <a href='addNew.php'><font color='black'>Add New</font></a>
  26. </p>
  27.  
  28. <img src='http://i3.ytimg.com/vi/' . $params['v'] . '/default.jpg' alt='Video thumbnail' />';
  29.  
  30. </td>
  31. </tr>"
  32. $queryString = parse_url($_POST['YoutubeVideo'], PHP_URL_QUERY);
  33. parse_str($queryString, $params);
  34. echo "<img src='http://i3.ytimg.com/vi/' . $params['v'] . '/default.jpg' alt='Video thumbnail' />";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement