Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
PHP and other scripting languages are server side. So it is impossible to integrate such functionality into XHTML/HTML.
XHTML encourages standards compliance and correct coding, as well as coupling CSS for styling, making it possible to make a website usable in any internet enabled device if...
$result = mysql_query("INSERT INTO mytable (column1, column2) VALUES ('{$_POST['variable1']}', '{$_POST['variable2']}'") or die ("Query Error: ".mysql_error());
to hide the direct link put the movies out of your doc root.
as for not alloing people to save the movies you might want to try streaming video to make it a little harder to rip.
try
SELECT * FROM banner_ads ORDER BY RAND(UNIX_TIMESTAMP()) LIMIT 1
$result = mysql_query("SELECT * FROM banner_ads ORDER BY RAND() LIMIT 1",$db);
$banners = mysql_fetch_array($result);
srand((float)microtime()*1000000);
shuffle($banners);
won't work since you already limit to 1 row...
i made a mysql dump of my database from my website, but how do i restore the data into my win xp machine, because i want to test my scripts locally.
i know how to restore to a unix server with ssh but i can't think of anyway where you can restore the backups without using phpmyadmin (always...