Search found 5 matches

by sosha
Tue Mar 21, 2006 4:03 am
Forum: PHP - Code
Topic: PHP simple login help
Replies: 4
Views: 435

Create a session variable that you will be checking at the start of this page. If its not true re-direct to the login page
by sosha
Tue Mar 21, 2006 3:45 am
Forum: PHP - Code
Topic: A logic/Syntax Question
Replies: 7
Views: 589

HEY!
It works..WOW!
Thanks a million, I owe u one!
by sosha
Tue Mar 21, 2006 3:33 am
Forum: PHP - Code
Topic: A logic/Syntax Question
Replies: 7
Views: 589

Hi
Sorry for not being clear. I want to delete the files from the server using the textfile as the guide on which filesnames of files NOT to delete are saved
by sosha
Tue Mar 21, 2006 2:32 am
Forum: PHP - Code
Topic: A logic/Syntax Question
Replies: 7
Views: 589

I did think of this but Im wondering, wont the first loop delete all the files that are not the same to the first filename in the textfile?
by sosha
Tue Mar 21, 2006 2:16 am
Forum: PHP - Code
Topic: A logic/Syntax Question
Replies: 7
Views: 589

A logic/Syntax Question

Hi, I have a text file that contains names of files in a directory on my webspace. I would like to do is compare the files to the filenames in the textfile and delete the ones that dont exist. The problem comes in comparing the textfile with the names of the files in the directory so as to unlink th...