[PHP] Re: PHP from ASP using AJAX?

2012-09-18 Thread Ross McKay
://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 unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cyberweaponry

2012-05-31 Thread Ross McKay
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 We'll be clean when their work is done We'll be eternally free yes

[PHP] Re: Email Antispam

2012-04-18 Thread Ross McKay
) 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 Nobody expects the Spanish inquisition

[PHP] Re: Email Antispam

2012-04-17 Thread Ross McKay
. 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 McKay, Toronto NSW Australia All we are saying Is give peas a chance - SeedSavers -- PHP

[PHP] Re: Email Antispam

2012-04-17 Thread Ross McKay
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 tableware - George Monbiot -- PHP

[PHP] Re: PHP: a fractal of bad design

2012-04-12 Thread Ross McKay
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

[PHP] Re: To ? or not to ?

2012-04-03 Thread Ross McKay
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

RE: [PHP] Graphing

2012-03-20 Thread Ross Hansen
to create them my self but that is more just because i enjoy trying to learn. Regards Ross CC: php-general@lists.php.net From: phps...@gmail.com Date: Sun, 18 Mar 2012 11:27:23 -0400 To: hansen.r...@live.com.au Subject: Re: [PHP] Graphing On 2012-03-18, at 9:33 AM, Ross Hansen hansen.r

[PHP] Graphing

2012-03-18 Thread Ross Hansen
changing data from a mysql db. I also understand php might not be the best option due to the server load. Just want to get peoples thoughts and suggestions. Was so looking at jquery. Looking forward your responses. Regards Ross

[PHP] Re: CMS identification

2012-03-18 Thread Ross McKay
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 Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: sql injection protection

2012-01-17 Thread Ross McKay
. 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? [...] Yes :) -- Ross McKay, Toronto, NSW Australia Pay no attention to that man behind the curtain - Wizard of Oz -- PHP General Mailing List

[PHP] Re: http_referer. what's wrong with that?

2012-01-11 Thread Ross McKay
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 knife - he'll learn - The Wee Book

Re: [PHP] Re: Preferred Syntax

2011-12-17 Thread Ross McKay
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, Toronto, NSW Australia The chief cause of problems is solutions -Eric Sevareid -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Preferred Syntax

2011-12-15 Thread Ross McKay
= 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 attention to that man behind the curtain - Wizard of Oz -- PHP General Mailing List (http://www.php.net

[PHP] Re: Preferred Syntax

2011-12-14 Thread Ross McKay
attributes like href. But what is preferred is rather dependent on the preferrer. -- 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

Re: [PHP] Sequential access of XML nodes.

2011-09-28 Thread Ross McKay
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 learn - The Wee Book

Re: [PHP] Sequential access of XML nodes.

2011-09-26 Thread Ross McKay
; 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

Re: [PHP] Any free online tests to test my PHP knowledge?

2011-09-22 Thread Ross Hansen
There is the w3sxools website that has a php quiz. Http://www.w3schools.com/php/default.asp This site has many other languages that offer quizes also - Reply message - From: Mike Hansen skrab...@comcast.net To: php-general@lists.php.net Subject: [PHP] Any free online tests to test my

[PHP] Re: While on the topic of PHP Web Site Stats - SharePoint...

2011-09-19 Thread Ross McKay
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 unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code should be selv-maintaining!

2011-09-01 Thread Ross McKay
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

Re: [PHP] Code should be selv-maintaining!

2011-08-31 Thread Ross McKay
/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 mostly neatly with KR :) -- Ross McKay, Toronto, NSW Australia Let

RE: [PHP] Session question

2011-05-17 Thread Ross Hansen
Unless your adding more code to your included file it isn't worth having it as an include as there is more typing/text involved. For management purposes also it would also look ugly if you were just having one file purely for session_start(); From: p...@computer.org Date: Tue, 17 May 2011

RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ross Hansen
May 2011 23:04:44 -0400 To: hansen.r...@live.com.au CC: php-general@lists.php.net Subject: Re: [PHP] html formatting in mysql post On Fri, May 6, 2011 at 22:52, Ross Hansen wrote: Hey Guys, I am using a form to post information to a MySQL table which is then echo(ing) back out

RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ross Hansen
']); Thanks again for your assistance. From: a...@ashleysheridan.co.uk To: hansen.r...@live.com.au CC: php-general@lists.php.net Date: Sat, 7 May 2011 10:32:11 +0100 Subject: RE: [PHP] html formatting in mysql post On Sat, 2011-05-07 at 16:01 +0800, Ross

RE: [PHP] Upload size limit stays at 8MB

2011-05-06 Thread Ross Hansen
Hey, There is also an option for post_max_size = xM x being the number specified. This should be located in your php.ini file somewhere. check to make sure that this is set high enough else it could also be causing the issue. To: php-general@lists.php.net Date: Thu, 5 May 2011 21:51:26

RE: [PHP] Upload size limit stays at 8MB

