Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Richard Heyes
a PHP file without the .php extension. It's forced to run as a PHP file using this: Files article ForceType application/x-httpd-php /Files And you will find the URL in $_SERVER somewhere. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th September) Lots of PHP

Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Richard Heyes
Hi, It is good to hear that they teach PHP in kindergarden these days. I've heard it's soon to be part of the national curriculum here in the UK. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th September) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP

Re: [PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Richard Heyes
. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th September) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi, Also, will PHP ever implement the Strict mode similar to Perl's 'using Strict'? Don't know if it's similar having never used Pearl, but there's always the E_STRICT error level. ?php error_reporting(E_STRICT); ? -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th

Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi (again), ?php  error_reporting(E_STRICT); ? This might work better: ?php error_reporting(E_ALL | E_STRICT); ? -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th September) Lots of PHP and Javascript code - http://www.phpguru.org 50% reseller discount on licensing

Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Richard Heyes
Hi, E_STRICT is now part of E_ALL Oopsy. Shows how much PHP I do these days... -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 5th September) Lots of PHP and Javascript code - http://www.phpguru.org 50% reseller discount on licensing now available - ideal for web designers

Re: [PHP] Why aren't you rich? (was Re: unset() something that doesn't exist)

2009-08-26 Thread Richard Heyes
Hi, time is really what i want more of. Personally I'd settle for a Ferrari. Or two. It would be hard, but I think I could just about manage. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org 50% reseller

Re: [PHP] Why aren't you rich? (was Re: unset() something that doesn't exist)

2009-08-26 Thread Richard Heyes
Hi, time is really what i want more of. Personally I'd settle for a Ferrari. Or two. It would be hard, but I think I could just about manage. Might look nice in your driveway... But without the time to drive it... :| ;) I actually don't have a driving license either... :-/ -- Richard

Re: [PHP] Rounding down?

2009-08-22 Thread Richard Heyes
.whatever 2. floor(9.whatever) = 9 3. 9 * 50 = 450 -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rounding down?

2009-08-22 Thread Richard Heyes
Hi, It should be round() and not floor(). 449 / 50 = 8.98 floor(8.98) = 8 8 * 50 = 400 round(8.98) = 9 9 * 50 = 450 Not based on the examples given: Example: Any number between 400 and 449 I would 400 to be displayed -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated

Re: [PHP] Rounding down?

2009-08-22 Thread Richard Heyes
myRound(450) . 'br /'; // 450 echo myRound(356) . 'br /'; // 350 echo myRound(79) . 'br /'; // 50 ? PS I haven't checked if there's a PHP function for this. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http

Re: [PHP] HTML text extraction

2009-08-18 Thread Richard Heyes
HI, ... The easy way (Back to the Future 2 anyone...?) would be to use strip_tags() first: http://uk.php.net/strip_tags -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http

Re: [PHP] Sending email w/ attachments

2009-08-11 Thread Richard Heyes
Hi, Very cool! I'll take that as a compliment... :-) -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending email w/ attachments

2009-08-11 Thread Richard Heyes
Hi, ... Sorry, quoted wrong email. Oopsy... -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ZCE Question

2009-08-09 Thread Richard Heyes
Hi, Looks like XMLRPC to me. Agreed - it's not gibberish so it can't be SOAP... -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Problem: Writing into Files?

2009-08-03 Thread Richard Heyes
won't lose your count. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Dan Brown

2009-08-03 Thread Richard Heyes
Hi, ... As said over IM, best wishes. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Problem: Writing into Files?

2009-08-02 Thread Richard Heyes
to a certain size (eg 1 gazillion k) you could use a summary file. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Problem: Writing into Files?

2009-08-02 Thread Richard Heyes
. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Better Formatting Options?

2009-07-31 Thread Richard Heyes
for verbosity/readability. It will help when you come back to re-read it in X months. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 25th July) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Sessions

2009-07-03 Thread Richard Heyes
= getDatabase(); Wunderbar. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 3rd July) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Push an Array, Comma separated.

2009-06-30 Thread Richard Heyes
(); array_push($myArr, 'Demo2.txt', 'Demo.txt', 'Demo.txt'); o Shorter syntax: $myArr[] = 'Demo2.txt'; $myArr[] = 'Demo.txt'; $myArr[] = 'Demo.txt'; -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid

Re: [PHP] CSV file

2009-06-25 Thread Richard Heyes
efficient and with larger files will be faster. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP: http://www.phpguru.org/smtp

Re: [PHP] CSV file

2009-06-24 Thread Richard Heyes
line CSV then speed may suffer somewhat though. Best to still use fgets() or fgetcsv() and count as you go. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

Re: [PHP] CSV file

2009-06-24 Thread Richard Heyes
. If it's a big file it will still be quicker than reading the whole thing into memory. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org

