Hello List,
I'm trying aroung to split the header and the body of an email but
can't get it to work.
First I read in the email:
$fp = fopen(php://stdin,r);
$count = 0;
while (!feof($fp))
{ $data = fgets($fp,4096);
$data = chop($data);
$count = $count + 1;
$content[] = $data;
}
Hello Everybody,
we have a problem to implement a PGP-function into
a PHP-Script. PHP 4.0.6 as CGI, Apache 1.3.11, FeeBSD 4.2
a)
PGP from the command line works:
% pgps -ato test.sig test.txt -z passphrase
b)
Calling a little PHP Script
$kommando = /usr/local/bin/pgps -ato test.sig test.txt
Hello List,
I try to setup a script which automatically
signs a file with PGP.
With the system command this looks like that:
% /usr/local/bin/pgps -u Juergen -ato test1.sig ~/test1.txt
A private key is required to make a signature.
Need a pass phrase to decrypt private key:
1024 bits, Key
Hello List,
I'm currently trying to setup a script which is processing incomming emails.
So I setup PHP as CGI and did configurate the email like
robot |/path/to/the/script.php
The little testscript I tried looks like that:
?
$fp = fopen(php://stdin,r);
while (!feof($fp))
{ $BUFFER =
Hello,
does anybody know of any documentation how to write scripts that
do interact with emails (Majordomo-like), i.e. when an email comes
to
[EMAIL PROTECTED]
that a script is starting which reads the email and completes tasks
which are defined within the email?
We are using PHP4,
Hello,
I've tried to execute the system function dnsquery, which works fine
from a shell:
% dnsquery -h domain.net
;; -HEADER- opcode: QUERY, status: NOERROR, id: 61611
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;; domain.net, type = ANY, class = IN
domain.net.
6 matches
Mail list logo