I am using PGP to encrypt a file and then trying to send the contents of that file with mail().
I have successfully encrypted the file but the php scripts do not seem to have read access to the encrypted file - the site is hosted on a virtual server at an ISP so I don't have root access or anything useful like that. I have managed to use system to do the following
$syschg = system("chmod 'a+r' $filetxt");
and then running
$systemown_filetxt = system("/bin/ls -l $filetxt");
returns " -rw-r--r-- " on the file.
The site is hosted on a virtual server at an ISP so access is limited to FTP.
Has anyone had experience with this kind of thing before - if so could you let me know of any suggestions/solutions as my forehead is bleeding and clouding my vision.
I am running the following
PHP: PHP/4.0b3
Apache: Apache/1.3.12
Linux box: Linux haycorns 2.2.14 #1 Fri Mar 31 14:03:25 UTC 2000 i686 unknown
Cheers in advance,
Derek