Jump to content

JohnTipperton

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by JohnTipperton

  1. hi in getting the url link you need to use this

    <?php function curPageURL() {  $pageURL = 'http';   if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}   $pageURL .= "://";   if ($_SERVER["SERVER_PORT"] != "80") {	$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];}  else {	$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];  }   return $pageURL;} echo curPageURL();?>  

    try it works for me or use GET method http://www.w3schools.com/php/php_get.asp

  2. here is my answer for you. what is the best video format to save the uploads? MPEG4 video with MP3 audiocan videos be seen without flash? flash is required to play videos in web but i think you can use windows media playerhow do i make the video player or where can i get a free one? you can download one from http://www.longtailvideo.com/playershow do i get an image and duration out of the video to display in a menu? http://www.longtailvideo.com/players there is a setting in here just try to explore on.

  3. $sql = @mysql_query('SELECT mo_id, month_name FROM month WHERE mo_id>09 ORDER BY mo_id'); change it to <form method="post" name="form1"><select name="month" id="month"> <option selected="selected" value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select><input type="submit" value="Post"></form> $month = $_POST['month]; $sql = @mysql_query('SELECT mo_id, month_name FROM month WHERE mo_id>'.$month.'ORDER BY mo_id');

×
×
  • Create New...