Re: [PHP] PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Richard Heyes
>> Surely someone has done this, but I can't find itand I'm too busy and >> cowardly to write it myself :-) Then get your wallet out. If you want email handling (ie Mime parsing), then the mimeDecode class in PEAR will do this, and put the resulting data (attachments and all) in an array struc

RE: [PHP] PHP - Web/list Question...

2008-11-10 Thread tedd
At 4:08 PM -0800 11/9/08, bruce wrote: hi tedd... no offense... but how does this get me to where i was talking about going??? this is simply a demo of breaking a list up across multiple pages... thanks No offense taken. I read: I have a list that extends over multiple pages. there might

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Jochem Maas
Larry Garfield schreef: ... I believe "that guy" Dan Brown might have something up your alley, although he might fall over on the 'douchebag' requirement ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Richard Heyes
> fair Fair ?! It does an outstanding job! :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 1st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Ashley Sheridan
On Sun, 2008-11-09 at 21:50 -0700, Dan Harrington wrote: > Hello, > > I have seen procmail and PERL, and some MIME handling scripts...but I > haven't seen PHP, Procmail, Mysql, and MIME handling to effectively handle > incoming emails. I don't know PERL, so naturally I'd like to see it all > wri

Re: [PHP] PHP - Web/list Question...

2008-11-10 Thread Thodoris
At 4:08 PM -0800 11/9/08, bruce wrote: hi tedd... no offense... but how does this get me to where i was talking about going??? this is simply a demo of breaking a list up across multiple pages... thanks No offense taken. I read: I have a list that extends over multiple pages. there mi

Re: [PHP] object persistence within a session

2008-11-10 Thread ceo
> I've found that I don't mind a few well organized database calls per > page for the information I need. Opening up a database connection is very expensive. Sending one more simple / fast query is dirt cheap. Time it on your system with http://php.net/microtime and see. -- PHP Gene

Re: [PHP] object persistence within a session

2008-11-10 Thread Andrew Ballard
On Mon, Nov 10, 2008 at 8:55 AM, <[EMAIL PROTECTED]> wrote: > >> I've found that I don't mind a few well organized database calls per >> page for the information I need. > > Opening up a database connection is very expensive. > > Sending one more simple / fast query is dirt cheap. > > Time it on y

Re: [PHP] object persistence within a session

2008-11-10 Thread Eric Butera
On Mon, Nov 10, 2008 at 8:55 AM, <[EMAIL PROTECTED]> wrote: > >> I've found that I don't mind a few well organized database calls per >> page for the information I need. > > Opening up a database connection is very expensive. > > Sending one more simple / fast query is dirt cheap. > > Time it on y

