php-general Digest 8 Nov 2007 10:43:22 -0000 Issue 5116

2007-11-08 Thread php-general-digest-help
php-general Digest 8 Nov 2007 10:43:22 - Issue 5116 Topics (messages 264197 through 264217): Re: Sessionvariable 264197 by: Ronald Wiplinger Help with preg_replace 264198 by: Richard Luckhurst 264199 by: Al 264200 by: Jochem Maas 264212 by: Robin

php-general Digest 8 Nov 2007 22:44:23 -0000 Issue 5117

2007-11-08 Thread php-general-digest-help
php-general Digest 8 Nov 2007 22:44:23 - Issue 5117 Topics (messages 264218 through 264244): Re: PHP ide? 264218 by: Lester Caine 264219 by: Peter Ford 264220 by: Zoltán Németh 264222 by: pobox.verysmall.org 264224 by: pobox.verysmall.org

[PHP] PHP ide?

2007-11-08 Thread Hulf
Just wondering if anyone uses an IDE and if so what ones? Ta, H. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Benchmarking check to see if array key is set

2007-11-08 Thread Peter Ford
Ford, Mike wrote: On 06 November 2007 12:57, Christoph Boget wrote: Consider the following test code: [...snip...] Running that I found that if( isset( $myArray[$key] )) is faster than if( array key exists( $key, $myArray )) is faster than if( $myArray[$key] ) To be honest,

Re: [PHP] html parsing

2007-11-08 Thread Jim Lucas
Ron Croonenberg wrote: I think the problem is that I read the lines in PHP, I read them with fgets and output them with printf. So the php interpreter never gets to see the line. the apache doesn't parse php output, so it doesn't happen there either. So.. I figured.. I either had to parse

Re: [PHP] PHP ide?

2007-11-08 Thread Richard Heyes
Eclipse with PDT plugin Scite. Not quite an IDE per-se, but still very very good and extremely versatile. IDE of champions ;) That somewhat subjective... :) -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the

Re: [PHP] PHP ide?

2007-11-08 Thread Lester Caine
Darryl Ware wrote: Eclipse with PDT plugin I still prefer PHPEclise and Eclipse handles a lot of my documentation management and other development tools so just one 'IDE' to play with -- Lester Caine - G8HFL - Contact -

Re: [PHP] PHP ide?

2007-11-08 Thread Zoltán Németh
2007. 11. 8, csütörtök keltezéssel 10.58-kor Lester Caine ezt írta: Darryl Ware wrote: Eclipse with PDT plugin I still prefer PHPEclise and Eclipse handles a lot of my documentation management and other development tools so just one 'IDE' to play with for me EasyEclipse for PHP greets

[PHP] Re: PHP ide?

2007-11-08 Thread Peter Ford
Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta+, with KDESVN for version management... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Help with preg_replace

2007-11-08 Thread Robin Vickery
On 08/11/2007, Jochem Maas [EMAIL PROTECTED] wrote: Al wrote: Delimiters needed. Can use about anything not already in your pattern. / is very commonly used; but I like # or % generally; but, you can't use % because your pattern has it. $html = preg_replace(#%ResID#,$bookid,$html);

Re: [PHP] html parsing

2007-11-08 Thread Per Jessen
Ron Croonenberg wrote: I think the problem is that I read the lines in PHP, I read them with fgets and output them with printf. So the php interpreter never gets to see the line. the apache doesn't parse php output, so it doesn't happen there either. So.. I figured.. I either had to

RE: [PHP] PHP ide?

2007-11-08 Thread Shelley Shyan
Zend Studio or PHPEd Regards, Shelley -Original Message- From: Hulf [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 6:02 PM To: php-general@lists.php.net Subject: [PHP] PHP ide? Just wondering if anyone uses an IDE and if so what ones? Ta, H. -- PHP General Mailing List

RE: [PHP] html parsing

2007-11-08 Thread Ford, Mike
On 08 November 2007 06:41, Ron Croonenberg wrote: ok I wrote something quick and dirty real quick: But somehow it doesn't seem to like recursion. Is there something special one needs to do in php ? Recursive functions work just fine in PHP. What's the error message? As far as I can see,

Re: [PHP] PHP ide?

2007-11-08 Thread Darryl Ware
Eclipse with PDT plugin IDE of champions ;) Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] measuring script execution time

