|
Posted by Mike Russell on 03/10/07 08:49
"Efi Merdler" <fooshm@gmail.com> wrote in message
news:1173480090.029269.53080@8g2000cwh.googlegroups.com...
Mike Russell ???:
>
> Write a php script that creates the file, and primes it with whatever data
> is needed.
> --
> Mike Russell
> www.curvemeister.com/forum/
> Hi
> Unfortunately when trying to change mode I receive the following
> error :
> Warning: chmod() has been disabled for security reasons
Your php is in safe mode. You apparently cannot change the mode of a file
created by another account, in this case your FTP account.
> The security is just too tight I can't do anything :-)
> What do you think ?
It is very likely still possible to create files in a particular folder and
read and write to them, however
> I want my file to be accessible for read and write from php and not to
> the outside world.
Delete the file you created using ftp, then create the file in php and then
see if you have permission to read and write it. No chmod should be needed,
since the file will already belong to the host's php account.
If that doesn't work. it's time to use a database. If there's no database,
IMHO you are out of luck, and will have to ask the administrators of your
php host for suggestions, and change your hosting arrangement if they cannot
give you a good answer. Perhaps someone else will chime in with some ideas.
--
Mike Russell
www.curvemeister.com/forum/
[Back to original message]
|