> I bought a web host service from a company named easyspace.com. I
> tried to ask them this question many times but until now there is no
> response from them at all.
> According to the security issue of placing password in script I
> days ago, some one on this news group suggested me to place such
> directory above %public_html directory. The problem is I do not know
> access such directory. Is it because the service I bought does not
> to do it? or if it is accessible, how to do it?
Just use include() or require() to "include" the file into your script.
You can provide a full path to the file (above the web root) or use a
relative path according to the file that's doing the including. Say you
using a script in your webroot and you want to include a db.php file
that's in an include/ directory above your web root. You can use:
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php