Re: [PHP] Good PHP book?

2008-12-16 Thread Richard Heyes
>>> I learned from PHP For Dummies. >> >> The title of that book isn't doing itself any favours... :-) > >You'd be surprised. The "For Dummies" series is one of the > best-selling franchises in mainstream publishing history. Still, calling your audience dumb is generally regarded as being "a

Re: [PHP] Good PHP book?

2008-12-17 Thread Richard Heyes
> Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :( What are "Floppies"? Is it a reference to a particular male problem? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP Gen

Re: [PHP] Good PHP book?

2008-12-17 Thread Richard Heyes
> Sounds like you need "Self Esteem for Dummies." Lol. It's not a question of self-esteem, more based on the number of non-starter businesses I've attempted to start. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated Decembe

Re: [PHP] PHP Form email w/attachment

2008-12-18 Thread Richard Heyes
> thank god that some guys make it > simple for us ;) You're welcome. :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-19 Thread Richard Heyes
> This is why I removed it from my system. FWIW, it doesn't do it now. I still by far prefer Firefox. If anything, it's because of Firebug. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP General Maili

Re: [PHP] filter function vs regular expression

2008-12-20 Thread Richard Heyes
e format ? They' more versatile. Far more in the case of PCRE. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] filter function vs regular expression

2008-12-20 Thread Richard Heyes
l term I believe). -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First record not diplaying

2008-12-22 Thread Richard Heyes
> Also (and I know the speed junkies will want to shoot me now!) you could > shorten the echo inside the while loop to: You could shorten it even further by omitting it... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated Decembe

Re: [PHP] Create PHP form from MySQL table structure

2008-12-23 Thread Richard Heyes
leEditor.html -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Richard Heyes
> word Which one? Happpy needless turkey murder day! To coin a phrase. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend framework

2008-12-24 Thread Richard Heyes
2008/12/24 Al : > I've not given it much thought, so far. > > But, am curious about what you folks think about it. > > Anyone with experience have a comment? On what? The Zend Framework? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.o

Re: [PHP] Webhotel structure

2008-12-27 Thread Richard Heyes
>What? Seconded. Are you talking about hosting? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search functionality in website.

2008-12-29 Thread Richard Heyes
my personal website: http://www.phpguru.org -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-31 Thread Richard Heyes
ough. For example, you could use this: -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is MD5 still considered safe for storing application user passwords?

2008-12-31 Thread Richard Heyes
. However with the addition of a salt it would be largely pointless since you need both pieces (?) of information (password plus salt) to generate the hash. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mail

Re: [PHP] Question about version control.. sorta..

2008-12-31 Thread Richard Heyes
Muhaha. > responses. I don't have anything against Linux or Mac, they're great > systems. But I have my reasons for running Windows. There's definitely a Gui for CVS. TurtleCVS IIRC. Presumably there's one for SVN. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera

Re: [PHP] Searching in a long text

2009-01-03 Thread Richard Heyes
e worth it I think. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS Feed on my PHP site

2009-01-05 Thread Richard Heyes
> i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed > added to my website? You can read and parse an RSS feed just like any other webpage. Magpie RSS will probably make life easier though. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and S

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Richard Heyes
not really a concern these days. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Richard Heyes
ternal only). > > http://dev.mysql.com/doc/refman/5.0/en/char.html > > When CHAR values are stored, they are right-padded with spaces to the > specified length. When CHAR values are retrieved, trailing spaces are > removed. So where's the advantage of VARCHAR ? -- Ric

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Richard Heyes
e days are long gone. In the example you gave you're still only wasting approx 1 GB. Hardly a lot these days when you consider you buy a consumer 500Gb Hdd for £50. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Richard Heyes
ctual length, lots of rows, or both, then varchar > columns may be faster. I still think a CHAR field would be faster than a VARCHAR because of the fixed row length (assuming every thing else is fixed). Perhaps someone from the MySQL list could clarify...? -- Richard Heyes HTML5 Graphing for

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Richard Heyes
> but, I'm more concern does client has to pay the changes/upgrade or it's > still "my obligation"? Of course you charge him. Christ if I was expected to maintain stuff gratis that I wrote 7 years ago I'd be mullahed. -- Richard Heyes HTML5 Graphing for FF,

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Richard Heyes
a drive measured in the hundreds of Gigs. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-08 Thread Richard Heyes
> until you have to dump it, zip it, ssh it over to another box and then > import it back in That's what fag breaks are for... :-) Well, that and smoking. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General M

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-08 Thread Richard Heyes
> So... when you're forgetful... have you ever had to bum a fag? All the time... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Richard Heyes
> Where would I find that article, if you think it might help me get MDB2 > working properly? It won't help you get MDB2 working - it's a general thing I wrote on structuring your applications and websites. I have used for quite a while though, and it's served me well. --

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Richard Heyes
27;s served me well. Sorry, forgot the URL: http://www.phpguru.org/static/ApplicationStructure.html -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
nd the actual data: -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated Jan

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> > Oops, that should be the title of the individual article. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
han hardcode everything. DOMDocument would be overkill. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> ... Suppose I should change my feed then. At some point... :-) -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
> hope you're well today Well, I have a bit of runny nose, and as usual it's frickin' freezing (the joys of rat poison). But other than that fine thanks. You? -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Richard Heyes
ator and test in many RSS > clients/readers. RSS 0.92? That's what I've always used. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Holy crap

