[PHP] what kind of features would you like in php orms?

2011-06-16 Thread 李白|字一日
and how to design such an orm in current state of php language?

Re: [PHP] Doctrine madness!

2011-06-16 Thread 李白|字一日
2011/6/17 Nathan Nobbe > On Thu, Jun 16, 2011 at 3:58 PM, Eric Butera > wrote: > > > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent > wrote: > > >> -Original Message- > > >> From: Nathan Nobbe [mailto:quickshif...@gmail.com] > > >> Sent: Thursday, June 16, 2011 9:51 AM > > >> To: php-g

Re: [PHP] Doctrine madness!

2011-06-16 Thread Paul M Foster
On Thu, Jun 16, 2011 at 06:50:00PM -0700, Daevid Vincent wrote: [snip] > > Name me some LARGE popular sites that use frameworks? > I generally agree with your position, but I'm not sure about this one. I'm too lazy/busy to do extensive research, but I believe that Joomla and Drupal are used pr

Re: [PHP] Doctrine madness!

2011-06-16 Thread Paul M Foster
On Thu, Jun 16, 2011 at 08:53:18PM -0400, Eric Butera wrote: > On Thu, Jun 16, 2011 at 7:32 PM, Daevid Vincent wrote: > > [snip] > > I'm sorry but this is absolute rubbish. I used to write my queries by > hand, but over time you start to realize that perhaps, maybe writing > out thousands of

RE: [PHP] Doctrine madness! huh?

2011-06-16 Thread Daevid Vincent
> >> out XSS out of the box. Of course, with diligence and time we can all > >> overcome these things, but that does not mean someone with the > >> ambition to bang together a quick website for a relative understands > >> the real perils they're getting into - I certainly did not. > > > > I'm sure

Re: [PHP] Doctrine madness!

2011-06-16 Thread Eric Butera
On Thu, Jun 16, 2011 at 9:50 PM, Daevid Vincent wrote: > > >> -Original Message- >> From: Eric Butera [mailto:eric.but...@gmail.com] >> Sent: Thursday, June 16, 2011 5:53 PM >> To: Daevid Vincent >> Cc: php-general@lists.php.net >> Subject: Re: [PHP] Doctrine madness! >> >> On Thu, Jun 16,

RE: [PHP] Doctrine madness!

2011-06-16 Thread Daevid Vincent
> -Original Message- > From: Eric Butera [mailto:eric.but...@gmail.com] > Sent: Thursday, June 16, 2011 5:53 PM > To: Daevid Vincent > Cc: php-general@lists.php.net > Subject: Re: [PHP] Doctrine madness! > > On Thu, Jun 16, 2011 at 7:32 PM, Daevid Vincent wrote: > > > > > >> -Origin

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Jun 16, 2011 6:53 PM, "Eric Butera" wrote: > > On Thu, Jun 16, 2011 at 7:32 PM, Daevid Vincent wrote: > > > > > >> -Original Message- > >> From: Eric Butera [mailto:eric.but...@gmail.com] > >> Sent: Thursday, June 16, 2011 2:58 PM > >> To: Daevid Vincent > >> Cc: php-general@lists.php.

RE: [PHP] Doctrine madness!

2011-06-16 Thread Daevid Vincent
> -Original Message- > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > Sent: Thursday, June 16, 2011 5:39 PM > To: Daevid Vincent > Cc: php-general@lists.php.net > Subject: RE: [PHP] Doctrine madness! > > On Jun 16, 2011 5:31 PM, "Daevid Vincent" wrote: > > > > > > > > > -Origi

Re: [PHP] Doctrine madness!

2011-06-16 Thread Eric Butera
On Thu, Jun 16, 2011 at 7:32 PM, Daevid Vincent wrote: > > >> -Original Message- >> From: Eric Butera [mailto:eric.but...@gmail.com] >> Sent: Thursday, June 16, 2011 2:58 PM >> To: Daevid Vincent >> Cc: php-general@lists.php.net >> Subject: Re: [PHP] Doctrine madness! >> >> On Thu, Jun 16,

RE: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Jun 16, 2011 5:31 PM, "Daevid Vincent" wrote: > > > > > -Original Message- > > From: Eric Butera [mailto:eric.but...@gmail.com] > > Sent: Thursday, June 16, 2011 2:58 PM > > To: Daevid Vincent > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] Doctrine madness! > > > > On Thu, Jun

[PHP] implementing dot-net DES encryption by php

2011-06-16 Thread Ali Asghar Toraby Parizy
Hi I have a big problem.I've tried for 2 days but I haven't been able to solve the problem yet. I need to implement dot-net DES encryption in php site. I tired several solutions and the following code is the best that I've seen. But it doesn't work perfect either. Header("Content-d

RE: [PHP] Doctrine madness!

2011-06-16 Thread Daevid Vincent
> -Original Message- > From: Eric Butera [mailto:eric.but...@gmail.com] > Sent: Thursday, June 16, 2011 2:58 PM > To: Daevid Vincent > Cc: php-general@lists.php.net > Subject: Re: [PHP] Doctrine madness! > > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: > >> -Original Messa

[PHP] Best way to create an image with flowing text?

2011-06-16 Thread Brian Dunning
Hey all - I need to create PNG images with transparent backgrounds that contain text. The text will come from four fields in a database, and needs to be centered, and text wrapped. The fields are going to be of varying lengths, so each block of text (which will be shown in a different font size

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Thu, Jun 16, 2011 at 3:58 PM, Eric Butera wrote: > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: > >> -Original Message- > >> From: Nathan Nobbe [mailto:quickshif...@gmail.com] > >> Sent: Thursday, June 16, 2011 9:51 AM > >> To: php-general@lists.php.net > >> Subject: [PHP] D

Re: [PHP] Doctrine madness!

2011-06-16 Thread Eric Butera
On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: >> -Original Message- >> From: Nathan Nobbe [mailto:quickshif...@gmail.com] >> Sent: Thursday, June 16, 2011 9:51 AM >> To: php-general@lists.php.net >> Subject: [PHP] Doctrine madness! >> >> Hi gang, >> >> If anyone out there has some

[PHP] Re: [PHP-DEV] PHP 5.3.7RC1 Released for Testing

2011-06-16 Thread Johannes Schlüter
On Thu, 2011-06-16 at 23:42 +0200, Johannes Schlüter wrote: > To find out what was changed since the last release please refer to > the > NEWS file found within the archive or on > http://svn.php.net/viewvc/php/php-src/tags/php_5_3_4RC1/NEWS?revision=HEAD&view=markup This should - obviously - have

[PHP] Re: [PHP-DEV] PHP 5.3.7RC1 Released for Testing

2011-06-16 Thread Frédéric Hardy
Hello ! Le 16 juin 2011 à 23:42, Johannes Schlüter a écrit : > > To find out what was changed since the last release please refer to the > NEWS file found within the archive or on > http://svn.php.net/viewvc/php/php-src/tags/php_5_3_4RC1/NEWS?revision=HEAD&view=markup Valid NEWS file for 5.3.7R

[PHP] PHP 5.3.7RC1 Released for Testing

2011-06-16 Thread Johannes Schlüter
The first release candidates of 5.3.7 was just released for testing and can be downloaded here: http://downloads.php.net/johannes/php-5.3.7RC1.tar.bz2 (md5sum: 295a457505049cc75d723560715be5d6) http://downloads.php.net/johannes/php-5.3.7RC1.tar.gz (md5sum: 4fd555292ea0a1bc3acd1d3ad4c98c27) The Wi

RE: [PHP] Doctrine madness!

2011-06-16 Thread Daevid Vincent
> -Original Message- > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > Sent: Thursday, June 16, 2011 9:51 AM > To: php-general@lists.php.net > Subject: [PHP] Doctrine madness! > > Hi gang, > > If anyone out there has some experience w/ Doctrine now would be a great > time to share it

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Curtis Maurand
There's an interesting discussion on this page. http://www.linuxquestions.org/questions/linux-software-2/pdf-to-png-converter-57142/ Cheers, Curtis Sean Kenny wrote: > Outside the box a bit, but is there perhaps a web-service that does > this, something like http://www.thumbalizr.com/ but for

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Thu, Jun 16, 2011 at 1:58 PM, Eric Butera wrote: > On Thu, Jun 16, 2011 at 12:51 PM, Nathan Nobbe > wrote: > > Hi gang, > > > > If anyone out there has some experience w/ Doctrine now would be a great > > time to share it! > > > > So I'm writing a batch importer and noticed memory usage climb

Re: [PHP] Doctrine madness!

2011-06-16 Thread Eric Butera
On Thu, Jun 16, 2011 at 12:51 PM, Nathan Nobbe wrote: > Hi gang, > > If anyone out there has some experience w/ Doctrine now would be a great > time to share it! > > So I'm writing a batch importer and noticed memory usage climbing during > script execution. > > In the debugging effort I've isolat

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Sean Kenny
Outside the box a bit, but is there perhaps a web-service that does this, something like http://www.thumbalizr.com/ but for PDF files. As long as you had curl or something you would be GTG at that point. -Sean- On Thu, Jun 16, 2011 at 1:48 PM, Brian Dunning wrote: > I have heard back from Racks

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Brian Dunning
I have heard back from Rackspace and ImageMagick is not going to happen for the time being, but they say Ghostscript is installed. Is it possible to do this completely with GS without ImageMagick? The PDFs are text only. On Jun 15, 2011, at 2:28 AM, Richard Quadling wrote: > I use PDF2PNG as t

[PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
Hi gang, If anyone out there has some experience w/ Doctrine now would be a great time to share it! So I'm writing a batch importer and noticed memory usage climbing during script execution. In the debugging effort I've isolated it down to a Doctrine issue. Here's what's going on, I instantiate

Re: [PHP] How to PHP get bit depth of a given PNG image file?

2011-06-16 Thread Mattias Thorslund
I think the documentation is a bit unclear about the fact that "colors" and "channels" are the same thing here. The line about bits should probably say "bits is the number of bits for each *channel*". Mattias On 06/15/2011 11:11 PM, Nam Gi VU wrote: Thank you Mattias, I'll look at `channels`