1) I am able to launch the video referenced directly...for example:
Code: Select all
printf("Movie %s: <a href='http://.../embedded_flash_video.html'>%s</a>Code: Select all
printf("Movie %s: <a href='launch_movie.php?id=%s'>%s</a>launch_movie.php:
Code: Select all
<?php
//.........connect....
$id = mysql_real_escape_string($_GET['id']);
$query = "SELECT id, movie, link FROM vid WHERE id='$id'";
$result = mysql_query($query);
// If results are found, output them
if (mysql_num_rows($result) > 0) {
$row = mysql_fetch_array($result);
// Convert HTML entities prior to displaying
printf("%s", (htmlentities($row['link'])));
} else {
printf("Failed");
}
?>Thanks