Jump to content

Luqman

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Luqman

  • Rank
    Newbie
  1. how to use the option value in javascript, for example when on select Volvo and it will automatically appear in the input price is $ 1,500 bertype name is read only
  2. Luqman

    video upload

    how to sulution ?
  3. Luqman

    video upload

    Notice: Undefined index: pictures in /opt/lampp/htdocs/magazine/upload.php on line 2Notice: Undefined index: pictures in /opt/lampp/htdocs/magazine/upload.php on line 3 <?php $tmp_name =$_FILES ['pictures']['tmp_name']; $uploadfilename = $_FILES ['pictures']['name']; $savedate=date('mdy-Hms'); $newfilename = '/pictures/'.basename($savedate."_".$uploadfilename); if (move_uploaded_file($tmp_name, $newfilename)){ echo "<p> file terupload</p>n"; } ?> what is problem ?
  4. Luqman

    video upload

    any else referance or example script ?
  5. <?php $uploads_dir = '/opt/lampp/htdocs/magazine/upload'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK ) { $tmp_name = $_FILES["pictures"]["tmp_name"][$key]; $name = $_FILES["pictures"]["name"][$key]; move_uploaded_file($tmp_name, "$uploads_dir/$name"); } } ?> Notice: Undefined index: pictures in /opt/lampp/htdocs/magazine/upload.php on line 3Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/magazine/upload.php This could be why the error?
  6. how to use pdf files in php, which is where the calling file in mysql
×
×
  • Create New...