Search found 3 matches

by geekables
Tue Jul 31, 2012 12:05 am
Forum: PHP
Topic: Little help for a noob.
Replies: 4
Views: 844

Re: Little help for a noob.

Yea. I figure it out.
by geekables
Mon Jul 30, 2012 8:53 pm
Forum: PHP
Topic: Little help for a noob.
Replies: 4
Views: 844

Re: Little help for a noob.

[syntax=php]$Directory = "//MY-PC/Users/ME/Desktop/";
if(file_exists($Directory)) {
$FileToSearch = null;
echo 'File exists';
} else {
echo $Directory;
echo 'File does not exists';
}[/syntax]
by geekables
Mon Jul 30, 2012 8:46 pm
Forum: PHP
Topic: Little help for a noob.
Replies: 4
Views: 844

Little help for a noob.

Hello I'm working on a project. That uses php and check see if a file exists or not on the computer I'm using could anyone point me in the right way please. I've search every where...
The code keeps telling me file doesn't exists.