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 > im

[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 p

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 th

[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/ I wonder if it would be good to put the thumbnails into the current table,

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

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

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 PROTE

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 [m

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

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 : > class a > { >

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

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 <[

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: http://www.php.net/u

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

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

[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 : No problem here, log.txt is writtable, when it passes on the serialize() instruction, it goes to __sleep and works well. "OK\r\n" is appended to the log file , and "done!" is displayed. Now consider this : In th

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 >>> { >>>

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. bot

[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 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 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: http:

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

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 Andrés Robinet
> Wolf wrote: > > Jim Lucas <[EMAIL PROTECTED]> wrote: > >> Per Jessen wrote: > >>> Brad 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. > >> > >> Jim > > Jim, > > > > At

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: > > > > > >> remember, he is wanting to setup SMTP auth. So he will not be using > > >

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Jim Lucas wrote: Stut wrote: Brad wrote: '.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'Return-Path: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'X-Mailer: PHP '.phpversion().$eol; $headers .= 'Content-Ty

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: > > > >> 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 SMT

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: 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 homework assignm

Re: [PHP] two small issues with php mail

2007-11-20 Thread Jim Lucas
Stut wrote: Brad wrote: '.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'Return-Path: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'X-Mailer: PHP '.phpversion().$eol; $headers .= 'Content-Type: text/html; cha

Re: [PHP] two small issues with php mail

2007-11-20 Thread Wolf
Jim Lucas <[EMAIL PROTECTED]> wrote: > Per Jessen wrote: > > Brad 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. > > Jim Jim, At this point, we need to just get his homework assi

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 $Nam

[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 destr

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

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Brad wrote: '.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply-To: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'Return-Path: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'X-Mailer: PHP '.phpversion().$eol; $headers .= 'Content-Type: text/html; charset=iso-8859

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 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 t

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 norma

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 b

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 Mailin

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

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 aut

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: http://www.ph

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 unsubscri

[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