Re: [PHP] CSV file

2009-06-24 Thread Richard Heyes
Hi, To do the line count first, you have to read the whole file, how would you do it? Something like this: $fp = fopen('/tmp/foo', 'r'); $count = 0; while (!feof($fp)) { fgets($fp); ++$count; } -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail

Re: [PHP] mirroring website

2009-06-21 Thread Richard Heyes
approach? I used to use rsync (with a bunch of options) whenever I did this. With you being on Linux, it would be trivial to automate it with a script. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 20th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Richard Heyes
Hi, ... Use something that is already proven to work. It will save you an awful lot of time. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Richard Heyes
Hi, pear's mime mail I believe I had a hand in that too. It's like a bad rash - it gets everywhere... :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
... Something like the last example? http://dev.rgraph.net/examples/scatter.html And before you ask, you can only have one line :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
Hi (again), And before you ask, you can only have one line :-) Though thinking a bit more about this, you could achieve it straight forwardly enough. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid

Re: [PHP] PHP Graphing Libraries...?

2009-06-08 Thread Richard Heyes
Hi, Don't see anything except a grid on Firefox 3.0.10 on PC. Yes the whole library requires FF3.5+, Safari 4+ or Chrome 2+. http://www.rgraph.net/#browser -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid

Re: [PHP] php applications

2009-06-08 Thread Richard Heyes
to create command line stuff, and also GUI based apps using the Gtk extension. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP: http

Re: [PHP] php applications

2009-06-08 Thread Richard Heyes
Hi, Real men use perl ;)    's/Real men/Masochists' There's always VB... -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP

Re: [PHP] PHP Graphing Libraries...?

2009-06-07 Thread Richard Heyes
) ? -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP: http://www.phpguru.org/smtp -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread Richard Heyes
this. ie You set an maximum X value and the X values are put in the corresponding places. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate

Re: [PHP] Web friendly file names

2009-06-03 Thread Richard Heyes
is not applicable, you could get something like this: /product/24ct-gold-earrings -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP

Re: [PHP] recipes anyone?

2009-05-29 Thread Richard Heyes
a URL like this: http://www.pig-supper.com/recipe/pork-roast.html recipe could be a PHP file that adds a common header and footer. I do similar with my site. Eg: http://www.phpguru.org/static/canvas.html Or did you mean something else entirely...? -- Richard Heyes HTML5 graphing: RGraph

Re: [PHP] Create multipart email

2009-05-28 Thread Richard Heyes
on the version numbers to get at the code. You can then treat it like you would any other PHP file. You'll have to resolve any depenencies yourself though. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org

Re: [PHP] templating engine options

2009-05-25 Thread Richard Heyes
Hi, and then you have the joy of telling the client its 6 months work 6 months vs 1 day... Ka-Ching! :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

Re: [PHP] executing background process from php

2009-05-25 Thread Richard Heyes
to redirect all output streams, like this (on Unix - on Windows I have no idea I'm afraid): ?php exec('sleep 5 /dev/null 21 '); ? -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template

Re: [PHP] templating engine options

2009-05-25 Thread Richard Heyes
That's where your integrity is called into question. What's that...? :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP

Re: [PHP] templating engine options

2009-05-24 Thread Richard Heyes
require()... :-/ -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) PHP SMTP: http://www.phpguru.org/smtp -- PHP General Mailing List (http://www.php.net

Re: [PHP] Accepting Credit Card Payments

2009-05-20 Thread Richard Heyes
Hi, ... If you're in the US or UK then you could look at using Google Checkout - it's very easy to setup. Plus your punters (/Customers) may feel a little better about giving their CC details to a recognized brand like Google. Or if they're in Switzerland, maybe not... :-/ -- Richard Heyes

Re: [PHP] object literals

2009-05-03 Thread Richard Heyes
i'm really lazy about typing. I think every good programmer is... ;-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) -- PHP General Mailing List

Re: [PHP] object literals

2009-05-01 Thread Richard Heyes
literal syntax AFAIK. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] object literals

2009-05-01 Thread Richard Heyes
). -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CamelCase conversion to proper_c_style

2009-04-27 Thread Richard Heyes
you'll likely introduce a shed load of problems. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP CLI vs WebServed

2009-04-25 Thread Richard Heyes
Hi, ... Never done this, but could you set environment variables, which would then be picked up by PHP (and stuffed in $_ENV)? -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

Re: [PHP] Multiple return statements in a function.

2009-04-24 Thread Richard Heyes
Hi, your function could be condensed to this: function check($a) {    return is_array($a) ? true : false; } Or even better, this: function check($a) { return is_array($a); } Not that I'd imagine it makes a great deal of difference. -- Richard Heyes HTML5 graphing: RGraph

