A Simple PHP code to upload multiple files

Here is a very simple file to upload multiple files:-  HTML Code:- <form action=”” enctype=”multipart/form-data” method=”post”> <input multiple=”multiple” name=”files[]” type=”file” />  <input name=”submit” type=”submit” value=”Upload” /> </form> PHP Code:- <?phpif(isset($_POST[‘submit’])){ $path = “uploads/”; // Upload directory $count = 0; foreach ($_FILES[‘files’][‘name’] as $f => $name) { $file = $path.$name; $tmp = $_FILES[“files”][“tmp_name”][$f]; if(move_uploaded_file($tmp, $file)) { […]

Read More

6 White Hat SEO Tactics

Img.Credit: freedigitalphotos White hat SEO tactics work refer to Website optimization for search engines. They are a set of strategies that you or a online sales site should be used to achieve a better position in Google. They are called White Hat tactics they are allowed by Google because they do not try to trick your […]

Read More