2009-01-12 Thread Richard Heyes
Chrome 2.0? http://www.trustedreviews.com/software/news/2009/01/12/Google-Chrome-Hitting-Macs--Linux-By-July/p1 So much for long beta periods! -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http

Re: [PHP] Finger

2009-01-15 Thread Richard Heyes
y you can be more or less sure that a person has read the email. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 4th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 100% CPU Usage somewhere in script - how to find it?

2009-01-18 Thread Richard Heyes
> ... This may be of some use, enabling you to find the areas that are taking longer than others: http://www.phpguru.org/downloads/Timer/Timer.phps -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing L

Re: [PHP] phpMailer Problem!

2009-01-18 Thread Richard Heyes
>> $mail->Port = 80; > > Invalid mail port Further to that, the normal port for SMTP is 25. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Undefined index error

2009-01-19 Thread Richard Heyes
;] on the preceding line. Just for testing, you could do this too: $_SERVER['REQUEST_URI'] = 'It/Works'; ...on the preceding line. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mai

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread Richard Heyes
ot;; local_referal Order Deny,Allow Deny from all Allow from env=local_referal ####### -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] maybe we could all?

2009-01-20 Thread Richard Heyes
> ... Um, PEAR? -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_query and my.cnf?

2009-01-20 Thread Richard Heyes
> ... Hi, You might get more help on the MySQL list. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Richard Heyes
he same (or at least very similar) API to the PEAR::DB abstraction layer. http://www.phpguru.org/downloads/DB/ -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Military <-> Standard times

2009-01-22 Thread Richard Heyes
> PS - I think the best ever name for a Exception class is 'Tantrum': > >throw new Tantrum('Ra Ra Ra Aaaargh'); Lol. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mai

Re: [PHP] Redirecting from unreachable page on website

2009-01-22 Thread Richard Heyes
hpguru.org/oh%20crap Using this method allows users to easily get to where they actually need to be, plus you can potentially promote anything of yours that you want to. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) --

Re: [PHP] Create $var with some function

2009-01-22 Thread Richard Heyes
Hi, function createvar($name, $value) { $GLOBALS[$name] = $value; } Or do it without a function: $GLOBALS['name'] = $value; -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing

Re: [PHP] Redirecting from unreachable page on website

2009-01-22 Thread Richard Heyes
> What if the file exists, but it's kinda file to update database, like GET requests shouldn't really modify data. -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 17th) -- PHP General Mailing List (http://www

Re: [PHP] Captha Image Matching the Session Value.

2009-01-25 Thread Richard Heyes
> ... 1. It's captcha, not captha - http://en.wikipedia.org/wiki/Captcha 2. As far as I can see (and that's not too far), you appear to be sending HTML along with the image. You need to have one script to generate the page, and another to create and send the captcha image.

Re: [PHP] Updating time in php

2009-01-26 Thread Richard Heyes
>... I'll add that if you went the JS route, then it would just be replicating the system time, ie replicating the Windows clock. Unless you decided to go the AJAX route (?!). But like Edmund said (inferred), it's a waste of time (...). -- Richard Heyes HTML5 Graphing for Fi

Re: [PHP] Blank page of hell..what to look for

2009-02-02 Thread Richard Heyes
> I have errors on Including E_NOTICE ? -- Richard Heyes HTML5 Graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Includes only if required?

2009-02-02 Thread Richard Heyes
then it may well be cause for concern. Either way you can define a function called "__autoload" that gets called when a class is about to be instantiated. This function can then load the correct library. On demand as it were. http://uk2.php.net/__autoload -- Richard Heyes HTML5 G

Re: [PHP] Where does the sendmail() function come from?

2009-02-05 Thread Richard Heyes
can't find a reference > to it in the manual, so where does it come from? Presumably it's either undocumented or user defined. get_defined_functions() will help you in determining that. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph

Re: [PHP] Where does the sendmail() function come from?

2009-02-05 Thread Richard Heyes
> think I shouldve stayed > in bed today. I feel like that most days... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] why does a html mail send as text ?

2009-02-05 Thread Richard Heyes
re it can. It denotes a quoted string. Like this: "Paul Doobla" -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] long echo statement performance question