Re: [PHP] Multiple return statements in a function.

2009-04-23 Thread Richard Heyes
. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate (www.phpguru.org/rtemplate) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select List/Menu

2009-04-17 Thread Richard Heyes
in VBSCRIPT In what? Use [] at the end of your selects name: select name=mySelect[] ... /select -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] https and Credit Cards

2009-04-15 Thread Richard Heyes
don't end up with the hassle of buying and installing your own SSL certificate. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Richard Heyes
grep gets my vote, since i don't use netbeans I'd go for grep too (unix or Win32): grep -rin function alt * What's the exact error? -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th) -- PHP General Mailing List (http

Re: [PHP] https and Credit Cards

2009-04-14 Thread Richard Heyes
supplies CC details should be secure. If the punters ISP runs a transparent proxy for example, then these details could be easily captured if not sent over a secure connection. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated April 11th

Re: [PHP] Caching

2009-04-11 Thread Richard Heyes
you will want to use Cache-Control instead: Header set Cache-Control private,public,max-age=604800 The max-age is the number of seconds (1 week in this case) that the page is cached for. The private and public determine which kinds of cache should cache it. IIRC (which isn't likely). -- Richard

Re: [PHP] Caching

2009-04-10 Thread Richard Heyes
. How do I use *Header set Expires* (on htaccess) and specifying in a week? A quick Google found this: Header set Expires Thu, 15 Apr 2010 20:00:00 GMT -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP General Mailing

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
Get paid for your opinion! Y'know, I really think I should... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
is playing Mr. Misery Guts in the school play aren't they? -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Richard Heyes
In the history of email, the only better SPAM blocking stuff has been a pair of scissors applied to the power cord. Wearing insulating gloves I would add... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP

Re: [PHP] Am I being hacked?

2009-04-08 Thread Richard Heyes
something nefarious, or nothing I should worry about? Looks like it may be. As long as you escape you SQL correctly using mysql_real_escape_string() or the equivalent, you should be OK. -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March

Re: [PHP] file_get_contents for URLs?

2009-04-07 Thread Richard Heyes
the timeout on that (using stream_context_create() stream_context_set_option() ), and then pass it to file_get_contents(). -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated March 28th) -- PHP General Mailing List (http://www.php.net

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

2009-04-04 Thread Richard Heyes
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 March 28th) -- PHP General

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

2009-04-02 Thread Richard Heyes
Any suggestions ? Try this: input type=submit name=btid value=Delete / input type=submit name=btid value=Cancel / input type=submit name=btid value=Save / And then you can check the value of $_POST['btid']. Oh and btw... center... seriously? That's so 9 years ago. ;-) -- Richard Heyes

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

2009-03-30 Thread Richard Heyes
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 Mailing List (http://www.php.net

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) -- PHP

[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 unsubscribe, visit: http

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, Chrome, Opera and Safari

Re: [PHP] preg_replace() question

2009-03-18 Thread Richard Heyes
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 General Mailing

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] 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/) To unsubscribe, visit: http

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Richard Heyes
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
. 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 unsubscribe, visit: http

Re: [PHP] Sending out large amounts of email

2009-03-06 Thread Richard Heyes
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://www.php.net

Re: [PHP] Question about template systems

2009-03-03 Thread Richard Heyes
print_r($_GET); print_r($_SERVER); ? -- 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

[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 danbr...@php.net: On Mon, Mar 2, 2009 at 05:55, Richard Heyes rich...@rgraph.net 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. -- Richard

Re: [PHP] Just a test

2009-03-02 Thread Richard Heyes
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] 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 was either funny or relevant. Neither was that. -- Richard Heyes HTML5 Canvas graphing

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

2009-02-26 Thread Richard Heyes
... 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, visit: http

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

2009-02-26 Thread Richard Heyes
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 General Mailing List (http

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, Chrome, Opera

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 List (http

Re: [PHP] display_errors and error_reporting not enough?

2009-02-17 Thread Richard Heyes
(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 (Updated February

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

2009-02-16 Thread Richard Heyes
) 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 Canvas graphing for Firefox, Chrome, Opera and Safari

Re: [PHP] ?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

[PHP] ?php=

2009-02-15 Thread Richard Heyes
Hi, Does anyone the status of ?php=, as opposed to ?= ? And if it's even being implemented? Thanks. -- 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

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: http

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: http

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) -- PHP General Mailing

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 List (http

[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 and Safari

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] 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} ... ?php -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http

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: ? ?=$var1? blah ?=var2? ?php -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing

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

2009-02-05 Thread Richard Heyes
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.org (Updated January 31st) -- PHP General Mailing

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.php.net

  1   2   3   4   5   6   7   8   9   >