Help writing exif and itpc data in PHP?

If it's a permission issue, the containing directory must be writable by the user under which the webserver (Apache or IIS in most cases) is running To be sure the file is written, the containing directory must be writable by anyone. It could be a security issue but you can always undo your modifications If you have FTP access to $path (as I suppose), and can change permissions of remote directories, change the permissions of the $path directory to "world writable" or 0777 (octal number where the three 7 mean respectively write permission for the owner of the file, the owner's group, and everyone else) If the webserver runs under a user who can do this, you can change directory permissions via PHP, with the instruction: chmod(dirname($path),0777) The dirname() function returns the directory containing the specified path Please note: the trailing 0 in the second arg, which means that 0777 is an octal number; if you write 777 it means a decimal 777, while octal 777 is decimal 511). Please have a look at the chmod() documentation to have additional information on possible issues If you want to know the user under which the webserver is running, you may use phpinfo() : if the webserver is Apache, you'll find the user and group in the "apache2handler" section, unser "User/group".

For IIS and other servers you'll be able to find out (but I don't know exactly under which group).

If it's a permission issue, the containing directory must be writable by the user under which the webserver (Apache or IIS in most cases) is running. To be sure the file is written, the containing directory must be writable by anyone. It could be a security issue but you can always undo your modifications.

If you have FTP access to $path (as I suppose), and can change permissions of remote directories, change the permissions of the $path directory to "world writable" or 0777 (octal number where the three 7 mean respectively write permission for the owner of the file, the owner's group, and everyone else). If the webserver runs under a user who can do this, you can change directory permissions via PHP, with the instruction: chmod(dirname($path),0777); The dirname() function returns the directory containing the specified path. Please note: the trailing 0 in the second arg, which means that 0777 is an octal number; if you write 777 it means a decimal 777, while octal 777 is decimal 511).

Please have a look at the chmod() documentation to have additional information on possible issues. If you want to know the user under which the webserver is running, you may use phpinfo(): if the webserver is Apache, you'll find the user and group in the "apache2handler" section, unser "User/group". For IIS and other servers you'll be able to find out (but I don't know exactly under which group).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions