Search results

  1. H

    Limiting viewing of a video by time using php?

    Anyone know if it's possible to do it using php alone. I am looking to limit a video streams viewing to 20 minutes per IP address. I know how to do everything else it's just counting the 20 minutes that I don't know how to fix. I was thinking of something like flushing the video to the browser...
  2. H

    Simple database/php question. Return database items on new lines?

    $num_rows = mysql_num_rows($result); print "<table width=100% border=0>\n"; while ($get_info = mysql_fetch_row($result)){ foreach ($get_info as $field) print "\t<tr>$field</tr>\n"; } print "</table>\n"; heh it's been a while since I've used tables but that should fix your problem.
Back
Top