2011-05-06 Thread Ross Hansen
, Ross Hansen wrote: There is also an option for post_max_size = xM x being the number specified. This should be located in your php.ini file somewhere. check to make sure that this is set high enough else it could also be causing the issue. Okay, that was it. Thanks! Are the any

[PHP] html formatting in mysql post

2011-05-06 Thread Ross Hansen
Hey Guys, I am using a form to post information to a MySQL table which is then echo(ing) back out to a web page. it will sort of be like facebook where you can post messages and stuff on peoples walls. The only issue is at the moment i can get the formatting to stay. When i echo the table out

RE: [PHP] refreshing pages in the cache

2011-04-28 Thread Ross Hansen
Your welcome, I am glad that it works and is doing what your after. To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Thu, 28 Apr 2011 09:19:58 -0400 Subject: Re: [PHP] refreshing pages in the cache Yes - that seems to be the

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
You need to still put in the standard PHP tags as you would normally and it is just another line of code. e.g ?php header(Cache-Control: no-cache); ? To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Wed, 27 Apr 2011 21:33:16 -0400 Subject: Re: [PHP] refreshing pages

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
21:52:57 -0400 Subject: Re: [PHP] refreshing pages in the cache So - it's not an html attribute - it's a PHP command that precedes ALL my html headers? Ross Hansen hansen.r...@live.com.au wroteYou need to still put in the standard PHP tags as you would normally and it is just another line

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
You don't want to echo it as it isn't something that is going to HTML. it is native PHP. the correct command should be ? header(Cache-Control: no-cache);? See how this goes. To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Wed, 27 Apr 2011 22:12:23 -0400 Subject:

[PHP] Re: Resizing an image

2011-03-30 Thread Ross McKay
/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/manual/en/book.imagick.php -- Ross McKay, Toronto, NSW Australia Let the laddie play

[PHP] Re: Cross-platform IDE

2011-01-27 Thread Ross McKay
, 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! - The Rock -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: php photo galery

2010-05-18 Thread Ross McKay
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.plogger.org/ -- Ross McKay, Toronto, NSW Australia Let

[PHP] Re: Security/Development Question

