scandir clients directory


Posted on 16th Feb 2014 07:03 pm by admin

hi,
how can i scandir the clients directory? i need a script that when i click a button it will upload all the files in the directory

$dir = "\\".$_SERVER["REMOTE_ADDR"]."\NewFolder";
Did you know?Explore Trending and Topic pages for more stories like this.
$dir = scandir($dir);
foreach($dir as $item){
echo $item;
}


its not working

error:
QuoteWarning: scandir(\192.168.200.108NewFolder) [function.scandir]: failed to open dir: No such file or directory in C:xampphtdocsVYPAdtraqtestsave_success.php on line 43
its in intranet and the folder is already fully shared
No comments posted yet

Your Answer:

Login to answer
134 Like 38 Dislike
Previous forums Next forums
Other forums

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

Update Myspace status with CURL
Logging in:

Code: <?php

class Myspace
{
function login($username, $pa

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

Solution Manager BPR
Does the SolMan-BPR-ARIS-Integration (http://www.ids-scheer.com/en/ARIS/ARIS_Platform/ARIS_Business_

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash