Re: security on shared servers
| From: | Andy B | Date: | Fri, 09 Apr 2004 13:28:06 +0000 |
| Subject: | Re: security on shared servers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182973@lists.php.net to get a copy of this message | ||
> You don't have access to anything outside of the webroot? If
/home/user/www/
> is your webroot, then write them to /home/user/. If you're saying you
can't
> do that and they have to be put under the webroot, then give them .php
> extensions and make the first line
>
> <?php exit(); ?>
>
> Then they can't be viewed through the browser, but PHP can still read them
> (fopen, etc) or they can be opened with text editors.
>
> ---John Holmes...
ok heres what i found out: the place where the admin service is supposed to
go at doesnt have mysql/php high enough versions to run it so i had to
temporarly move it (the admin service) to another site server with some
people that i know... the server where the actual admin service will be
running at doesnt have /home/user/www/ setup... instead it has public_html/
and a symlink to htdocs... since the server where it is supposed to be
running at has /home/user/www access and there is an apache-access.log file
outside of www i was just wondering if its possible to have error_log() or
syslog() be able to write a log file on a different site or something like
that