-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Luqman
-
-
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
-
video upload
in PHP
how to sulution ?
-
video upload
in PHP
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 ? -
video upload
in PHP
any else referance or example script ?
-
<?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.phpThis could be why the error?
-
how to use pdf files in php, which is where the calling file in mysql
Introduce Yourself
in General
Posted
<----- he is me