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

Does deleting the spmlog directory critical?
Hi Everyone,

Please, hope you could help me. We're having problems with the SAP backup. I

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

On page view, minus credit
Hello all, please, I need a little help with this script. I am charging one credit (credits can be p

Calculating n! using vector
#include
#include
#include

using

socket makes browser hang...
I have a socket server, and I am having a problem at the moment...

A browser sends a http hea

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Only add new information from XML to MySQL
What I am doing, is taking a xml file, and adding the values to a database. However, what I want to

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