[PHP] Re: PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Colin Guthrie
Ashley Sheridan wrote: This may sound a bit of a strange question, but why put the fax in a PDF? I mean, it's a bitmap graphic, so why not just leave it in a bitmap format? Most fax systems I've seen deal with TIFF images but they can be in a slightly weird format (missing lines, requiring str

Re: [PHP] It's Sunday, and I'm bored...

2008-11-10 Thread Peter Ford
Govinda wrote: > > On Nov 9, 2008, at 12:28 PM, Richard Heyes wrote: >> >> Subversion, or svn for short. Helps you maintain code bases. Far >> better than regular backups (though by no means a replacement). > > I looked it over briefly and it looks smart for serious collaborated > efforts.. but

[PHP] PHP - Web/list Question...

2008-11-10 Thread ceo
You could paginate the list, in a simple form, but include at the top the values already selected on other/previous pages. You also might consider letting the user type a few letters of what they want, and show them the matching results to be added. This presumes most users have a familiar

Re: [PHP] object persistence within a session

2008-11-10 Thread ceo
> Perhaps, but the examples I usually find when cleaning up code are of > the variety where a script executes one statement to find a list of > parent records, iterates through those records and inside the loop it > executes another statement (sometimes multiple statements!) to get the > d

RE: [PHP] object persistence within a session

2008-11-10 Thread Boyd, Todd M.
> -Original Message- > From: Andrew Ballard [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2008 8:04 AM > To: [EMAIL PROTECTED] > Cc: php-general@lists.php.net > Subject: Re: [PHP] object persistence within a session > > On Mon, Nov 10, 2008 at 8:55 AM, <[EMAIL PROTECTED]> wrote:

Re: [PHP] object persistence within a session

2008-11-10 Thread Ashley Sheridan
On Mon, 2008-11-10 at 14:29 +, [EMAIL PROTECTED] wrote: > And there are times when the JOINs for the one-query solution will > kill you anyway, but with proper pagination, the dozen multi-query > solution will zip along merrily. But joins are what relation databases excel at, so PHP would be t

Re: [PHP] object persistence within a session

2008-11-10 Thread ceo
> But joins are what relation databases excel at, so PHP would be the > bottleneck in your example. Not always... If your JOIN can not be easily constrained in the query, until some kind of processing of the result set takes place, you can end up with a monster interim result set that wi

Re: [PHP] object persistence within a session

2008-11-10 Thread Ashley Sheridan
On Mon, 2008-11-10 at 14:47 +, [EMAIL PROTECTED] wrote: > > But joins are what relation databases excel at, so PHP would be the > > > bottleneck in your example. > > > > Not always... > > > > If your JOIN can not be easily constrained in the query, until some kind of > processing of th

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Robert Cummings
On Mon, 2008-11-10 at 14:26 +0100, Jochem Maas wrote: > Larry Garfield schreef: > > ... > > I believe "that guy" Dan Brown might have something up your alley, > although he might fall over on the 'douchebag' requirement ;-) >From Larry's Post: "We're looking for a company we can partner with lo

RE: [PHP] PHP - Web/list Question...

2008-11-10 Thread bruce
hi T!! This might work! The items in my "list" are really scripts for given colleges, that have been created by developers. This phase is a part of the workflow for the script so the app can test the script, or run it in the production phase. The testing portion involves testing the script, look

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 09:54:21 -0500, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2008-11-10 at 14:26 +0100, Jochem Maas wrote: >> Larry Garfield schreef: >> >> ... >> >> I believe "that guy" Dan Brown might have something up your alley, >> although he might fall over on the 'douchebag' req

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Daniel P. Brown
On Mon, Nov 10, 2008 at 11:09 AM, Larry Garfield <[EMAIL PROTECTED]> wrote: > > So that's a couple of votes for individual people. What company do they work > for? :-) We're not looking for "a guy", we're looking for a firm with a good > reputation. Parasane is a whole company, not just me

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Richard Heyes
>> So that's a couple of votes for individual people. What company do they >> work for? :-) >> We're not looking for "a guy", we're looking for a firm with a good >> reputation. Then you should avoid 1and1 - they're beyond shit. IMO. And I've not heard good things about Easyspace either. Or rat

Re: [PHP] Image Manipulation

2008-11-10 Thread tedd
At 7:16 PM -0500 11/9/08, Ron Piggott wrote: Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? Ron Yes tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing L

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Eric Butera
On Mon, Nov 10, 2008 at 11:55 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: >>> So that's a couple of votes for individual people. What company do they >>> work for? :-) >>> We're not looking for "a guy", we're looking for a firm with a good >>> reputation. > > Then you should avoid 1and1 - they'

Re: [PHP] It's Sunday, and I'm bored...

2008-11-10 Thread Richard Heyes
> I looked it over briefly and it looks smart for serious collaborated > efforts.. but i ask - is anyone finding it makes sense for one-man shows? Absolutely. Change management and recording makes sense for any development, whether it's one or a thousand people. An example is my RGraph software.

Re: [PHP] object persistence within a session

2008-11-10 Thread Andrew Ballard
On Mon, Nov 10, 2008 at 9:47 AM, <[EMAIL PROTECTED]> wrote: > >> But joins are what relation databases excel at, so PHP would be the >> bottleneck in your example. > > Not always... > > If your JOIN can not be easily constrained in the query, until some kind of > processing of the result set take

Re: [PHP] Re: PHP and Cyrus problem

2008-11-10 Thread Emerson Virti
Thank's for response. This solution I tried many times but didn't resolved. The reconstruct command don't modify this cyrus.header file. 2008/11/7 Colin Guthrie <[EMAIL PROTECTED]> > Emerson Virti wrote: > >> Where is the problem? >> > > Probably not the right list, but have you tried using cyr

Re: [PHP] PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Richard Heyes
> Are you serious? I've switched to OOo and never looked back. Does > everything I need, and makes styling documents a hell of a lot easier. Absolutely, I've used MSWord for years and know it quite well. So getting along with OpenOffice is just a pain. I'm not an MS zealot though (believe it or no

Re: [PHP] PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Ashley Sheridan
On Mon, 2008-11-10 at 09:21 +, Richard Heyes wrote: > >> Surely someone has done this, but I can't find itand I'm too busy and > >> cowardly to write it myself :-) > > Then get your wallet out. If you want email handling (ie Mime > parsing), then the mimeDecode class in PEAR will do this,

[PHP] Memcached as Session Handler

2008-11-10 Thread APseudoUtopia
Hey list, I run a website that integrates MemCache, MySQL, and PHP sessions very heavily. I recently came across some documentation on the PHP site that informs me that I can use MemCache as the session.save_handler, instead of files. I know there would be no redundancy of the session data with t

Re[2]: [PHP] Reg Ex

