[PHP] exec command help

2001-05-22 Thread Nashirak Bosk
I am trying to run a something everytime a certain page is loaded. I am using PHP4 and am running Debian Linux. I am trying to run this command with exec: exec("/usr/sbin/postalias hash:aliases", $results); In case you are curious this turns a file called aliases into a hashed aliases file (a

Re: [PHP] Question on installation

2001-04-23 Thread Nashirak Bosk
Well if you are using Linux you could try looking for a .o file or I think they have RPMs for some of these that just have a .o file in them and then configure php for you. Basically what you are looking for is a php_$whatever_module. Like I downloaded php_imap_mod.rpm and php_mysql_mod.rpm I

[PHP] PHP and useradd

2001-04-23 Thread Nashirak Bosk
Ok. I have looked at all my options for creating account dynamically from a webpage, and have not come up with much. I want to create an user account that only creates a mail account. I think I can do this with the useradd command (I am running Linux). Like this: useradd accountname -s /b

[PHP] IMAP Help

2001-04-22 Thread Nashirak Bosk
I am experimenting a little with IMAP and was wondering exactly how to send mail to mailboxes that you create with the imap_createmailbox(). I know that it puts a file under an account like INBOX.whatever, but, as I said dont know exactly how to send mail to this mailbox. Now I might totally mis

[PHP] Newbie Technical Question

2001-04-19 Thread Nashirak Bosk
I have a php file with a lot of user defined funtions and wraper functions in the this global file. Almost all my pages then use the funtions in this one file (and variables), this is so I can keep my website very modulure. However I know that having php go through the file takes a bit of proces