php-general Digest 21 Nov 2007 00:29:50 -0000 Issue 5139

2007-11-20 Thread php-general-digest-help
php-general Digest 21 Nov 2007 00:29:50 - Issue 5139 Topics (messages 264859 through 264886): Re: overloading members. aghhh!!! 264859 by: Peter Ford 264874 by: Jochem Maas Re: two small issues with php mail 264860 by: Wolf 264861 by: Jim Lucas

[PHP] Re: Yes, here we go again! (was: two small issues with php mail)

2007-11-20 Thread Per Jessen
Brad wrote: Yes, here we go again! Hi Brad Judging from the amount of traffic you've generated, it's too late, but still - I don't know how you're replying, but you've managed to screw up the threading which is bad. Bad#2 is top-posting - you're obviously new to the game, so no better time

Re: FW: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Brad wrote: Thought it was a support forum! Support usually does not mean piss off. Brad, another reading suggestion for you: http://www.catb.org/~esr/faqs/smart-questions.html /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] two small issues with php mail

2007-11-20 Thread Andrés Robinet
But isn't lack of Bcc support in the mail function under windows or some delivery failure under linux the reason Brad is trying to build an SMTP auth function/component?. I mean, what's the requirement here? Sending Bcc headers and getting the emails delivered or talking directly to the SMTP

Re: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Jim Lucas wrote: remember, he is wanting to setup SMTP auth. So he will not be using PHP's mail() function. He needs to talk directly to the SMTP server. Uh, I guess I must've missed that bit. Seems a tad complicated for sending an email ... /Per Jessen, Zürich -- PHP General Mailing

RE: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Andrés Robinet wrote: I don't really know the internals of how and why Bcc won't work with the mail function on windows, but if these guys who developed PHPMailer say so... Holy Word, so I wouldn't expect the mail function on Windows to work with Bcc. What you can do? Well... if Bcc is a

Re: [PHP] two small issues with php mail

2007-11-20 Thread Jim Lucas
Per Jessen wrote: Brad wrote: Where should the bcc go if not the header? In PHP the mail() function does indeed appear to support a bcc: header, but I'm assuming it will be removed before the email is passed to sendmail. /Per Jessen, Zürich remember, he is wanting to setup SMTP

RE: [PHP] PHP and SAP Business One DI Server

2007-11-20 Thread Robert Cummings
On Tue, 2007-11-20 at 04:55 -0300, Andrés Robinet wrote: I can only speak for my experience in PHP+SOAP in a recent project, but not on SAP. You'll surely get more information here as the experts will start speaking... If this is of any help to you, then PERFECT! If not, well, hope not to

RE: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Andrés Robinet wrote: It can't be that hard to send out a list of emails with CC / Bcc headers!!! You wouldn't have thought so, but ... /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Zoltán Németh wrote: actually there is Bcc header, and it is standard. see: http://tools.ietf.org/html/rfc4021#page-9 http://tools.ietf.org/html/rfc2822#page-22 Interesting - I guess I've never needed it. I've never bothered with the mail() function, I find it just as easy to format the

RE: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Brad wrote: Where should the bcc go if not the header? In PHP the mail() function does indeed appear to support a bcc: header, but I'm assuming it will be removed before the email is passed to sendmail. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] two small issues with php mail

