File upload unlimited Get link Facebook X Pinterest Email Other Apps include '../include/connect.php'; ?> include 'include/header.php'; ?> include '../include/settings.php'; ?> $k=10; extract($_REQUEST); if(isset($_REQUEST['upload'])) { $c1 = rand(0,9);$c2 = rand(0,9);$c3 = rand(0,9);$c4 = rand(0,9); $rand = $c1.$c2.$c3.$c4; for($i=0;$i{ if($_FILES['upload1']['name'][$i]!="") { $dir_path = "album/".$res.$rand.$_FILES['upload1']['name'][$i]; move_uploaded_file($_FILES['upload1']['tmp_name'][$i],"../".$dir_path); $path=$dir_path; $displaytitle=$_REQUEST['upload_title'][$i]; $displaytag=$_REQUEST['upload_cost'][$i]; $displaydescription=$_REQUEST['upload_desc'][$i]; $insertcust="insert into ".PHOTOS." set photographerid='$photographers',customerid='$customerid',image_path='$path',image_title='$displaytitle',image_cost='$displaytag',image_description='$displaydescription',submitteddate=NOW()"; $resultcust=mysql_query($insertcust); $flag=1; } } echo ""; exit(); } ?> require "include/leftmenu.php";?> Home >> New Photos << Back Add your photos one by one Click ‘Browse’, select a photo, then click ‘Open’ to add it to the upload box. Continue until you’ve got all the photos you want and click ‘Start upload’. Photographers Name $selcustomers="select * from ".STAFF." where `status`='photographer' order by userid"; $rescustomers=mysql_query($selcustomers); ?> while($reccustomers=mysql_fetch_array($rescustomers)) { ?> =$reccustomers['userid'];?> } ?> Customer Name $selcustomers="select * from ".CUSTOMER." order by customername"; $rescustomers=mysql_query($selcustomers); ?> while($reccustomers=mysql_fetch_array($rescustomers)) { ?> =$reccustomers['customername'];?> } ?> Photo Title Cost Description " Get link Facebook X Pinterest Email Other Apps