2009-02-06 Thread Richard Heyes
> ... Wouldn't have thought so. But for readability, you may find this a little easier instead: ?> {$var1} Blah {$var2} ... http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] long echo statement performance question

2009-02-06 Thread Richard Heyes
> Wouldn't have thought so. But for readability, you may find this a > little easier instead: Slight correction: ?> blah http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP usage stats

2009-02-08 Thread Richard Heyes
Hi, Can anyone point out some general statistics on PHP usage compared to other server languages? I've tried Netcraft, but they only appear (or I've only found) to have statistics on the httpd server used. Thanks. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera

Re: [PHP] PHP usage stats

2009-02-08 Thread Richard Heyes
Hi, > Why anyone would see value in such a number is beyond me. Just trying to get an (over)view of the market. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] paging

2009-02-10 Thread Richard Heyes
> ... Hi, Too lazy to actually read the email (tsk), but there's rather a nice paging library in PEAR that may help. Imaginitively called "Pager". -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st

Re: [PHP] Re: paging

2009-02-10 Thread Richard Heyes
> ... Are you the same Tony Marston who was on the Demon Internet webmaster type mailing list? (I don't remember the actual name). -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing Li

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Richard Heyes
> Thanks for your answer, but my real problem is to get thousand separator in > jpgraph class which uses sprintf to display almost everithing; Can you format it first, and then pass it to JPGraph ? -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari

[PHP]

2009-02-15 Thread Richard Heyes
Hi, Does anyone the status of http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reverse IP lookup

2009-02-15 Thread Richard Heyes
> Is there anyway to get a list of sitess that are on a specific IP? Not AFAIK. You can get the name associated with that IP adress (IIRC), but one IP could be serving multiple sites using virtual hosting. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: h

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-16 Thread Richard Heyes
(nur für Lehre) > Will be: US-ASCII''PC-Beschaffung%202008%20(nur%20f%C3%BCr%20Lehre) > > I think I have to encode the file name and already tried utf8encode but this > didn't help. This may help: http://www.phpguru.org/static/mime.mail.html -- Richard Heyes HTML5 Canv

Re: [PHP]

2009-02-16 Thread Richard Heyes
> ... Sorry, should've mentioned, I'm talking about PHP6. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-16 Thread Richard Heyes
> I'm already using pear Mail_Mime. [Ducks and runs off] -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Richard Heyes
> The *other* white meat? Sorry, no idea what that means. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Richard Heyes
> Can someone explain to me why pear mail_mime is not a good idea to use? I > noticed some comments like that a few times but no explanation There's no reason not to use it - it works for a good many people. And a few cats too. -- Richard Heyes HTML5 Canvas graphing for Firefox, Ch

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Richard Heyes
> Cats are the other white meat. Sorry have flu, may be delirious You haven't been around any birds recently have you? -- (A concerned) Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing Li

Re: [PHP] display_errors and error_reporting not enough?

2009-02-17 Thread Richard Heyes
your php.ini file (and restart your web server). Either way you won't be able to use the constants (which you use only in a PHP script. IIRC the correct directive would be: error_reporting 2047 -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org

[PHP] A puzzler (well, for me at least)

2009-02-26 Thread Richard Heyes
hands... Cheers. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A puzzler (well, for me at least)

2009-02-26 Thread Richard Heyes
> Your answer is neither relevant nor funny. :-| Someone didn't get any last night... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] A puzzler (well, for me at least)

2009-02-26 Thread Richard Heyes
out, and since it's usually got most of the CPU to play with, I reckon it will be plenty fast enough. Nice to know that I can be sloppy though if I wanted to. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 14th) -- PHP G

Re: [PHP] A puzzler (well, for me at least)

2009-02-28 Thread Richard Heyes
>>>> Your answer is neither relevant nor funny. :-| >>> >>>    And your response wasn't welcome.  So there, everyone's even. >> >> I'm even?? You sure? People been telling me my entire life that I'm odd! >> > > rob, that

[PHP] Just a test

2009-03-02 Thread Richard Heyes
-- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Just a test

2009-03-02 Thread Richard Heyes
2009/3/2 Daniel Brown : > On Mon, Mar 2, 2009 at 05:55, Richard Heyes wrote: >> >> This is just a test to see who here still thinks I'm a dork. > >    I still do, Richy. I see. You won't be wanting any of billion dollar empire when I make it then. Ho hum.

Re: [PHP] Just a test

2009-03-02 Thread Richard Heyes
ure, is that what you're testing? Nope. Email addresses. I think. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about template systems

2009-03-03 Thread Richard Heyes
ark is collectively known as the query string. You can retrieve these by examining the $_GET variable. You will aalso find some useful things, in $_SERVER. Eg: -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending out large amounts of email

2009-03-06 Thread Richard Heyes
my use was very brief. These types of company will also have far more success in getting the emails delivered (and not flagged as spam). -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://

Re: [PHP] Re: Sending out large amounts of email

2009-03-07 Thread Richard Heyes
> thanks a thousand A thousand? That's a bit stingy - usually it's "thanks a million"... :-) -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Richard Heyes
now been deprecated in favour of MDB2. Which may or may not also be in PEAR. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Richard Heyes
the stuff that I've written. I suppose it depends very much on each individual package author (there are a fair few). -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread Richard Heyes
> ereg [Gasps and runs off shouting "PCRE"] ... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace() question

