This is a code snippet from the "Beginning PHP 4", ISBN: 1-861003-73-0. This was located by IACOJ and its something we need to start integrating into the mainfile.php. I'll be passing this or something similar to Francisco.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Jeruvy Lieutenant
Joined: Jul 09, 2003
Posts: 293
Posted:
Sun Nov 02, 2003 7:44 am
Is this going to work in a unix environment? What if the dir has '65' in it? IMHO for this code to work properly one needs to decide when to use it. Using it arbitrarily will break normal directory traversals (images/avatars for instance) in my mind.
Hmm...this has me thinking anyways...
J.
_________________ J.
j e r u v y a t y a h o o d o t c o m
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Mon Nov 03, 2003 3:00 pm
Yes it'll work in both platforms.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum