Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Disable relative path in php.ini
February 14, 2007, 2:20 pm
rate this thread
Re: Disable relative path in php.ini
Easy way is to just check to see whether your file path matches this PCRE:
That is the start of the string followed by '../'; or '/../' anywhere in
the string; or '/..' at the end of the string; or the string consisting
only of '..'.
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!