Re: automatically updating software
| From: | Charles Wiltgen | Date: | Mon, 11 Nov 2002 16:12:13 +0000 |
| Subject: | Re: automatically updating software | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123825@lists.php.net to get a copy of this message | ||
Peter VanDijck wrote...
>> Security issues will prevent you from reading or writing any files that
>> your PHP process doesn't have permissions for. In my experience, the only
>> reliable way to do this is by using FTP using the username and password that
>> the user will (presumably) give you.
>
> But that's scary for the user (granting some company access to your
> server???). Isn't there another way? I was thinking I could keep crucial
> function libraries in a database (not sure if that is possible??) and then
> just update them like that, no write access hassles. Can that be done? Can you
> keep your functions in a database and "include" them from there?
You could use eval(), but that didn't work for me since I had mixed
PHP/XHTML.
-- Charles Wiltgen