Click to See Complete Forum and Search --> : I need help in conf. PHP for my Mailing


easan
05-14-2001, 08:46 PM
Dear Friends,

I had conf. my PHP thru' Apache, now there were few problems in handling the commands like,

touch() and unlink().how to overcome it?

I haven't installed my MySql, could u pl, get me an idea where it will be available.

dbmopen() is not working and the error is "Fatal Error: Call to UnDefined Function: dbmopen() ".
how to overcome it.

and also tell me that how to conf. the mailing system in Windows 2000.

my System Configuration is.

O/S : Win 2000
HD : 4.2GB
Ram : 128MB

awiting for reply.

-sabari.

ame12
05-15-2001, 04:55 AM
Regarding your first question... I think that certain functions don't work in Windows. Unlink for example has not equivalent Win32 call... therefore functions like it will not work in Windows while they will work in Unix variants.

Dave


===========================================
http://badblue.com/helpphp.htm
Get PHP up and running fast: Win95,98,ME,NT
BadBlue: a free, small footprint web server
===========================================

peterluk
05-15-2001, 07:16 AM
Hi,
I just use unlink function on both Win ME & Win 98 machine, it works okay (delete file on file system). I haven't use touch function yet.
You can get MySQL from www.mySQL.com, the latest in binary 3.23.38 should be out by now!
I just learn to use dbm when exploring Python and would come back after mastering the basic in a month time, I hope.
If you're only just concern sending plain text email, you can use builtin mail function. For fancier stuff, HTML mail, attachment, ... etc. I found those mime mail class in phpclass.upperdesign.com quite useful.
Happy hacking :)

Anon
05-15-2001, 10:22 PM
Mr.Luk, thanks for ur suggestions, actually, the mail() function haven't worked on my o/s win2000, as per the php, we have to modify an attribute in php.ini config file, to send the mail, i had tried it also, but its not working .
the mail() is very suitable for Unix O/S.

thanks
-sabari

peterluk
05-17-2001, 06:28 PM
Hi Sabari,
Do you have MS Exchange server with 2000? If not, you can either,
(i) set up local SMTP server (like Postcast 1.0 which is freeware, the latest version 1.5 isn't), or
(ii) get sendmail for windows (included in lynx for windows package from fdisk.com, problem to include subject line encounter), and finally,
(iii) get wsendmail from jgaa.com (this work perfectly for me).
for latest two routes, you send message through exec command in PHP, of course, you can wrap codes up as your own function or class.
Happy hacking:-)