Hi,
I'm new to working with php scripts but I've installed quite a few perl scripts and always had to chmod the perl script to 755. Is chmod necessary with php scripts, for example, a form processing script that mails the results to the webmaster?
Or is it just a matter of the permissions of the directory that the script is located? If so, what should they be? 777 seems like overkill and a security risk for a form processing script that's simply mailing the results.
I hope someone can shed some light on this for me.
Thanks a bunch,
I'm new to working with php scripts but I've installed quite a few perl scripts and always had to chmod the perl script to 755. Is chmod necessary with php scripts, for example, a form processing script that mails the results to the webmaster?
Or is it just a matter of the permissions of the directory that the script is located? If so, what should they be? 777 seems like overkill and a security risk for a form processing script that's simply mailing the results.
I hope someone can shed some light on this for me.
Thanks a bunch,