Re: Include security?
| From: | Micky Hulse | Date: | Sat, 17 Apr 2010 04:55:47 +0000 |
| Subject: | Re: Include security? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304153@lists.php.net to get a copy of this message | ||
> if allow_url_include is turned off, you don't have to worry much about http,
> if '.' is a invalide char, you can't include *.php...
> the include path probably should be the inc(whatever the name)
> folder(not accessible from web) instead of the web root and '..'
> should be disallowed
Hi Ryan! Many thanks for your help, I really appreciate it. :)
How does this look:
<http://sandbox.hulse.me/secure_inc_str.txt>
How could my code be improved?
Thanks again for the help, I really appreciate it. :)
Cheers,
Micky