Programming

  • 1 {{ upvoteCount | shortNum }}

    Validation of php drop down menu of months,days and years

    rathurosamal in Programming

    Cannot get it to validate, for leaps years, and feb,april 31. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <?php $todo=$_POST['todo']; if(isset($todo) and $todo=="submit"){ $month=$_POST['month']; $dt=$_POST['dt']; $year=$_POST['year']; $date_value="$month/$dt/$year"; echo "mm/dd/yyyy ... [read more]

  • 11 {{ upvoteCount | shortNum }}

    Why i Canot make curl of this url?

    hotscode in Programming

    ////////////////// i has try to use file_get_conetents//////// <? $test = "http://220.181.23.202/s1/rpxiBVe6lybzimWQ/cdceabe1e4f1f901fb677c2ce64fb950/1246778125/v4/2006/mv/200750/11719752251z5ok.flv?ref=out"; $res = file_get_contents($test); echo $res; ?> //////////////////// and i use curl here //////////////////// <? function get($url1){ if(!isset($timeout)) $timeout=30; ... [read more]