2008-11-10 Thread ANR Daemon
Greetings, "Boyd, Todd M.". In reply to Your message dated Friday, October 31, 2008, 17:51:59, > Someone suggested pathinfo() already... and brought up the issues of > extensions < 3 chars and files with no "basename" (i.e., ".htaccess")... > Checked out www.php.net/pathinfo, and ran a demo on my

Re[2]: [PHP] Reg Ex

2008-11-10 Thread ANR Daemon
Greetings, "Diogo Neves". In reply to Your message dated Friday, October 31, 2008, 20:08:25, > It depends on what he really want, but pathinfo really is a better option > My test worked perfectly on files with no extension and without name... File always have name. Extension is a part of it. >

Re: [PHP] It's Sunday, and I'm bored...

2008-11-10 Thread Richard Heyes
> That's really useful (as I think Richard finds) when I come to do my > timesheets, Me? I don't do time sheets... -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 1st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Memcached as Session Handler

2008-11-10 Thread Colin Guthrie
APseudoUtopia wrote: Hey list, I run a website that integrates MemCache, MySQL, and PHP sessions very heavily. I recently came across some documentation on the PHP site that informs me that I can use MemCache as the session.save_handler, instead of files. I know there would be no redundancy of

Re[2]: [PHP] wget --spider and ignore_user_abort(TRUE)

2008-11-10 Thread ANR Daemon
Greetings, Martino Dell'Ambrogio. In reply to Your message dated Tuesday, November 4, 2008, 15:11:45, > - if I use wget --spider (HEAD request) the script exits just after the > first output, all the functions below never get executed It is intended behaviour. Apache sending headers at the moment

[PHP] Re: two mysql installations php_mysql.dll extension and libmysql.dll question

2008-11-10 Thread ANR Daemon
Greetings, Daniel Kolbo. In reply to Your message dated Thursday, November 6, 2008, 1:19:50, > This question may be more for the MySQL community. If so, my > apologies, please let me know. > I am using php v 5.2.6. > I have two versions of MySQL running on my server (windows xp home sp3). > M

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 11:30:01 -0500, "Daniel P. Brown" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 11:09 AM, Larry Garfield <[EMAIL PROTECTED]> > wrote: >> >> So that's a couple of votes for individual people. What company do they > work for? :-) We're not looking for "a guy", we're look

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Daniel P. Brown
On Mon, Nov 10, 2008 at 4:30 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: > > Exciting. :-) Would you offer what we're looking for on a non-VPS basis? As > I said, we're not set on a VPS-based solution. We are set on a reasonably > priced service that doesn't complain if we ask for SOAP, cURL

[PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Dee Ayy
PHP Version 5.1.6 $contents = file_get_contents("http://user:[EMAIL PROTECTED]/some/path/htmlfile.html"); //WORKS $contents = file_get_contents("http://user:[EMAIL PROTECTED]/some/path/htmlfile with spaces.html"); //FAILS(1) $con

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Micah Gersten
Dee Ayy wrote: > PHP Version 5.1.6 > $contents = file_get_contents("http://user:[EMAIL > PROTECTED]/some/path/htmlfile.html"); > //WORKS > $contents = file_get_contents("http://user:[EMAIL > PROTECTED]/some/path/htmlfile > with spaces.html");

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Dee Ayy
My bad. I urlencoded the %20 LOL %20 works. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Dee Ayy
On Mon, Nov 10, 2008 at 5:26 PM, Dee Ayy <[EMAIL PROTECTED]> wrote: > My bad. > > I urlencoded the %20 LOL > > %20 works. > And just in time to go home. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Jim Lucas
Dee Ayy wrote: > PHP Version 5.1.6 > $contents = file_get_contents("http://user:[EMAIL > PROTECTED]/some/path/htmlfile.html"); > //WORKS > $contents = file_get_contents("http://user:[EMAIL > PROTECTED]/some/path/htmlfile > with spaces.html");

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Dee Ayy
> Have you tried to output the result of urlencode and paste the whole > thing in a browser to make sure that it works? The FF 3.0.3 browser likes http://user:[EMAIL PROTECTED]/some/path/eitherfile with spaces.ext and http://user:[EMAIL PROTECTED]/some/path/eitherfile%20with%20spaces.ext but NOT h

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Maciek Sokolewicz
Dee Ayy wrote: On Mon, Nov 10, 2008 at 5:26 PM, Dee Ayy <[EMAIL PROTECTED]> wrote: My bad. I urlencoded the %20 LOL %20 works. And just in time to go home. Thanks. if you use rawurlencode() instead of urlencode() this won't be a problem; since that does change spaces to %20 instead of +.

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Chris
Jim Lucas wrote: Dee Ayy wrote: PHP Version 5.1.6 $contents = file_get_contents("http://user:[EMAIL PROTECTED]/some/path/htmlfile.html"); //WORKS $contents = file_get_contents("http://user:[EMAIL PROTECTED]/some/path/htmlfile with spaces.html");