2007-11-20 Thread Zoltán Németh
2007. 11. 19, hétfő keltezéssel 19.54-kor Per Jessen ezt írta: Brad wrote: $headers = 'bcc: [EMAIL PROTECTED]'; Works but corrupts the from portion and changes it to nobody Which I think goes back too the smtp portion. There is no bcc: header. BCC'ing someone is normally done by

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Andrés Robinet wrote: Brad, This comment is extracted directly from PHPMailer source (before the implementation for the function AddBCC) /** * Adds a Bcc address. Note: this function works * with the SMTP mailer on win32, not with the mail * mailer. * @param string $address *

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Brad wrote: ? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = 'Zone of success Club'; $eol = \r\n; $headers = 'From: '.$fromname.' '.$fromaddress.''.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To: '.$fromname.' '.$fromaddress.''.$eol;

Re: [PHP] PHP CURL

2007-11-20 Thread Shafiq Rehman
Hi Fahad, May be you wil find something helpful at http://curl.haxx.se/mail/archive-2003-03/0137.html -- Keep Smiling Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300 423 9385 On Nov 19, 2007 11:45 AM, Fahad Pervaiz [EMAIL PROTECTED] wrote: I am looking forward

[PHP] Filter Input: Inspekt

2007-11-20 Thread Manuel Vacelet
Hi all, Does anyone already heard about inspekt library ? http://code.google.com/p/inspekt/ Quote from the web site: Inspekt acts as a sort of 'firewall' API between user input and the rest of the application. It takes PHP superglobal arrays, encapsulates their data in an cage object, and

Re: [PHP] overloading members. aghhh!!!

2007-11-20 Thread Peter Ford
Jochem Maas wrote: Kiketom wrote: Hi all. Yesterday i have looking for the overloading members Member overloading void __set ( string name, mixed value ) mixed __get ( string name ) As an example i put this code: class foo { private $ID; private $Name; private $LastName;

Re: [PHP] two small issues with php mail

2007-11-20 Thread Wolf
Jim Lucas [EMAIL PROTECTED] wrote: Per Jessen wrote: Brad wrote: !-- Snip for brevity -- remember, he is wanting to setup SMTP auth. So he will not be using PHP's mail() function. He needs to talk directly to the SMTP server. Jim Jim, At this point, we need to just get his

Re: [PHP] two small issues with php mail

2007-11-20 Thread Jim Lucas
Stut wrote: Brad wrote: ? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = 'Zone of success Club'; $eol = \r\n; $headers = 'From: '.$fromname.' '.$fromaddress.''.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To: '.$fromname.'

Re: [PHP] two small issues with php mail

2007-11-20 Thread Jim Lucas
Wolf wrote: Jim Lucas [EMAIL PROTECTED] wrote: Per Jessen wrote: Brad wrote: !-- Snip for brevity -- remember, he is wanting to setup SMTP auth. So he will not be using PHP's mail() function. He needs to talk directly to the SMTP server. Jim Jim, At this point, we need to just

RE: [PHP] two small issues with php mail

2007-11-20 Thread Andrés Robinet
Wolf wrote: Jim Lucas [EMAIL PROTECTED] wrote: Per Jessen wrote: Brad wrote: !-- Snip for brevity -- remember, he is wanting to setup SMTP auth. So he will not be using PHP's mail() function. He needs to talk directly to the SMTP server. Jim Jim, At this point, we

Re: [PHP] two small issues with php mail

2007-11-20 Thread Philip Thompson
On Nov 20, 2007 9:13 AM, Wolf [EMAIL PROTECTED] wrote: Jim Lucas [EMAIL PROTECTED] wrote: Wolf wrote: Jim Lucas [EMAIL PROTECTED] wrote: Per Jessen wrote: Brad wrote: !-- Snip for brevity -- remember, he is wanting to setup SMTP auth. So he will not be using PHP's

Re: [PHP] two small issues with php mail

2007-11-20 Thread Wolf
Jim Lucas [EMAIL PROTECTED] wrote: Wolf wrote: Jim Lucas [EMAIL PROTECTED] wrote: Per Jessen wrote: Brad wrote: !-- Snip for brevity -- remember, he is wanting to setup SMTP auth. So he will not be using PHP's mail() function. He needs to talk directly to the SMTP

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Jim Lucas wrote: Stut wrote: Brad wrote: ? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = 'Zone of success Club'; $eol = \r\n; $headers = 'From: '.$fromname.' '.$fromaddress.''.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To:

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Børge Holen wrote: OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two small issues with php mail

2007-11-20 Thread Børge Holen
OMG the top posting on this freakin' issue is a headache -- --- Børge Holen http://www.arivene.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two small issues with php mail

2007-11-20 Thread Børge Holen
On Tuesday 20 November 2007 17:49:02 Stut wrote: Børge Holen wrote: OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage. okey... -Stut -- http://stut.net/ -- --- Børge Holen http://www.arivene.net -- PHP

[PHP] manipulating XML via php DOM

2007-11-20 Thread pere roca
please, I need some help with php DOM, for me it's becoming a hell! After trying other methods (check message from 19th november, called php DOM question), I'm getting a little more success to manipulate XML. From the code you can see below you generate this xml. Now I just want to keep only

Re: [PHP] two small issues with php mail

2007-11-20 Thread Per Jessen
Stut wrote: Børge Holen wrote: OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage. Pure stress-relief. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] two small issues with php mail

2007-11-20 Thread Michael McGlothlin
I hate top posters. Pure evil. OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage Pure stress-relief. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two small issues with php mail

2007-11-20 Thread Jason Pruim
Honestly for me... top posting, On Nov 20, 2007, at 1:19 PM, Michael McGlothlin wrote: I hate top posters. Pure evil. OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage inline posting, Pure stress-relief.

[PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread Julien Pauli
Consider that very simple code, that runs on PHP 5.2.5 onto a Windows machine : ?php class a { public $b; public function __sleep() { file_put_contents(log.txt,ok . PHP_EOL,FILE_APPEND); echo done!; return array(); } } $a = new a; serialize($a); ? No

Re: [PHP] overloading members. aghhh!!!

2007-11-20 Thread Jochem Maas
Peter Ford wrote: Jochem Maas wrote: Kiketom wrote: Hi all. Yesterday i have looking for the overloading members Member overloading void __set ( string name, mixed value ) mixed __get ( string name ) As an example i put this code: class foo { private $ID; private $Name;

Re: [PHP] two small issues with php mail

2007-11-20 Thread Steve Edberg
Personally At 1:31 PM -0500 11/20/07, Jason Pruim wrote: I preferHonestly for me... top posting, sideOn Nov 20, 2007, at 1:19 PM, Michael McGlothlin wrote: posting. I hate top posters. Pure evil. -steve OMG the top posting on this freakin'

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stephen Johnson
I wrote about this a long time ago ... In a galaxy far far away... http://www.thelonecoder.com/Blog/?p=7 Be good lemmings and do as you're told... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com --

RE: [PHP] two small issues with php mail OT

2007-11-20 Thread Jay Blanchard
[snip] I wrote about this a long time ago ... In a galaxy far far away... http://www.thelonecoder.com/Blog/?p=7 Be good lemmings and do as you're told... [/snip] Sitting squarely on the fence he is -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] two small issues with php mail OT

2007-11-20 Thread Stephen Johnson
Who says you can't please them all... ;) -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- From: Jay Blanchard [EMAIL PROTECTED] Date: Tue, 20 Nov 2007 14:25:21 -0600 To: Stephen Johnson [EMAIL

Re: [PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread Julien Pauli
Sorry but it goes throught __sleep() as session serializes objects before storing them Proof is that done! is echoed. Step by step debugging also prove that , the only thing is that file_put_contents, doesn't execute, but returns a value... 2007/11/20, chetan rane [EMAIL PROTECTED]: This aint

Re: [PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread chetan rane
This aint a bug because __sleep is called only when you serialize an object and not when you assign it to a session Variable; On Nov 21, 2007 12:21 AM, Julien Pauli [EMAIL PROTECTED] wrote: Consider that very simple code, that runs on PHP 5.2.5 onto a Windows machine : ?php class a {

RE: [PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread Andrés Robinet
-Original Message- From: Julien Pauli [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 3:51 PM To: php-general@lists.php.net Subject: [PHP] __sleep() strange behavior with file writting and SESSION using Consider that very simple code, that runs on PHP 5.2.5 onto a

RE: [PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread Andrés Robinet
-Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 7:41 PM To: php-general@lists.php.net Subject: RE: [PHP] __sleep() strange behavior with file writting and SESSION using -Original Message- From: Julien Pauli

Re: [PHP] two small issues with php mail OT

2007-11-20 Thread Jochem Maas
Stephen Johnson wrote: Who says you can't please them all... ;) Erin Brokovich. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- From: Jay Blanchard [EMAIL PROTECTED] Date: Tue,

Re: [PHP] __sleep() strange behavior with file writting and SESSION using

2007-11-20 Thread Jochem Maas
Andrés Robinet wrote: -Original Message- ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Just wanted to add, I found a log.txt at D:\xampp\apache which happens to be the root of the apache installation on my system... so,

Re: [PHP] two small issues with php mail OT

2007-11-20 Thread Børge Holen
On Wednesday 21 November 2007 00:53:14 Jochem Maas wrote: Stephen Johnson wrote: Who says you can't please them all... ;) Erin Brokovich. nah you sure? why cant i remember that. must be that early altzheimers syndrome or something -- Stephen Johnson c | eh The Lone Coder

[PHP] Should I put pictures into a database?

2007-11-20 Thread Ronald Wiplinger
I have an application, where I use pictures. The size of the picture is about 90kB and to speed up the preview, I made a thumbnail of each picture which is about 2.5 to 5kB. I use now a directory structure of ../$a/$b/$c/pictures I wonder if it would be good to put the thumbnails into the

RE: [PHP] Should I put pictures into a database?

2007-11-20 Thread Bastien Koert
Well, this was just hashed out last week, again. Its a personal thing. I am against it, having seen the slowdown and database bloat caused when this is done. I prefer a pointer to the image to be stored in the table and use that. I have found that after about 12Gb of binary data gets into

[PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Dave M G
PHP list, I have some images that are in SVG format. What I want to do with them is manipulate them by resizing and overlaying one on top of the other. I do this frequently with PNG images, and I could first convert these images to PNG before manipulating them in PHP. However, I'd like to

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Casey
On Nov 20, 2007 7:24 PM, Dave M G [EMAIL PROTECTED] wrote: PHP list, I have some images that are in SVG format. What I want to do with them is manipulate them by resizing and overlaying one on top of the other. I do this frequently with PNG images, and I could first convert these images to