[PHP] PHP script to write to /home/userid/ dir. popen not working. how?

2002-04-11 Thread gaukia 345
Hi, I'm using PHP 4.1.2 to write a webmail. I'm using Procmail along with Sendmail. PHP runs as user nobody or user apache. Note that I have the user id and password in my PHP script from using HTTP authentication. FYI I'm running Mandrake Linux 8.1. The problem is: I want to write to some fil

[PHP] Re: HTML Question

2002-03-31 Thread gaukia 345
Iframe is supposed to work with browsers compliant with W3C HTML 4.01 and above. If you're developing for newer browsers, no problem. But if you want backward compatibility, why not just use FRAME? Gaukia _ Join the world’s larges

Re: [PHP] imap problems

2002-03-27 Thread gaukia 345
Hi Duncan, Also working with IMAP because I'm writing a webmail. Haven't met this problem before but if I were you, I'd consider the following steps 1) Check if the IMAP daemon is running. Type "nmap localhost" at your shell to see if IMAP daemon (port 143, and it appears as imap2 on my server

Re: [PHP] How to get user full name using PHP function?

2002-03-27 Thread gaukia 345
Strangely when I shut down postfix, the popen I used to run sendmail cannot trigger sendmail to send mails out. No bouncing back...nothing. When I switch postfix back on, the mails in queue were delivered. Any idea why? >From: Miguel Cruz <[EMAIL PROTECTED]> >To: gaukia 345 <[EMA

[PHP] How to get user full name using PHP function?

2002-03-26 Thread gaukia 345
Hi all, I'm writing a web mail. Having problem grabbing user full name to be included in the email. So I hv a few questions: 1) How do I fetch the user's full name using a PHP function WITHOUT calling system program finger? I already have the Linux user ID and password since I am using HTTP a

[PHP] imap_fetch_overview to get unseen mail

2002-02-26 Thread gaukia 345
Hi ppl, I'm trying to mark unseen email messages. 1) Do I use imap_fetch_overview or other functions? 2) Here's the rough structure: if (this_is_an_unseen_mail) { ...codes... } What do I put in the argument for "if"? Thanx a lot. Enjoy your day! Oh a the latest PHP manual in CHM file is ou

[PHP] How to automate sending of email?

2002-02-21 Thread gaukia 345
I'm in a project where I need to: Automate the sending of an email to, say, [EMAIL PROTECTED], whenever [EMAIL PROTECTED] receives an email in his mailbox from some Ms. [EMAIL PROTECTED] Is there a way PHP can do that? Thanx a lot. P.S. Have been getting a lot of useful responses in this mail l

[PHP] How to start a secure HTTP session?

2002-02-17 Thread gaukia 345
I heard from my coursemates it's just typing https:// instead of http://. 1) To enable secure http (SSL) session, what extensions should I install? To which one: Apache or PHP or Linux? 2) How do I know if my Apache and/or Linux and/or PHP support SSL? Thanx __

[PHP] After installing php-imap RPM, there's no --enable-imap when phpinfo()

2002-01-28 Thread gaukia 345
Good day ppl, I installed php4.1.1 i586 RPM on my Mandrake linux. After downloading other dependencies and so on, I got it running. I know so when the phpinfo() function is showing the php info. However when I installed php-imap i586 RPM and all its needed dependencies, the page with the phpin

[PHP] Difference between i586 RPM and SRC.RPM?

2002-01-23 Thread gaukia 345
Wanted to download PHP 4.1.1 RPM. What's the difference between i586 RPM and SRC.RPM? What sites provide non-FTP download for PHP4.1.1 RPM? Thanx ppl! _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

[PHP] Cyrus IMAP 4.0.16 TAR error

2002-01-08 Thread gaukia 345
I downloaded Aeromail from freshmeat.net. It needed an IMAP server. So I went to ftp.andrew.cmu.edu to get Cyrus IMAP 4.0.16. I unpacked it using TAR but there're some errors including CRC. I downloaded again and re-tried. Same error. Don't know what to do because the FTP site is the official

[PHP] Can I config PHP RPM?

2002-01-02 Thread gaukia 345
I'm a PHP newbie and have a few questions. 1) The server I'm working on has PHP 4.0.5 installed using an RPM. So there's no source code. How do I include extensions (say --enable java ) without getting the PHP source code and without "make"? 2) I think the server's Apache web server is also in

[PHP] could not create new mailbox: Permission denied

2001-12-28 Thread gaukia 345
I'm new to cyrus IMAP server and PHP4. I wanted to create a user for cyrus. So I copied & modified the example of imap_createmailbox at http://www.php.net/manual/en/function.imap-createmailbox.php It was done with necessary substitution of for IMAP server and using "cyrus" as user. The error mess