RE: [PHP] mailing to 19000 users

2002-01-28 Thread Daniel Reichenbach
If you use qmail, then ezmlm (www.ezmlm.org) might be a solution for you. It's capable of using MySQL to store the subscriber lists. Daniel > I am soon to encounter the problem Mostafa is facing. > Currently, I have written my custom code to mail to > users subscribed to mailing lists on my site.

[PHP] HTTP Header

2002-02-04 Thread Daniel Reichenbach
Hy list :-) I need to manually send the HTTP header with PHP. The following is an example what I have to send to the client: HTTP/1.1 200 OK Date: Mon, 04 Feb 2002 10:01:54 GMT Server: Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6 Connection: Keep-alive, close Expires: Thu, 01 Dec 1994 16:00

[PHP] Perhaps a task for regexp?

2002-03-05 Thread Daniel Reichenbach
Hy list, I'm currently writing an application to edit and send our customer news- letter. The interface and the template engine which will put the content into text or html templates is ready and working. Now I'd love to extend the system to automatically generate content lists. The html newslet

[PHP] mail() and qmail

2002-03-14 Thread Daniel Reichenbach
Hy list, seems like my PHP installation won't send mails with qmail. I'm using it with vpopmail. As suggested in the manual nots for mail() I tried using both /path/to/qmail/bin/sendmail -t -i and directly using /path/to/qmail/bin/qmail-inject for sendmail_path in php.ini. Anyway ... it doesn't

RE: [PHP] mail() and qmail

2002-03-14 Thread Daniel Reichenbach
> I use qmail with PHP on a RH v 7.0 system. Works like a charm. Same here, RH 7.0 with some updates from RPM. > I compiled/installed qmail from source. Installed RH, Apache and PHP from source, too. Do you have a possibility to look at a phpinfo() page? There the option your php version use

RE: [PHP] GD GIF or PNG Detect Part 2

2001-10-29 Thread Daniel Reichenbach
> However when there are no GD libraries installed the > following error is > thrown: > Fatal error: Call to undefined function: imagetypes()… > > Any suggestions to prevent the error message being thrown. Are there > other methods to detect the presence GD libraries before > testing for GIF >

[PHP] Trouble with PNGs

2001-11-03 Thread Daniel Reichenbach
Hy, I'm using PHP 4.0.6 with GD-2.0.1 and Freetype 2 compiled in. After playing a while with gd, I found that i can generate blank images with TTF text on it and can put text with imagestring on a png, but writing with ImageTTFText fails. Any idea? Daniel -- PHP General Mailing List (http:/

RE: [PHP] Trouble with PNGs

2001-11-03 Thread Daniel Reichenbach
> I'm using PHP 4.0.6 with GD-2.0.1 and Freetype 2 compiled in. After > playing a while with gd, I found that i can generate blank images > with TTF text on it and can put text with imagestring on a png, > but writing with ImageTTFText fails. Okay, I've tried it with PNG and JPEG, nut nothing work

RE: [PHP] CF convert question..

2001-11-08 Thread Daniel Reichenbach
> In the middle of porting over a large cold fusion project to php. How are your experiences so far? Any bigger problems? Missing Features? > CF has a tag called which lets you jump to > another page/location. > > Does php have an equivalent? Yes. Give http://www.php.net/header a try. Dan

[PHP] POST files with PHP

2001-11-19 Thread Daniel Reichenbach
Hy, I'm trying to post image files to a php script with another php script. Don't ask why, it's a crazy project :) Now the file is around 28000 bytes but the post receiver only gets around 300 bytes. Has anybody experienced this behaviour? I use the following script: --- snap --- http://www.ser

[PHP] Classes and functions

2001-11-28 Thread Daniel Reichenbach
Hy, I'm writing a class for POP3 access and I want some of the internal functions to be private, like the mime decoding stuff. Is there any way to do this? I found nothing in the docs :( Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[PHP] PHP and plugin detection

2001-12-10 Thread Daniel Reichenbach
Hy, is there any way to detect the plugins a user has installed in his browser with PHP? I want to write a page where users get a plugin depending on their installation. If none of the required plugins is available an error page should be viewed. If it's not possible using PHP, can it be done wi

[PHP] Compiling on Windows

2001-07-03 Thread Daniel Reichenbach
Hy, is there any guide available, how to compile the Windows version of PHP4.0.6 with all available modules like GD/Freetype, IMAP, curl, etc. Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] preg_match

2001-07-04 Thread Daniel Reichenbach
Hy, i've got a string which looks like "<[EMAIL PROTECTED]>". Now i wanted to check it with preg_match like this: if ( preg_match( '/[\<][a-z]([-a-z0-9_.])*@([-a-z0-9_]*\.)+[a-z]{2, }[\>]/i', $value ) ) { print "Valid mail address"; } else { print "Invalid mail address"; } Unfo

[PHP] gettext functions

2001-07-11 Thread Daniel Reichenbach
Hy, i would like to use the gettext functions but i have no hint, where i have to put the locale files and how to tell php where they are. Is ther any sample implementation available for this? Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] GD2 and alpha channels

2001-09-03 Thread Daniel Reichenbach
Hy, i would like to use the alpha channel funtionality in GD2 to put a jpeg into a PNG (24bit) with alpha channel. As i'm a total newbie with GD, i'd love to see some examples. Can somebody shed a light on this? Greetings from Germany, Daniel -- PHP General Mailing List (http://www.php.net/)

[PHP] Error while saving attachments (jpegs)

2001-09-05 Thread Daniel Reichenbach
Hy, i wrote a little cron job which fetches mails from a pop account and saves all contained jpeg attachments to disc. I use the following code: --- snap --- // determine attachment encoding $atty = imap_fetchbody($mbox, $i, $b); switch($att_ency) {

[PHP] URGENT: imap_fetchbody CRLF trouble

2001-09-07 Thread Daniel Reichenbach
Hy there, I've got serious problems with the imap_fetchbody function and need help urgent. When using $atty = imap_fetchbody($mbox, $i, $b, FT_INTERNAL); to fetch a base64 encoded attachment, imap_fetchbody replaces CRLF although it shouldn't. I did RTFM and it says: --- snap --- FT_INTERNAL -