2009-03-18 Thread Richard Heyes
spaces and non alpha numerical > characters from text strings? I suspect not... Have a look through the string functions. the ctype_* functions too. See if one fits your needs. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 14th)

[PHP] Namespce operator

2009-03-25 Thread Richard Heyes
Backslash? Seriously? I'm hurt that my suggestion of "¬" (ASCII170 ?) wasn't used. :-( -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 14th) -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Namespce operator

2009-03-25 Thread Richard Heyes
> Backslash doesn't sound like it will look very pretty Well no, but practically I can't see any dis/advantages. Except that it saves two whole keypresses over something like :::. Think of the RSI lawsuits prevented... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chro

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Richard Heyes
umber of seconds) it took to go from $t1 to $t2. $duration might be better. > how do you determine the next 5 mins? Eh? time() + 300 is five minutes from now. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 14th) -- PHP General

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Richard Heyes
> When someone does that, it means the execution time between $t1 and $t2... Is that for my benefit? Believe it or not, I do know the arcane art of subtraction... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 14th) --

Re: [PHP] Button id's - firefox and IE different ?

2009-04-02 Thread Richard Heyes
> Any suggestions ? Try this: And then you can check the value of $_POST['btid']. Oh and btw... ... seriously? That's so 9 years ago. ;-) -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP Ge

Re: [PHP] PHP/MySQL ISP recommendation that lets one edit ft_min_word_len variable?

2009-04-04 Thread Richard Heyes
ental variables.  I really need to adjust ft_min_word_len so > that I can do rapid text searches on words less than 4 chars. Dan the man on this very mailing list. Or Rackspace. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated M

Re: [PHP] Tree-like structure in PHP?

2007-11-16 Thread Richard Heyes
What is the most obvious way to implement a tree-like structure in PHP? Use someone elses code that already works. :) Array based tree class is here: http://www.phpguru.org/Tree/Tree.phps -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk

Re: [PHP] Open Source BTS??

2007-11-16 Thread Richard Heyes
complaints here. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for a navigation recommendation

2007-11-17 Thread Richard Heyes
riables. Any suggestions for me? Or maybe a recommendation for a similar page I could view and > learn from? The PEAR Pager class can do this for you. Together with the Pager_Sliding package it works very well. http://pear.php.net/package/Pager -- Richard Heyes +44 (0)800 0213 172 http://www

Re: [PHP] freeing resourses after the end of the session

2007-11-19 Thread Richard Heyes
have many garbage images in the temp directory). Is there any way to do that? From PHP? http://uk.php.net/manual/en/function.register-shutdown-function.php -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost

Re: [PHP] Logic Help please

2007-11-22 Thread Richard Heyes
y, an IFRAME might be needed with left/right scrolling. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] URL Parsing...

2007-11-25 Thread Richard Heyes
uot;\n"; echo preg_replace('\.cfm$', '-meta.cfm', $_SERVER['SCRIPT_FILENAME']), "\n"; Anything would be helpful. :) You don't need the overhead of PCRE, though it is the fastest to write, since it's already above for you... Or parse_url(). b

Re: [PHP] URL Parsing...

2007-11-25 Thread Richard Heyes
well if you take a string (filename) and wish to change the end of it somone then I don't think str_replace() is the correct function. what's to say a script doesn't exist called 'my.cfm.php'? How does this: /\.cfm$/ take into account that? -- Richard Heyes

Re: [PHP] URL Parsing...

2007-11-26 Thread Richard Heyes
Chris wrote: Richard Heyes wrote: well if you take a string (filename) and wish to change the end of it somone then I don't think str_replace() is the correct function. what's to say a script doesn't exist called 'my.cfm.php'? How does this: /\.cfm$/ take into acc

Re: [PHP] include "config.php" does not work anymore after PHP 5.2

2007-12-02 Thread Richard Heyes
from PHP 4.x to PHP 5.x? This is a major upgrade so you should expect things to stop working. Using the long version of the open tags (ie -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFERING FREE

Re: [PHP] Calendar

2007-12-03 Thread Richard Heyes
will need a cron job that runs every x minutes. That could check a database for jobs/tasks that need running, using the current time and an option like "run this job every 10 minutes" to determine what needs running, (ie in that case if the current time isn't divisible by ten then don

<    1   2   3   4   5   6   7   8   9   >