>>> 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
> 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
> 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
> 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
> 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
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
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
> 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
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
> 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
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
>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
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
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
. 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
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
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
> 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
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
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
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
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
> 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,
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
> 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
> 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
> 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.
--
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
nd the actual data:
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated Jan
>
>
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
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
> ...
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
> 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
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
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
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
> ...
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
>> $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
;] 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
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
> ...
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
> ...
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
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
> 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
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)
--
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
> 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
> ...
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.
>...
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
> 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
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
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
> 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 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
> ...
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
> 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
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
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/)
> ...
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
> ...
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
> 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
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
> 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
(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
> ...
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
> 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
> 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
> 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
> 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
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
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
> 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
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
>>>> 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
--
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
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.
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
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
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://
> 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/
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
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
> 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
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)
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
> 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
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
> 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)
--
> 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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 879 matches
Mail list logo