favoritos.php
Código PHP:
<?php
ob_start();
include ("includes/db.conf.php");
include ("includes/connecta.php");
include ("includes/funcs.php");
$poster=stdbcl($_COOKIE['member']);
$filename = $_GET['file'];
$aaa =$_GET['n'];
$queryin=mysql_query("insert into videos set name='$aaa', code='aaa', thumb='aaa', outin='hos', queued='aaa', poster='$poster', description='aaa'");
?>
connecta.php
Código PHP:
<?php // connect to database
if( isset( $CONNECT ) ) {
return;
}
$CONNECT=1;
if ($db_type == "mysql") {
$mysql_link = mysql_connect("$db_server", "$db_username", "$db_password", false, 128);
if (!$mysql_link) {
print "<B>$l_error</B> <I>$l_cannotconnecttodatabase</I>\n";
exit;
}
mysql_select_db($db_db, $mysql_link);
}
?>