Re: URGENT! Regarding PHP and qmail-remote

From: Date: Sun, 07 Jan 2001 05:14:29 +0000
Subject: Re: URGENT! Regarding PHP and qmail-remote
Groups: php.general 
Request: Send a blank email to php-general+get-33079@lists.php.net to get a copy of this message
This (ctrl-d) can also be represented by "\004" in a string (you can shorted it to "\4" when the following character is not numeric/in most cases). So if you're using here-doc (which is _not_ the only type of string this applies to), you'd do something like this: echo <<<END This is a line This is another line And this is the last line \4 END; Hope this is useful - Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: <php3@developersdesk.com> To: "whatever" <ndjuric.nospam@ptt.yu>; <php-general@lists.php.net> Sent: Saturday, January 06, 2001 9:06 PM Subject: Re: [PHP] URGENT! Regarding PHP and qmail-remote Addressed to: whatever <ndjuric.nospam@ptt.yu> php-general@lists.php.net ** Reply to note from whatever <ndjuric.nospam@ptt.yu> Sat, 06 Jan 2001 23:29:01 +0100 > > Hi ppl! > > I have small problem which, I hope, you can help me solve. Here goes: > I'm sending mail through qmail-remote using I (pipe). Everithing > works great except that I can't terminate qmail-remote. It requires > ctrl+D at the end of each mesage to process it. So this is the > question: > > How to send ctrl+d to qmail-remote using fputs or whatever? Ctrl-D = chr( 4 ); See: http://www.php.net/manual/html/function.chr.html Rick Widmer Internet Marketing Specialists http://www.developersdesk.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#33079) next »