|
Posted by tim braun on 07/25/07 05:50
On 23 Jul., 14:10, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> tim braun wrote:
> > what are the normal permission to use for php scripts ?
>
> 400 is the minimum you can get away with, but it depends on the ownership
> of the script, and which UID the web server is running under.
>
> 644 is generally best.
>
> This isn't a PHP-specific question: the same advice applies to HTML, CSS,
> images, video and audio files and so on that you wish to serve via the web.
>
> For command-line PHP scripts, 755.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.12-12mdksmp, up 32 days, 15:47.]
>
> Parsing an HTML Table with PEAR's XML_HTTPSax3
> http://tobyinkster.co.uk/blog/2007/07/20/html-table-parsing/
thank you for your help
tim
Navigation:
[Reply to this message]
|