2007-11-08 Thread Daniel Brown
On 11/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, running php 5.x as Apache module (both 1.3.x and 2.2.x) seems to report longer execution time when users sit on slower connection. Is it possible that end of script execution is when the last bit is passed to the user by Apache

[PHP] Re: MySQL Identifying worst-performing codes

2007-11-08 Thread Colin Guthrie
Lasitha Alawatta wrote: There is a tool call “idera” (SQL diagnostic manager). Basically it is a performance monitoring and diagnostics tool. It has a feature; Identifying of worst-performing codes – Identifies performance bottlenecks such as the worst-performing stored procedures,

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Andrew Peterson wrote: Does anyone else find the Eclipse programs run EXTREMELY slow? Maybe there's some sort of configuration I'm missing. -Andrew Eclipse is Java based. You need a decent machine and decent amount of RAM. More tips - a) Install only what you need Eclipse is a universe

Re: [PHP] html parsing

2007-11-08 Thread Ron Croonenberg
Hi Mike, (I know it can probably be done better, or more elegant). The problem is that the recursion doesn't seem to stop. (Unless there are html ssi's that loop) there shouldn't be a problem. It basically just freezes up (probably the recursion not terminating/ falling back.) However the

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Eclipse w/ PDT is great. Excellent integration with Subversion (Subclipse). Shows the changed files in the file browser, extremely easy diff, history, etc. Iv -- PHP General Mailing List (http://www.php.net/)

[PHP] measuring script execution time

2007-11-08 Thread [EMAIL PROTECTED]
Hello, running php 5.x as Apache module (both 1.3.x and 2.2.x) seems to report longer execution time when users sit on slower connection. Is it possible that end of script execution is when the last bit is passed to the user by Apache and the connection is closed? Any workaround around

Re: [PHP] html parsing

2007-11-08 Thread Ron Croonenberg
Hi Per, the pages are templates. depending on some variables either one page shows up, or another without links in the address bar changing etc. Ron Per Jessen wrote: Ron Croonenberg wrote: I think the problem is that I read the lines in PHP, I read them with fgets and output them with

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
George Pitcher wrote: I used Eclipse a few years ago when I was pretending to be a java developer. I use Eclipse for 1 1/2 year now and just lately it became nice for what I need (decent PDT, decent Subclipse). Can't imagine what it looked like few years ago. Since then I've mainly been

Re: [PHP] PHP ide?

2007-11-08 Thread Lester Caine
George Pitcher wrote: Apart from that Eclipse is excellent and is improving. I used Eclipse a few years ago when I was pretending to be a java developer. Since then I've mainly been using Dreamweaver, which works well with Smarty, and the 30-odd sites I manage. How easy would it be for me

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Andrew Peterson wrote: I'll try installed it again with none of the other nonsense. PDT has the so called ALL-IN-ONE thing, however I don't really trust it. I would suggest the following - a) Be sure you have the latest Java. b) Get the normal, traditional Eclipse. c) Update it (Help

Re: [PHP] measuring script execution time

2007-11-08 Thread [EMAIL PROTECTED]
Daniel Brown wrote: By name alone (a recursive acronym), PHP stands for PHP Hypertext Preprocessor. That means, before the HTML or other output is sent to Apache to be served to the client, PHP has parsed, interpreted, processed, and returned all of the code, and then terminated the PHP

[PHP] Image manipulation on the fly

2007-11-08 Thread Merlin
Hi there, I need to manipulate images on the fly. My goal is to make the image very bright, or to add a sepia effect. The problem is, that this takes a lot of computing power on 1024 pictures. About 2s on my server until the image is delivered. Does anybody know a high performing image

RE: [PHP] PHP ide?

2007-11-08 Thread George Pitcher
Apart from that Eclipse is excellent and is improving. I used Eclipse a few years ago when I was pretending to be a java developer. Since then I've mainly been using Dreamweaver, which works well with Smarty, and the 30-odd sites I manage. How easy would it be for me to move my existing PHP

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Bojan Tesanovic
Hi Merlin, that is very fast for 1024 images, you will not get much more speed if you try doing anything smarter , though there are some image libraries that are faster than GD libs eg www.imagemagick.org On Nov 8, 2007, at 5:13 PM, Merlin wrote: Hi there, I need to manipulate images on

[PHP] Re: Image manipulation on the fly

2007-11-08 Thread zerof
Merlin escreveu: Hi there, I need to manipulate images on the fly. My goal is to make the image very bright, or to add a sepia effect. The problem is, that this takes a lot of computing power on 1024 pictures. About 2s on my server until the image is delivered.

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Per Jessen
Merlin wrote: Hi there, I need to manipulate images on the fly. My goal is to make the image very bright, or to add a sepia effect. The problem is, that this takes a lot of computing power on 1024 pictures. About 2s on my server until the image is delivered. Yeah, you're doing

Re: [PHP] PHP ide? OT

2007-11-08 Thread Børge Holen
On Friday 09 November 2007 01:03:13 Børge Holen wrote: On Friday 09 November 2007 00:47:56 you wrote: On Fri, 2007-11-09 at 00:28 +0100, Børge Holen wrote: On Friday 09 November 2007 00:03:32 Instruct ICC wrote: Just wondering if anyone uses an IDE and if so what ones?

Re: [PHP] PHP ide? OT

2007-11-08 Thread Børge Holen
On Friday 09 November 2007 00:47:56 you wrote: On Fri, 2007-11-09 at 00:28 +0100, Børge Holen wrote: On Friday 09 November 2007 00:03:32 Instruct ICC wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of

Re: [PHP] PHP ide?

2007-11-08 Thread Robert Cummings
On Fri, 2007-11-09 at 00:28 +0100, Børge Holen wrote: On Friday 09 November 2007 00:03:32 Instruct ICC wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the

Re: [PHP] PHP ide?

2007-11-08 Thread Børge Holen
On Friday 09 November 2007 00:03:32 Instruct ICC wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the effort... I really cannot see what so many of you guys see in

RE: [PHP] PHP ide?

2007-11-08 Thread Instruct ICC
Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the effort... I really cannot see what so many of you guys see in eclipse, it's a mistake all together I use JOE of course.

RE: [PHP] PHP ide?

2007-11-08 Thread Instruct ICC
On Thu, 2007-11-08 at 21:47 +0100, Børge Holen wrote: On Thursday 08 November 2007 11:02:07 Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the effort... I really cannot see what so

[PHP] Recommend a wiki?

2007-11-08 Thread Skip Evans
Hey, Anyone want to recommend a wiki package they use to document PHP code projects, libraries, etc, they are happy with? We've tried a couple but have not been thrilled with them. Thanks! Skip -- Skip Evans Big Sky Penguin, LLC 503 S Baldwin St, #1 Madison, WI 53703 608-250-2720

Re: [PHP] PHP ide?

2007-11-08 Thread Børge Holen
On Thursday 08 November 2007 11:02:07 Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the effort... I really cannot see what so many of you guys see in eclipse, it's a mistake all together -- --- Børge

Re: [PHP] PHP ide? OT

2007-11-08 Thread Robert Cummings
On Fri, 2007-11-09 at 01:03 +0100, Børge Holen wrote: oh no, I wasn't hinting your way, I more or less commented on tersus beeing eclipse. It's like the ubunty hype, witch fails to state on the homepage: we're practically NOTHING without debian. Ubuntu = Debian + New Life you

[PHP] Re: [PHP-DB] Re: MySQL Identifying worst-performing codes

2007-11-08 Thread chris smith
On Nov 9, 2007 1:18 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Lasitha Alawatta wrote: There is a tool call idera (SQL diagnostic manager). Basically it is a performance monitoring and diagnostics tool. It has a feature; Identifying of worst-performing codes – Identifies

Re: [PHP] Recommend a wiki?

2007-11-08 Thread chris smith
On Nov 9, 2007 8:02 AM, Skip Evans [EMAIL PROTECTED] wrote: Hey, Anyone want to recommend a wiki package they use to document PHP code projects, libraries, etc, they are happy with? I quite like Doku (http://wiki.splitbrain.org/wiki:dokuwiki). -- Postgresql php tutorials

Re: [PHP] PHP ide?

2007-11-08 Thread Robert Cummings
On Thu, 2007-11-08 at 21:47 +0100, Børge Holen wrote: On Thursday 08 November 2007 11:02:07 Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much work and not worth the effort... I really cannot see what so many of you

Re: [PHP] Recommend a wiki?

2007-11-08 Thread TG
My host, Dreamhost, has MediaWiki on their One Click Installs. I gave it a spin. Seems to work really well. Takes time to get used to the wiki way of doing things, but it's easy enough to learn. -TG - Original Message - From: Skip Evans [EMAIL PROTECTED] To:

Re: [PHP] PHP ide?

2007-11-08 Thread Børge Holen
On Thursday 08 November 2007 23:33:07 Instruct ICC wrote: On Thu, 2007-11-08 at 21:47 +0100, Børge Holen wrote: On Thursday 08 November 2007 11:02:07 Hulf wrote: Just wondering if anyone uses an IDE and if so what ones? Ta, H. Quanta +, of course. Other is to much

[PHP] Creating PDF files with more than one font?

2007-11-08 Thread Shelley Shyan
Hi all, I want to create a pdf file with several fonts. Which tool is better, pdflib, ezpdf, ? Any suggestions? Regards, Shelley -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Recommend a wiki?

2007-11-08 Thread Daevid Vincent
I have had 'Trac' thrust upon me by an employee/coworker and while it is not perfect (or even close to it), it does what it does, and it does it pretty well. http://trac.edgewall.org/ Some of my favorite things about it are: Wiki is pretty common tags

RE: [PHP] PHP ide?

2007-11-08 Thread Instruct ICC
Sorry for the crap below. I think it's MS Hotmail not playing nice with Safari. Eclipse and Netbeans (now it may look like I'm pushing Java) have offerings to allow us developers to build upon -- not just apps, but tools. I think that's a good thing. Don't reinvent the wheel is another good

RE: [PHP] PHP ide?

2007-11-08 Thread Robert Cummings
On Thu, 2007-11-08 at 19:06 -0800, Instruct ICC wrote: Sorry for the crap below. I think it's MS Hotmail not playing nice with Safari. Eclipse and Netbeans (now it may look like I'm pushing Java) have offerings to allow us developers to build upon -- not just apps, but tools. I think

RE: [PHP] PHP ide? Back On Topic

2007-11-08 Thread Instruct ICC
Do you pay for Ubuntu? Maybe a support package? Earlier this week I was pissed at Adobe Dreamweaver CS3 and their developers. And I began thinking that the major difference between open source software (free as in no $ outa my pocket) and retail closed source software is that maybe, just

RE: [PHP] PHP ide?

2007-11-08 Thread Instruct ICC
Blah blah blah...electricity You see where I'm going. You forgot Adam and Eve For those who believe You see where I'm going. For the others, you get vacuum fluctuations LOL. _ Boo! Scare away worms, viruses and so much more! Try

Re: [PHP] PHP ide? Back On Topic

2007-11-08 Thread Larry Garfield
On Thursday 08 November 2007, Instruct ICC wrote: Do you pay for Ubuntu? Maybe a support package? Earlier this week I was pissed at Adobe Dreamweaver CS3 and their developers. And I began thinking that the major difference between open source software (free as in no $ outa my pocket) and