Suppose my mailbox is in
/usr/domain/mail/inbox
Of course I cannot read it like this:
$a=file("/usr/domain/mail/inbox");
because the mail directory is outside of the html range.
I know very little about unix, but could I call a batchfile from php in a cgi-bin that p.e. copies the inbox to a place where php can read it?
Or can you think of an other solution?
/usr/domain/mail/inbox
Of course I cannot read it like this:
$a=file("/usr/domain/mail/inbox");
because the mail directory is outside of the html range.
I know very little about unix, but could I call a batchfile from php in a cgi-bin that p.e. copies the inbox to a place where php can read it?
Or can you think of an other solution?