Charles, can you not create and write the file locally and then upload
it directly via ftp?
I'm not much of a PHPriest, but I love PHP because it's the first web
scripting language that I have encountered that actually make sense, is
coincise and very powerful. It's the old question--do we make computers
dumber or users smarter? :-)
--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmer
Come visit us at http://www.phparch.com!
--- Begin Message ---
Hello,
Well, I'm able to make an empty file with
fopen("ftp://username:password@;domain.com/folder/file.prefs", "w")
However, I'm still nowhere because this file belongs to the user and her
group, not to Apache, so I still can't write to it.
Here's what I have to work with:
-- I have the user's FTP username and password, which is necessary to
install the software.
-- The provider does not allow the backticks (``) operator, system(),
exec(), passthru() or dl() for security reasons, and I assume this
is the case with most people's service providers.
I'm starting to think that PHP, although a great choice for anything but
in-house software, may not be the right choice for a product aimed at non-
technical people. Is there a PHPriest in the house?
-- Charles Wiltgen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php