On Mon, 17 Nov 2008 14:30:34 -0500, tedd.sperling wrote:
>I can program with rocks -- and do a good job of it. I can make a one
>that can stand for a couple of thousand years.
http://xkcd.com/505/
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry wa
s over when initially making the switch
from their one-language development environment. (Frameworks strive to
clean that up for developers)
So, is PHP programming? :)
--
Ross McKay, Toronto, NSW Australia
"Pay no attention to that man behind the curtain" - Wizard of Oz
--
PHP Genera
lly learning stuff to her surprise!!
Good, because when you stop learning is when you start dying...
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry water;
After enlightenment: chop wood, carry water" - Wu Li
--
PHP General Mailing List (http://www.php
en viewing
such statistics.
The site that Richard posted a link to shows this variability nicely:
http://www.upsdell.com/BrowserNews/stat.htm
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing
quot; - TFM.
Also, you can create a FULLTEXT index on text columns stored in the
MyISAM engine. (which is a PITA, because if you want ACID transactions
and full-text searching, you need to create and maintain a MyISAM shadow
table of the data you want to full-text search on)
--
Ross McKay, Toron
od point, thanks! I usually read from the .chm manual but just jumped
to the website to grab a link. Should have been:
http://dev.mysql.com/doc/refman/5.0/en/string-types.html
I note that Stuart was most likely talking about MySQL <= 4 which had a
limit of 255 characters for varchar.
--
Ross Mc
leads to better results than picking in
advance whether to use char or varchar (or text). Measuring is even
better.
Oh, and for a column with a limited range of values, enum beats 'em all!
--
Ross McKay, Toronto, NSW Australia
"You can't control what you can't measure&quo
post, knowing what your data requires leads to better results
than picking in advance whether to use char or varchar (or text).
Measuring is even better.
--
Ross McKay, Toronto, NSW Australia
"There is more to life than simply increasing its speed." - Gandhi
--
PHP General Mailing
is important when it's expensive storage, backed up,
replicated, transferred to other systems over comms links, etc. It also
means more disc access, unless you have a surplus 10GB RAM for extra
caching. Disc access is usually what kills database performance.
--
Ross McKay, Toronto, NSW Australia
&quo
the others, with maybe just some minor integration
glitches; I run GNOME and use a number of KDE programs just fine.
You should also check out editors and IDEs - STFW for previous posts
made to this and other groups. Then pick Geany ;)
And don't forget to add a revision control system
cept when debugging (for which
I've been using NetBeans). Hmmm... must do something about that some
day.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
themselves and forget to close them.
--
Ross McKay, Toronto, NSW Australia
"Nobody ever rioted for austerity" - George Monbiot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
licated for the editor (and perhaps modified a little too), but
that's no drama once the site design has settled down.
--
Ross McKay, Toronto, NSW Australia
"It doesn't matter if the Rock wants to go get diamond rings or not!"
- The Rock
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y browser-based (mostly JavaScript) rich text editors come in to
their own.
--
Ross McKay, Toronto, NSW Australia
"Nobody ever rioted for austerity" - George Monbiot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
aviour of HTML elements that cannot be defined by css; such trivial
things as href, name, class, id, tabindex, maxlength, value, etc.
I know, I'm nit picking a bit...
--
Ross McKay, Toronto, NSW Australia
"Words can only hurt if you try to read them. Don't play their game" - Zoola
/
http://developer.yahoo.com/yui/
http://geniisoft.com/showcase.nsf/WebEditors
>I see forum web sites that allow the user to enter [b]bold text[/b] for
>example.
>
>I would like to do this.
>
>Anyone have a function to convert this kind of thing to HTML?
http://au2.php.net/manual/en/book.b
, 16, 36);
Returns stuff like this:
9xm1k6oodk8o00s4wc.50nplu
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d
>selection.
Likewise with TinyMCE (and I suspect many of the others). Given the
abundance of good rich text editors, I don't see any good reason for
making clients enter HTML tags directly - it only confuses them.
--
Ross McKay, Toronto, NSW Australia
"The lawn could stand another mo
ct hashes for two separate and distinct instances.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t as more like: good, cheap, fast, pick ONE.
>Thanks for the tip on TinyMCE -- I'll look into that.
As Eric mentions, FCKEditor can do this stuff too, and I imagine yui and
others do as well. You just need to configure them to fit your
requirements.
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry water;
After enlightenment: chop wood, carry water" - Wu Li
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rademark symbols, etc.
Isn't that causing a problem, rather than dealing with one?
If the problem is one of validation, then maybe you should investigate
character sets and the full abilities of htmlentities.
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutio
t
solves the Year 2038 problem, so any date calculations you have in PHP
will work past 2038. This includes forecasting 30+ years into the
future, which will break in PHP on 32-bit unless you avoid time_t based
functions like time() and stick with DateTime objects.
--
Ross McKay, Toronto, NSW Aus
On Mon, 19 Jan 2009 21:28:05 +, Nathan Rixham wrote:
>well just for the hell of it; and because I'm feeling worn..
>
>anybody else find the following true when you're a developer?
>[...]
Yes.
--
Ross McKay, Toronto, NSW Australia
"Towers get higher, Jobs get c
owever... why? If you really need to run DOS programs,
there's always DOSBOX, or even FreeDOS running in QEMU or similar, and
the graphics support will be better than whatever Wine would have
allowed.
--
Ross McKay, Toronto, NSW Australia
"Nobody ever rioted for austerity" - George M
hey're specifically coded to make use of PAE... :)
--
Ross McKay, Toronto, NSW Australia
"My old man told me one time, you never get wise, you only get older"
- Dandy Warhols
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ugh
Subversion's history of changes. Once you've tested your changes and are
happy that everything is working, and committed them all to the trunk,
copy the trunk to a tag and put that on the server.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll l
On Sat, 21 Feb 2009 19:19:44 +1300, t...@ihostnz.com wrote:
>Can anyone here tell me why mysql_real_escape_string("asdasddas") returns an
>empty string?
Have you opened a connection to a MySQL database? It won't work without
an open connection.
--
Ross McKay, Toronto, N
); // might need to replace a literal \ too.
>
>If you can, please enlighten me.
And also: NUL, LF, CR, " and ^Z
Or you could just call mysql_real_escape_string and know that you
haven't coded your str_replace with some hole in it :)
--
Ross McKay, Toronto, NSW Australia
&
missing something, but I don't see the point of special
templating systems that require you to know yet another notation set,
i.e. abstraction away from PHP as Stuart puts it.
--
Ross McKay, Toronto NSW Australia
"Click me, drag me, treat me like an object"
--
PHP General
On Thu, 12 Mar 2009 18:47:40 -0600, scubak1w1 wrote:
>Seeking some advice on how to create an ERD (sic) graphically on the page on
>the fly when the page is 'called'...
>[...]
Maybe GraphViz?
http://graphviz.org/
--
Ross McKay, Toronto, NSW Australia
"Let the laddie p
eem to do anything - i.e.,
>the onsubmit is not being triggered, etc, etc
How do you "turn on" your submit button? (for that matter, how do you
"turn it off"?)
Have you checked Firefox's log to see if you have JavaScript errors?
--
Ross McKay, Toronto, NSW Australia
&qu
here all along,
but disable it (attribute: disabled="disabled") until you have your
array key (script: submitElement.disabled = false). No chance of
bollocksing up the DOM code then :)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- T
al/en/function.openssl-pkcs7-encrypt.php
Apparently, PHPMailer supports it too so check that out.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e come from? They weren't there when I added that
>text. What did you do?"
If that's using TinyMCE, enable the Paste From Word button (or the Paste
as Plain Text button) and disable the regular Paste button :)
--
Ross McKay, Toronto, NSW Australia
"Pay no attention to tha
to ask for
another page at the new URL.
The %{SERVER_NAME} bit tells Apache to insert the server name, whether
it be your sitename.com or dev.sitename.com
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP Genera
is getting the users to cooperate by
giving them a button for Word and a button for Text and explaining to
them how it *helps them* to use those buttons properly. But that only
works while they remember, and they never remember when they're in a
hurry (which is always).
--
Ross McKay, Tor
On Sat, 29 Aug 2009 04:47:09 -0400, "O. Lavell" wrote:
>There are more methods, I always use:
>
>if($_SERVER["REQUEST_METHOD"] == "POST") {
>
>do_something();
>
>}
+1. Although, this doesn't catch PUT requests, but I have yet to
enc
nd can't rely on auto-increment
integers aligning across peers)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, $text);
But ensure you have set your locale properly.
http://au.php.net/manual/en/function.iconv.php
--
Ross McKay, Toronto NSW Australia
"All we are saying
Is give peas a chance" - SeedSavers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tion to go
>with it. [...]
True. But for the purposes of "cleaning up" URLs (not I18N friendly, but
practical on Anglo-centric websites) it has its uses.
--
Ross McKay, Toronto, NSW Australia
"Faced with a choice between the survival of the planet
and a new set of matching tableware, mo
it
happening soon at most government / business organisations that deal in
Microsoft Office documents until OpenOffice.org can better support the
huge range of spottily formatted Office documents out there. That, or
everyone moves to Google Docs, or regulations enforce exchange of
government documents in
're storing the SQL queries so that they can show them later
on, e.g. as text in a forum post, I think you have a major WTF on your
hands! Please submit here!
http://thedailywtf.com/Contact.aspx
:)
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutio
ith, not just people who send them email invitations to
exchange links.
--
Ross McKay, Toronto, NSW Australia
"I really hope they find a nice place,
I hope they find it somewhere,
I HOPE THEY GO AWAY"
- Everclear
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he ability to upload photos via a browser, I would also like thumb
>nails, and the ability to have an alt text attribute with the photo
>and a longer description of the picture, for accessibility reasons.
>If anyone has anything similar to this please let me know.
http://www.plogg
ople complain about
and the ones nobody uses." -- Bjarne Stroustrup
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutions" -Eric Sevareid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the page encoded with
base64, and use client-side script to decode it. i.e. the encoded data
is replaced with the decoded data, once on page load. Hook up the decode
function on the browser-side to your page load scripts. No jQuery
required :)
https://gist.github.com/2409958
--
Ross
structured data, many are embedded in page content (I have a WordPress
shortcode that encodes the email address for those).
--
Ross McKay, Toronto, NSW Australia
"Faced with a choice between the survival of the planet
and a new set of matching tableware, most people would
choose the tablew
r consultants) available to their clients. And they
want the addresses to be shielded against harvesting for spam.
As I said, I don't like doing it this way, but the client gets what they
want after the options have been explained to them.
--
Ross McKay, Toronto, NSW Australia
"Nob
was WordPress that must have been hacked (because the malware
found was in scripts hidden in the various WP folders). They got awful
busy after reading that link though.
--
Ross McKay, Toronto, NSW Australia
"A just machine to make big decisions
Programmed by fellows with compassion and vision
e same.
http://snippets.webaware.com.au/snippets/integrating-classic-asp-with-wordpress-using-ajax/
( http://goo.gl/rHlgF )
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
PHP, JS, HTML, XML and CSS. It's small and
fast, so if you don't need all the bells and whistles of an Eclipse,
Geany might suit you better. Worth a try at least.
--
Ross McKay, Toronto, NSW Australia
"It doesn't matter if the Rock wants to go get diamond rings or not!"
-
om, regarding
performance of imagecopyresampled vs imagecopyresized:
http://au2.php.net/manual/en/function.imagecopyresampled.php#77679
http://au2.php.net/manual/en/function.imagecopyresampled.php#72606
Also check out ImageMagick, if your host provides it (or you can install
it):
http://au2.php.net/man
t-curly-brace-placement-matters-an-example/
http://robertnyman.com/2008/10/16/beware-of-javascript-semicolon-insertion/
Sure, instances of the problem are minimal, but if you're in the habit
of Dangerous Open Brace Placement then you just might fall afoul of it.
Besides, my editor (Geany) folds code m
them, or by silly
language defects like JavaScript's semicolon insertion).
--
Ross McKay, Toronto, NSW Australia
"Hold very tight please! Ting! Ting!" - Flanders and Swann
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f all websites, 0.3% of all CMS; i.e.
wy behind the PHP-based CMS out there -- e.g. WordPress on 14.9%
websites and 54.4% CMS)
--
Ross McKay, Toronto NSW Australia
"All we are saying
Is give peas a chance" - SeedSavers
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
$text = '';
break;
case XMLReader::TEXT:
case XMLReader::CDATA:
// record value (or part value) of text or cdata node
$text .= $xml->value;
break;
default:
break;
}
}
return $records;
--
Ross McKay, Toronto, NSW Australia
"Tuesday is Soylent Green day"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
>It seems that the SimpleXMLIterator is perfect for me.
>[...]
Interesting, I forget that's there... I must have a play with it
sometime. Thanks for resurfacing it :)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll lea
ntain single quotes.
So whilst either above option is fine for the specific context, I prefer
HEREDOC when there's attributes like href.
But what is "preferred" is rather dependent on the "preferrer".
--
Ross McKay, Toronto NSW Australia
"All we are saying
Is giv
<<$msg {$this->html($name)}
HTML;
}
}
$x = new X();
$x->output('silly "rockstar" name like <&>');
>[...]
>This is why I like heredoc syntax over pretty much everything else.
Concur!
--
Ross McKay, Toronto, NSW Australia
"Pay no atte
l with this issue using their views
>or template views. You don't have to use a framework if you do not
>want to, that's perfectly fine. If it works, it works. But in the
>end, it the separation of logic and html is essential to code
>maintenance.
Applause! :)
--
Ross McKay,
ike that?
You only get an HTTP_REFERER when you link to a page from another page.
If you go directly to the page, e.g. by typing / pasting the URL into
the location bar, or linking from an email, then there is no
HTTP_REFERER.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the
re the data type is string, and an accepted
>char length is big enough to create some havoc in the db, so be it, I
>reject that input.
Which may be fine in your application, but why stop legitimate data for
no good reason?
>My question even after all these are there still ways to break in
t, open
the login page in a web browser and view source. It's likely that there
will be a meta tag in the head that tells you what the CMS is.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General
ether or not you have a
closing ?>, with or without additional white space.
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutions" -Eric Sevareid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
T! them, and transfer back the changes (e.g. via FTP).
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
claim "guru" status themselves :)
Having said that, I'm about to commit yesterday's changes to Subversion
and run another backup whilst touching wood!
Checking Google's cache should give you an idea of what you had up
there, and the rebuild is always better than the origina
you won't be bitten likewise, unless you'd prefer to take umbrage
at offers of advice you don't like.
Or perhaps you think that good IT professionals do hack their production
environments without backups as a matter of course? And on low-service
hosting environments. :)
-
ing so that you can
support older sites on older versions of the libraries whilst further
developing them for newer sites.
http://subversion.tigris.org/
http://tortoisesvn.tigris.org/
http://rapidsvn.tigris.org/
http://meld.sourceforge.net/
Of course, a good IT professional would probably tell you
for some other
databases)
Roger Bigras wrote:
>>you may try the
>>
>>ini_set('magic_quotes_gpc',0);
That won't work:
http://au.php.net/manual/en/function.get-magic-quotes-gpc.php
"Keep in mind that the setting magic_quotes_gpc will not work at
runtime.&quo
//example.com/
in the HTML body. You'll need to catch the heredoc as a string, and
replace any URLs with the anchored URL as above.
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry water;
After enlightenment: chop wood, carry water" - Wu Li
--
PHP
the East Coast of Australia, or
IOW somewhat to the left of Kalifornia and down a bit)
--
Ross McKay, Toronto, NSW Australia
"Under the big bright yellow sun" - Fat Boy Slim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 13 Aug 2008 15:46:47 + (UTC), Jonesy wrote:
>I'd've thought with Aussie, Southern Cross-oriented globes, it would be
>to the _right_ of Kalifornia and _up_ a bit.
Yes, but I was translating from Strine to Wronglish for the North
Americans ;)
--
Ross McKay, Toronto,
On Thu, 14 Aug 2008 23:46:05 -0400, Michael S. Dunsavage wrote:
>I use geany and Quantum
+2 for geany (SWMBO uses it too). It's a good general-purpose text
editor and simplified IDE. Build it from SVN, as it has been moving
fairly quickly and distro packages often haven't kept up.
-
tions']['flavour'];
echo "flavour: $flavour\n";
$size = $_POST['options']['size'];
echo "size: $size\n";
}
?>
NB: no quotes around array key!
I found this very handy for having variable product options on a simple
shopping c
More specifically:
option 1 - colour:
# red
#
green
#
blue
colour: $colour\n";
?>
--
Ross McKay, Toronto, NSW Australia
"If ye cannae see the bottom, dinnae complain if ye droon"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubs
http://thedailywtf.com/Series/CodeSOD.aspx
Then, don't do it like that!
But seriously, you might want to check out this page on Wikipedia, and
follow some of its references:
http://en.wikipedia.org/wiki/Programming_style
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi th
e not expected in posts to
these websites. If they were, well... :/
--
Ross McKay, Toronto, NSW Australia
"The chief cause of problems is solutions" -Eric Sevareid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If
>that value is posted, then I reject the form since it shouldn't exist.
Nice idea, I'll try that one. Have not heard of any customers with
problems lately, but it happens from time to time... this sounds like a
good buster for automated spam injectors.
thanks!
--
Ross McKay, To
ormally gets to just press down arrow, tab.
--
Ross McKay, Toronto, NSW Australia
"It doesn't matter if the Rock wants to go get diamond rings or not!"
- The Rock
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me I like to have my cake and eat. ;-)
I've always thought cake was over-rated...
--
Ross McKay, Toronto, NSW Australia
"Read beans and rice, I could eat a plate twice" - Spearhead
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing!).
[She's about to come over and demand her coffee, must fetch ;) ]
--
Ross McKay, Toronto, NSW Australia
"Such a pretty girl, happy in an ugly place,
watching all the pretty people
doing lots of ugly things" - Everclear
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at
way to learn what bad code looks like!) Read what makes code good and
what makes it bad. Then write some more code :)
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry water;
After enlightenment: chop wood, carry water" - Wu Li
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, eh? :)
(although I did find time to test Chrome in KVM - and I must say it is
fast, if not particularly useful yet)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e whereby "hard drive writes" are held in temporary
files and only written back to the image if / when you tell the VM to
commit. Thus, you don't even need to refresh the image if you just test
in snapshot all the time. (and work with network data files, or version
control workspaces)
-
Arnie Shore wrote:
>> Folks, I need to take a given float value to, say, two decimals, as per
>> subject JS. I've RTFM, but to no avail.
On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote:
>$str = sprintf("%01.2f", $number);
Skinning cat, method two:
$str = numbe
mp; I are fed up with
having to find nasty kludges for IE6 every time we build a website!
--
Ross McKay, Toronto, NSW Australia
"I think you are blind to the fact that the hand you hold
is the hand that holds you down" - Everclear
--
PHP General Mailing List (http://www.php.net/)
T
s want to upgrade to it (and who can blame them?) The best thing
about Google Chrome is that maybe, just maybe, the tide will turn
against Microsoft Word as the tech-unsavvy move to this "cloud
computing" buzzword-paradise (onto Linux-based cheap PCs with no IE6!)
Ah, a man can dream, can
On Thu, 11 Sep 2008 14:22:30 +0100, Colin Guthrie wrote:
>[...] I'm not sure how you would police it, but
>there should be a badge of honour associated with the system in some
>way, probably overseen by W3C.
Like this?
http://en.wikipedia.org/wiki/Acid2
--
Ross McKay, Toronto,
ext/plain)
Good idea:
X-Mailer: 'PHP/' . phpversion()
To test, send some emails to yourself at an account that has
SpamAssassin and look at the headers to see what SpamAssassin says as it
should indicate what it doesn't like about your emails. Try this first,
before messing with the heade
l I think I'm going to be ending up down the phpmailer route!
It's the easiest route, and will catch some other problems for you into
the bargain.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hat just don't come across right in any
Linux word processor, so I still need to open up Microsoft Word
occasionally)
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://ww
Posting this here, because a few people responded when I mentioned not
having a Linux-native data modelling tool. Apparently, MySQL Workbench
should be alpha-ready by end of the month...
http://dev.mysql.com/workbench/?p=138
Maybe I can ditch Visio one day soon... :)
--
Ross McKay, Toronto, NSW
ding databases, and usually also for documenting them.
If your DB has more than a handful of tables, it's well worth the
effort.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://ww
ild script. It also has a reporting tool for generating a data
dictionary. In short, it makes a pretty good stab at being a data
modelling tool (imperfectly, but sufficiently for my needs).
Dia is just a diagramming tool (unless you can tell me otherwise).
--
Ross McKay, Toronto, NSW Australia
&quo
tity-relationship_model
http://en.wikipedia.org/wiki/CA_ERwin_Data_Modeler
http://en.wikipedia.org/wiki/ER/Studio
http://en.wikipedia.org/wiki/Toad_Data_Modeler
http://en.wikipedia.org/wiki/MySQL_Workbench
--
Ross McKay, Toronto, NSW Australia
"Before enlightenment: chop wood, carry water;
After enli
of the program above the
>> bottom of the screen. (Crimson Editor is the only one I have found
>> that does this.)
>
>vi has no problem doing that.
Geany does this too, unless you ask it not to (preferences).
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife -
em).
Can you confirm: are you telling your PHP connection into MySQL to use
Unicode? e.g. tell MySQL directly by executing the following statement:
set names 'utf8'
Also, is some of your data going through htmlentities() and coming out
wrong? If so, look at specifying the character s
On Tue, 30 Sep 2008 12:48:35 +0800, LKSunny wrote:
>i want on inner EOF do something, calculate and call function ? can not ? if
>yes, how to ?
Same way as you do with "" strings. e.g.
bar()}
ENDHELLO;
}
}
$foo = new foo();
$foo->hello();
?>
--
Ross McKay, Toronto,
"
. $_FILES[$inputName]['error'] . ".\n";
break;
}
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d working without constant patch-ups (on which basis, I'd guess the
Leaning Tower of Pisa isn't really a success :)
http://thedailywtf.com/Articles/What_Could_Possibly_Be_Worse_Than_Failure_0x3f_.aspx
If/when you recognise stupidity in your own actions, stupid tends to
stop. If you never s
1 - 100 of 102 matches
Mail list logo