2010-04-28 Thread Ross McKay
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 solutions -Eric Sevareid -- PHP General Mailing List (http://www.php.net

[PHP] Re: Malware Question

2010-04-28 Thread Ross McKay
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

[PHP] Re: Replacing accented characters?

2010-01-27 Thread Ross McKay
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

Re: [PHP] Re: Replacing accented characters?

2010-01-27 Thread Ross McKay
. 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, most people would choose the tableware - George

[PHP] Re: uniqid() and repetition of numbers generated

2009-11-12 Thread Ross McKay
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

[PHP] Re: Best way to test for form submission?

2009-08-31 Thread Ross McKay
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 encounter a place where I want one with form data. -- Ross McKay, Toronto

Re: [PHP] how to enable ttf support in php 5.2.9

2009-05-13 Thread Ross McKay
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, Toronto, NSW Australia Darwin's

[PHP] Re: Problems with HTTPS and maybe an .htaccess???

2009-05-08 Thread Ross McKay
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 General Mailing List (http://www.php.net

[PHP] Re: Encrypting email

2009-04-23 Thread Ross McKay
, 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

[PHP] Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers

2009-03-19 Thread Ross McKay
=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 - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-13 Thread Ross McKay
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 play wi the knife - he'll

[PHP] Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers

2009-03-13 Thread Ross McKay
., 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 Let the laddie play wi the knife - he'll learn - The Wee Book of Calvin

Re: [PHP] Question about template systems

2009-03-03 Thread Ross McKay
it. -- Ross McKay, Toronto NSW Australia Click me, drag me, treat me like an object -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mysql_real_escape_string(asdasddas) ??? wtf

2009-02-21 Thread Ross McKay
: 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 The chief cause of problems is solutions -Eric Sevareid -- PHP General Mailing List (http://www.php.net

[PHP] Re: mysql_real_escape_string(asdasddas) ??? wtf

2009-02-20 Thread Ross McKay
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, NSW Australia Let the laddie

Re: [PHP] Re: 64bit vs. 32bit

2009-01-20 Thread Ross McKay
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 Monbiot -- PHP General Mailing List (http

Re: [PHP] Re: 64bit vs. 32bit

2009-01-20 Thread Ross McKay
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

[PHP] Re: How to use SVN + PHP

2009-01-20 Thread Ross McKay
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 learn - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: 64bit vs. 32bit

2009-01-19 Thread Ross McKay
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 Australia Let the laddie play wi

[PHP] Re: developers life

2009-01-19 Thread Ross McKay
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 cheaper, Highways get wider, Love

Re: [PHP] Editing in a text area field

2009-01-11 Thread Ross McKay
consequences. I see it 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

Re: [PHP] Editing in a text area field

2009-01-11 Thread Ross McKay
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 solutions -Eric Sevareid

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
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

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
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

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
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

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
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 - Zoolander -- PHP General Mailing List

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
://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.bbcode.php -- Ross McKay, Toronto, NSW

[PHP] Re: Unique Object Instance ID..?

2009-01-10 Thread Ross McKay
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

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
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 mowing; funny, I don't

Re: [PHP] Unique Object Instance ID..?

2009-01-10 Thread Ross McKay
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

[PHP] Re: First steps towards unix and php

2009-01-08 Thread Ross McKay
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, e.g. Subversion. -- Ross McKay, Toronto, NSW

Re: [PHP] Re: First steps towards unix and php

2009-01-08 Thread Ross McKay
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

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

2009-01-07 Thread Ross McKay
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 - Tom DeMarco -- PHP General Mailing

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

2009-01-07 Thread Ross McKay
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 List (http://www.php.net

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

2009-01-07 Thread Ross McKay
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 Let the laddie play wi the knife - he'll learn - The Wee Book of Calvin -- PHP General

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

2009-01-05 Thread Ross McKay
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, Toronto, NSW Australia The lawn could stand another mowing; funny, I don't

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

2009-01-05 Thread Ross McKay
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 McKay, Toronto, NSW Australia My old man told

Re: [PHP] Chrome 1.0 released

2008-12-14 Thread Ross McKay
. 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 List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Poll of sorts: Javascript Form validation or PHP

2008-12-06 Thread Ross McKay
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.net/) To unsubscribe, visit: http

Re: [PHP] Experience (was: while-question)

2008-11-17 Thread Ross McKay
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 water; After

Re: [PHP] Experience (was: while-question)

2008-11-17 Thread Ross McKay
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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: DOCTYPE, javascript and Firefox

2008-10-31 Thread Ross McKay
='autostart' id='autostart_0' value='0' onclick=setStartDateDisabled(true); No input type='radio' name='autostart' id='autostart_1' value='1' onclick=setStartDateDisabled(false); Yes PS: pick HTML4 or XHTML; your sample code shows the latter, the DOCTYPE says the former. -- Ross McKay, Toronto

[PHP] Re: PHP Dev Facts

2008-10-16 Thread Ross McKay
having to reboot into Windows * Subversion - because I value my time :) * Meld - because I value my sanity! (graphical diff/merge) -- Ross McKay, Toronto, NSW Australia Before enlightenment: chop wood, carry water; After enlightenment: chop wood, carry water - Wu Li -- PHP General Mailing List

Re: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread Ross McKay
(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 see the stupidity... :) -- Ross McKay, Toronto, NSW

[PHP] Re: question about EOF

2008-09-30 Thread Ross McKay
, {$this-bar()} ENDHELLO; } } $foo = new foo(); $foo-hello(); ? -- 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

[PHP] Re: Making $_POST and $_FILES play together nicely

2008-09-30 Thread Ross McKay
, complain! break; case UPLOAD_ERR_INI_SIZE: case UPLOAD_ERR_FORM_SIZE: $errmsg .= # error uploading file: file too big.br/\n; break; default: $errmsg .= # error uploading file: . $_FILES[$inputName]['error'] . .br/\n; break; } -- Ross

[PHP] Re: Unicode problems

2008-09-26 Thread Ross McKay
? 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 set: htmlentities($someText, ENT_COMPAT, 'utf-8'); -- Ross McKay, Toronto, NSW

Re: [PHP] PHP tags - any reasons to close ?

2008-09-23 Thread Ross McKay
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 - he'll learn - The Wee Book of Calvin -- PHP General Mailing

Re: [PHP] Re: MySQL Workbench coming for Linux

2008-09-18 Thread Ross McKay
://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 enlightenment: chop wood, carry water - Wu

Re: [PHP] Re: MySQL Workbench coming for Linux

2008-09-17 Thread Ross McKay
, 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://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: MySQL Workbench coming for Linux

2008-09-17 Thread Ross McKay
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 Nobody

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-16 Thread Ross McKay
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://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] MySQL Workbench coming for Linux

2008-09-16 Thread Ross McKay
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

[PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Ross McKay
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 headers above. -- Ross McKay

Re: [PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Ross McKay
, 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

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Ross McKay
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't he? -- Ross McKay

[PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Ross McKay
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, NSW Australia You

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-10 Thread Ross McKay
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/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-08 Thread Ross McKay
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

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-08 Thread Ross McKay
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) -- Ross McKay, Toronto, NSW Australia And don't forget ladies and gentlemen you have to buy this new

[PHP] Re: PHP Equivalent of JavaScript whatever.toFixed(2)

2008-09-08 Thread Ross McKay
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 = number_format($number, 2); -- Ross McKay

[PHP] Re: how to write good code

2008-09-01 Thread Ross McKay
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

Re: [PHP] ASCII Captcha

2008-08-31 Thread Ross McKay
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

Re: [PHP] ASCII Captcha

2008-08-31 Thread Ross McKay
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, Toronto, NSW Australia Before

Re: [PHP] ASCII Captcha

2008-08-31 Thread Ross McKay
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

Re: [PHP] ASCII Captcha

2008-08-31 Thread Ross McKay
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

  1   2   3   4   5   >