Re: Safe mode & imagecreatefromjpeg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Thus wrote Paulo JF Silva:
> Hi,
> 
> I have PHP 4.3.5 and safe mode on. When I create a new image with 
> imagecreatefromjpeg(), the image owner is 'httpd' and not my ftp user. 
> [this is in a shared host].
> 
> I would like to know if there is any way to create the image with my 
> user... I can workaround mkdir & stuff with ftp access but i can't 
> figure out a workaround this 'problem' caused by safe mode.

You'll have to request to the hosting company to make it possible
that your ftp user can have 'rwx' permissions  to the files that
the webserver creates.

The security implications will have to be up to them.


Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux