Re: [PHP] Please guide in selection of Framework: according to your experience

2010-03-26 Thread Nilesh Govindarajan
On 03/27/2010 09:58 AM, Vishal Rewari wrote: Dear PHP community, I am vishal, I have recently started development in PHP I have come across these PHP frameworks: 1. Codeigniter 2. Symphony 3. CakePHP 4. PEAR Please guide me which one of them is *good in performance ? availa

[PHP] Re: Server-side postscript-to-PDF on-the-fly conversion

2010-03-26 Thread David Robley
Rob Gould wrote: > Is there a free solution out there that will enable me to take a > PHP-generated postscript output file, and dynamically, on-the-fly convert > it to a PDF document and send to the user as a download when the user > clients on a link? > > More description of what I'm trying to d

[PHP] Server-side postscript-to-PDF on-the-fly conversion

2010-03-26 Thread Rob Gould
Is there a free solution out there that will enable me to take a PHP-generated postscript output file, and dynamically, on-the-fly convert it to a PDF document and send to the user as a download when the user clients on a link? More description of what I'm trying to do: 1) I've got a web-page

[PHP] Please guide in selection of Framework: according to your experience

2010-03-26 Thread Vishal Rewari
Dear PHP community, I am vishal, I have recently started development in PHP I have come across these PHP frameworks: 1. Codeigniter 2. Symphony 3. CakePHP 4. PEAR Please guide me which one of them is *good in performance ? available functionality ? Easy to use and configure* or t

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 15:20, Bastien Helders wrote: >  I have checked the rights on the file for the first scenario and no user as > locked it, I can see it, read it and write into it. I could even delete it > if I wanted. > > For the second scenario, it doesn't even apply, as the exec('zip') that > ti

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I have checked the rights on the file for the first scenario and no user as locked it, I can see it, read it and write into it. I could even delete it if I wanted. For the second scenario, it doesn't even apply, as the exec('zip') that timeout try to create a new file (naturally in a folder where

[PHP] Re: MySQL: Return Number of Matched Rows

2010-03-26 Thread Shawn McKenzie
James Colannino wrote: > Hey everyone, > > I have a question. If I do a mysql query that updates a column in a row > to the same value, I get 0 rows affected. However, I also get 1 or more > matched rows. Is there a way that I can return the number of matched > rows, rather than the number of

Re: [PHP] How to set Content-type text/plain

2010-03-26 Thread Guus Ellenkamp
Sorry, my mistake... Never trapped a computer on this kind of mistakes. I never arrived at those lines hehehehe. Sorry. Robert, thanks, you brought the idea to check further. "Robert Cummings" wrote in message news:4bacba3f.6050...@interjinn.com... > Guus Ellenkamp wrote: >> I have the followi

Re: [PHP] How to set Content-type text/plain

2010-03-26 Thread Robert Cummings
Guus Ellenkamp wrote: I have the following lines in my PHP code: header('Content-type: text/plain; charset=utf-8'); echo 'Invalid command'; However, the output is: HTTP/1.1 200 OK Date: Fri, 26 Mar 2010 13:30:08 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Set-Cookie: h

[PHP] How to set Content-type text/plain

2010-03-26 Thread Guus Ellenkamp
I have the following lines in my PHP code: header('Content-type: text/plain; charset=utf-8'); echo 'Invalid command'; However, the output is: HTTP/1.1 200 OK Date: Fri, 26 Mar 2010 13:30:08 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Set-Cookie: http://groepskorting.mega

RE: [PHP] Top vs. Bottom Posting

2010-03-26 Thread tedd
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > > You didn't used to be so difficult, what changed? (look I'm bottom posting!) I wasn't trying to be difficult! Honest! Yousif hijacked my thread to tell me to bottom post. I did the right thing IMHO, and split to

Re: [PHP] Authorize.net test

2010-03-26 Thread Robert Cummings
David McGlone wrote: On Thu, Mar 25, 2010 at 08:45:19PM -0400, David McGlone wrote: Does anyone have any experience with authorize.net? I have a test account with authorize.net and I have written a script to use the checkout of authorize.net but I keep getting this error: 3|2|13|The merchant l

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 12:21, Bastien Helders wrote: > I already used error_reporting and set_time_limit and the use of > ini_set('display_errors', 1); didn't display more exceptions. > > However the modification in the exec helped display STDERR I think. > > 1) In the first scenario we have the followi

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I already used error_reporting and set_time_limit and the use of ini_set('display_errors', 1); didn't display more exceptions. However the modification in the exec helped display STDERR I think. 1) In the first scenario we have the following: zip warning: ../../build/Patch-6-3-2_Q3P15.zip not f

Re: [PHP] Authorize.net test

2010-03-26 Thread David McGlone
> On Thu, Mar 25, 2010 at 08:45:19PM -0400, David McGlone wrote: > > Does anyone have any experience with authorize.net? > > > > I have a test account with authorize.net and I have written a script to > > use the checkout of authorize.net but I keep getting this error: > > > > 3|2|13|The merchant l

Re: [PHP] Allowing multiple, simultaneous, non-blocking queries.

2010-03-26 Thread Peter Lind
Hi Richard At the end of discussion, the best bet for something that "approaches" a threaded version of multiple queries would be something like: 1. open connection to database 2. issue query using asynchronous call (mysql and postgresql support this, haven't checked the others) 3. pick up result

[PHP] Moving to Minneapolis...

2010-03-26 Thread -rada-
Anyone reading this from Twin Cities? I just bought a home there, moving by the end of April or sooner, would really appreciate any job leads or advice! LinkedIn Resume Here are some more specific specific questions I have - please feel free to take this

[PHP] Allowing multiple, simultaneous, non-blocking queries.

2010-03-26 Thread Richard Quadling
Hi. As I understand things, one of the main issues in the "When will PHP grow up" thread was the ability to issue multiple queries in parallel via some sort of threading mechanism. Due to the complete overhaul required of the core and extensions to support userland threading, the general consensu

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 08:51, Bastien Helders wrote: > I've already specified the outputs, and it doesn't change if I put it in a > file. > > 1)In the first scenario, where all the data are compressed together, the > only call of exec('zip') give this output: > > > adding: bin/ (stored 0%) > adding: bi

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I've already specified the outputs, and it doesn't change if I put it in a file. 1)In the first scenario, where all the data are compressed together, the only call of exec('zip') give this output: adding: bin/ (stored 0%) adding: bin/startHotFixInstaller.bat (deflated 41%) adding: bin/startHotFi

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-26 Thread Per Jessen
Peter Lind wrote: > Anyway, I don't think either of us will change point of view much at > this point - so we should probably just give the mailing list a rest > by now. Thanks for the posts, it's been interesting to read :) Most of it. +1 -- Per Jessen, Zürich (11.6°C) -- PHP General Mailin

Re: [PHP] RE: optimizing PHP for microseconds

2010-03-26 Thread Per Jessen
Daevid Vincent wrote: > Was that someone me? I do that. And if you don't, then you're the kind > of person I would not hire (not saying that to sound mean). If you do, I'd would be careful about hiring you. To me, optimizing for microseconds in PHP means loss of focus. > I use single quotes in