[PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
Does anyone know if there is a builtin function for checking the formatting of an incoming date to verify it is /MM/DD. I know how to convert between formats but want a quick way to check an incoming variable to ensure it will be handled properly by mysqld. Larry -- PHP General Mailing

Re: [PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
Its been a long week already... -MM-DD. On Tue, 2008-03-04 at 20:16 -0500, Larry Brown wrote: Does anyone know if there is a builtin function for checking the formatting of an incoming date to verify it is /MM/DD. I know how to convert between formats but want a quick way to check

Re: [PHP] validating mysql bound date

2008-03-04 Thread Larry Brown
to verify correct format of the date when working with mysql that there might be some built in that is faster etc. Thanks though... On Wed, 2008-03-05 at 14:34 +1100, Chris wrote: Larry Brown wrote: Its been a long week already... -MM-DD. On Tue, 2008-03-04 at 20:16 -0500, Larry Brown

[PHP] reading incoming xml

2008-03-01 Thread Larry Brown
the data isn't there. Does apache/php place the xml in some other location for me to access? Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
'.$vendorCompanyID.'/Data' in the $data output. I do get the hello so I know I am hitting the server and when it is set to $_SERVER as listed above I get the expected array but $_POST is empty. Larry On Sat, 2008-03-01 at 16:59 -0500, Nathan Nobbe wrote: On Sat, Mar 1, 2008 at 4:12 PM, Larry Brown [EMAIL

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
at the nusoap code to determine this to no avail. Larry On Sat, 2008-03-01 at 18:08 -0500, Nathan Nobbe wrote: hmm, it looks to me like you want to post a bunch of raw data to the server. im not sure exactly how to do that w/ the php curl functions... everything ive seen uses

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
?DatavendorCompanyID/Data Larry On Sat, 2008-03-01 at 18:08 -0500, Nathan Nobbe wrote: hmm, it looks to me like you want to post a bunch of raw data to the server. im not sure exactly how to do that w/ the php curl functions... everything ive seen uses CURLOPT_POSTFIELDS to supply an associative array

RE: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
in and it looks like this was it. I really do appreciate the help... Larry On Sat, 2008-03-01 at 22:06 -0500, Andrés Robinet wrote: You can get what you post either with: $postText = trim(file_get_contents('php://input'); Or with: $postText = $GLOBALS[HTTP_RAW_POST_DATA]; About

Re: [PHP] handling dates before 1901

2008-02-28 Thread Larry Garfield
and Information Technology Division California State Polytechnic University, Pomona http://www.csupomona.edu/~iit | +1 909 979 6363 -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others

[PHP] Mysql vs. Mysqli crash handling

2008-02-25 Thread Larry Garfield
the whole server to its knees.) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql vs. Mysqli crash handling

2008-02-25 Thread Larry Garfield
On Monday 25 February 2008, Daniel Brown wrote: On Mon, Feb 25, 2008 at 3:07 PM, Larry Garfield [EMAIL PROTECTED] wrote: Hi folks. I've an odd issue. Only fair. You're an odd bird, and we're an odd bunch. ;-P If I connect to a MySQL DB using ext/mysql, and for whatever reason

Re: [PHP] Re: When to use design patterns?

2008-02-24 Thread Larry Garfield
. It also can alert you to common pitfalls and common ways around them. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power

Re: [PHP] Cross-Post: Installing on Palm Treo?

2008-02-23 Thread Larry Garfield
. Thanks. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] All Survey leading to PHP

2008-02-23 Thread Larry Garfield
edge, you don't want to hand it to your competition free of charge. It's as easy as that. /Per Jessen, Zürich My competitive edge is my own skill and knowledge and time efficiency. I get paid quite well to give it away to my clients. -- Larry Garfield AIM: LOLG42 [EMAIL

[PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
know what it is encoded to? TIA Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Larry Brown
It is not that I want to generate the document in UTF-8. I just need to specify the correct encoding. My assumption that it was UTF-8 based on what my command line settings are is obviously incorrect. How can I tell what php is encoding in by default? Larry On Fri, 2008-02-22 at 17:20 +0100

Re: [PHP] www. not working

2008-02-19 Thread Larry Garfield
and www.garfieldtech.com pointing to two entirely different servers in different states because I want them to do different things, I'm an incompetent sysop. Thanks, good to know. DNS was used for a lot of things long before the web came around, ya know. -- Larry Garfield AIM: LOLG42 [EMAIL

Re: [PHP] More than one values returned?

2008-02-18 Thread Larry Garfield
(); -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he

Re: [PHP] More than one values returned?

2008-02-18 Thread Larry Garfield
to be multiple things. I consider it a single aggregate thing, and return arrays all the time. That's conceptually different from wanting two separate return values from a function, which is indeed conceptually icky. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ

Re: [PHP] Better DB Class MySQL

2008-02-17 Thread Larry Garfield
On Thursday 14 February 2008, Richard Lynch wrote: On Sun, February 10, 2008 9:31 am, Jochem Maas wrote: Larry Garfield schreef: http://www.php.net/pdo All the cool kids are doing it. not true - some of them use firebird ;-) And some have figured out that PDO does not quite live up

Re: [PHP] Better DB Class MySQL

2008-02-09 Thread Larry Garfield
) { } // Destruct! public function __destruct() { $this-disconnect(); } } ? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Larry Garfield
of the world that may just happen to tie to an SQL database for its data store, then it's an ORM. Both are useful in different circumstances, but whether or not there is code generation has nothing to do with whether it's AR or ORM. -- Larry Garfield AIM: LOLG42 [EMAIL

Re: [PHP] PHPPDO 1.0RC1 released

2008-02-02 Thread Larry Garfield
host running a stock PHP 5.1 or later will have PDO. They'd have to go to extra effort not to, at which point they're not a host worth using. (The same applies to SPL, PCRE, XML, and a bunch of other optional but default extension that only a suicidal web host would disable.) -- Larry Garfield

Re: [PHP] how to make multiple website on one host

2008-02-02 Thread Larry Garfield
(www.example1.org) to the server where www.example.org hosted, and when user visit www.example1.org, it execute the same scripts as www.example.org with with different themes and website configuration. anyone have the idea? thanks -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED

Re: [PHP] Closures in PHP

2008-01-15 Thread Larry Garfield
of parameters while the other two do not. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual

Re: [PHP] Closures in PHP

2008-01-14 Thread Larry Garfield
that esoteric, go use Lisp. :-) You are aware that of the modern web languages (PHP, Javascript, Python, Ruby, etc.) PHP is the only one that doesn't have at least partial closures and dynamic functions, right? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012

Re: [PHP] DESC order results

2008-01-13 Thread Larry Garfield
and dangerous content by MailScanner, and is believed to be clean. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

Re: [PHP] Why is some_function()[some_index] invalid syntax?

2008-01-11 Thread Larry Garfield
it Java ;) More like C#. :-) Java still has primitives. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea

Re: [PHP] utf-8 in $_POST

2008-01-07 Thread Larry Garfield
. otherwise i seem forced to do something like this in the beginning of my php script: if(ereg(utf-8, $_SERVER[CONTENT_TYPE])) { foreach($_POST as $key = $value) $_POST[key] = convert_utf8_to_iso8859($value); } -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED

Re: [PHP] Question about sqli class

2007-12-30 Thread Larry Garfield
thin wrapper API and then use mysqli or PDO under the hood. Then if necessary you can switch from one to another with only minimal impact on your application code. Whether the API is OO or function-oriented doesn't make a huge difference. Prepared statements do. --Larry Garfield On Sun, 30

Re: [PHP] Mysqli support - test or complain? [SOLVED]

2007-12-11 Thread Larry Garfield
configuration. Most of the open source systems I've seen do that in some form or another. And if you don't know what driver you have on your system, it's not like it's hard to try one, watch it die, and then use the other. :-) How did this get so complicated? -- Larry Garfield

Re: [PHP] Mysqli support - test or complain?

2007-12-10 Thread Larry Garfield
abstraction layer that uses PDO or mysqli internally. Then you can switch from one to the other more easily if you find you need to, and you can also add whatever syntactic convenience sugar you want. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012

Re: [PHP] checkbox unchecked

2007-12-02 Thread Larry Garfield
? or how can I solve that? bye Ronald -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Larry Garfield
the former code will. In practice, though, a modular, pluggable system (most of what I use) is going to end up having conditional includes no matter what you do so I generally don't pay much attention to that type of optimization, since it's irrelevant to me anyway. -- Larry Garfield

Re: [PHP] Basic question - PHP usage of SVG files [SOLVED]

2007-11-21 Thread Larry Garfield
just as you would any other XML file. It's been a while since I worked with SVG, but I believe you can resize an image just by changing an attribute or two. There's no need for SVG support per se, as SimpleXML provides all you need anyway. That's the advantage of XML. :-) -- Larry Garfield

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-21 Thread Larry Garfield
On Wednesday 21 November 2007, Dave M G wrote: Larry, Thank you for responding. I think you missed the point. SVG is just text. ... There's no need for SVG support per se, as SimpleXML provides all you need anyway. I did miss the point - thanks for setting me straight. However, I'm

Re: [PHP] IDE

2007-11-16 Thread Larry Garfield
/) To unsubscribe, visit: http://www.php.net/unsub.php -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual

Re: [PHP] PHP advice: Tips webpage valid?

2007-11-13 Thread Larry Garfield
, or even making an interactive page where people can submit their findings and code and vote based on their own knowledge or experience. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others

Re: [PHP] PHP ide? Back On Topic

2007-11-08 Thread Larry Garfield
you'll find a first-class PHP code IDE (Zend Studio) that is also a first-class HTML layout tool (Dreamweaver). -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] moving over to php 5

2007-10-30 Thread Larry Garfield
On Tuesday 30 October 2007, Per Jessen wrote: Larry Garfield wrote: Here's a bigger question: When will people stop using mysql_ as their example API, when PDO is more standard in PHP 5 and more secure, and mysqli is available as well? As always, the key question must be - what's

Re: [PHP] Stopping objects from auto-serializing

2007-10-30 Thread Larry Garfield
-- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he

Re: [PHP] moving over to php 5

2007-10-29 Thread Larry Garfield
is rather hit or miss, and the numbers most people quoted until now I have decided are simply wrong. I have a hard time believing that there are 300,000 different commercial web hosting companies out there. That many servers, sure, but companies? -- Larry Garfield AIM: LOLG42

Re: [PHP] moving over to php 5

2007-10-29 Thread Larry Garfield
as their example API, when PDO is more standard in PHP 5 and more secure, and mysqli is available as well? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Larry Garfield
25 October 2007, Sascha Braun wrote: What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 Thank you! Sascha -- Larry Garfield AIM: LOLG42

Re: [PHP] Looking for a framework

2007-10-23 Thread Larry Garfield
. Thank you in advance for any hint on this and maybe a few tipps how to get it startet. Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED

Re: [PHP] Re: newbie questions

2007-10-21 Thread Larry Garfield
. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps

Re: [PHP] Re: newbie questions

2007-10-21 Thread Larry Garfield
. Yes the logging is just one simple insert into the database. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

[PHP] Strange benchmark behavior

2007-10-18 Thread Larry Garfield
, what? I'm reluctant to trust any benchmarks from this script until I figure out why it's behaving like that, so any advise would be appreciated. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all

Re: [PHP] Strange benchmark behavior

2007-10-18 Thread Larry Garfield
. :-) On Thursday 18 October 2007, Nathan Nobbe wrote: Larry, i havent dug into the code or the post much cause im coding away today, but i did drop you test script on a box of mine and run it. for what its worth, heres the results: [EMAIL PROTECTED] ~/working/www $ php testBench.php Testing __call

Re: [PHP] redefine contante value

2007-10-18 Thread Larry Garfield
to be whatever it is you want it to be. That's why it's in a config file. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

Re: [PHP] Classes - Dumb question

2007-10-15 Thread Larry Garfield
the php-internals folks were saying the last time the topic came up.) http://us2.php.net/manual/en/function.spl-autoload-register.php -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others

Re: [PHP] Classes - Dumb question

2007-10-11 Thread Larry Garfield
, which is a key component of a functional language. /semantic nitpick -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-10 Thread Larry Garfield
good.) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-09 Thread Larry Garfield
are useful. Being able to pass objects around to each other without performance or references dying is useful. And SPL is just plain cool. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-09 Thread Larry Garfield
is an unreliable methodology. Yes, that is syntactic sugar. See above. Can we stop with the pissing contest now? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive

Re: [PHP] How to format CLI tabular data?

2007-10-08 Thread Larry Garfield
power of the masses! ... -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking

Re: [PHP] error messages

2007-10-05 Thread Larry Garfield
to set: ini_set('display_errors', 'On'); Some web hosts set it Off by default for security reasons, but you probably want it on for development and testing. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible

Re: [PHP] Generating PDF files (XSLT, ps, XSL-FO, FOP, etc)

2007-10-05 Thread Larry Garfield
it produce a PDF. Not quite. You would use XSLT to generate XSL:FO output. You would then use a tool like Apache FOP (or various others, free and not) to convert the XSL:FO document into a PDF. I've done this before, but it's been a while. :-) -- Larry Garfield AIM: LOLG42

Re: [PHP] inserting ´ in a db

2007-10-03 Thread Larry Garfield
://www.php.net/pdo -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long

Re: [PHP] Optimized PHP

2007-10-02 Thread Larry Garfield
anyone suggest me some source / article / reference from where I can find the solutions of such of my problems. Looking forward for your suggestions .. Thx to all .. Ashish -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Larry Garfield
there's any in Japan, but perhaps there's one nearby in Asia that could be good enough. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action

Re: [PHP] PDOStatement execute memory issue?

2007-09-26 Thread Larry Garfield
but the same test script converted to minimal PDO fails, you've found a bug. If it fails in both cases, I'd start blaming something else. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others

Re: [PHP] Questions about overloading and visibility in PHP5

2007-09-24 Thread Larry Garfield
methods in the future). -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively

[PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
the user's session that I'm storing in object $first. Class b has nothing in common with a except that it needs a couple of the variables stored in the object that is hanging around in the session. Is $first-thisVar the wrong way to reference that variable? How can I get to it? TIA, Larry

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
On Mon, 2007-09-10 at 12:45 +1000, Chris wrote: Larry Brown wrote: Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-04 Thread Larry Garfield
a unique ID that has meaning, don't use auto-increment. It's an either/or question. Auto-increment and don't worry about what the numbers are as long as they're unique or do your own IDs that have some semantic meaning. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED

Re: [PHP] Database includes

2007-08-28 Thread Larry Garfield
more effort.) I'm with Larry on this. Include a constants file at the top of your scripts. In that file you can place a switch block that tests for the $_SERVER['HTTP_HOST']. For each case, place something like: That's bad, too, if you have multiple developers on the project. Just have

Re: [PHP] Database includes

2007-08-26 Thread Larry Garfield
that applies for moving the site to a subdirectory on a server too, but that takes a bit more effort.) Cheers. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
the problem. For more info: http://gophp5.org/faq -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
*waves a tiny gophp5 flag* Yy! :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
: http://gophp5.org/ I do not know what if any role it played in the PHP Internals folks' decision to EOL PHP 4, but with or without it the bulk of the PHP world is already committed to moving to PHP 5.2 anyway. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Larry Garfield
but a custom in-house application to continue to work in PHP 4 by next year is simply not paying attention. Let it rest in peace. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive

Re: [PHP] getting from one table listing from another

2007-08-20 Thread Larry Garfield
remember the last time I used anything but INNER JOIN or LEFT OUTER JOIN. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power

Re: [PHP] getting from one table listing from another

2007-08-19 Thread Larry Garfield
tables. LEFT OUTER JOINs return rows if there are matches in just the first (left) table, and fill in NULL values for the columns from the right table if nothing matches. For more information, consult the MySQL manual or a good MySQL forum. -- Larry Garfield AIM: LOLG42 [EMAIL

Re: [PHP] Delete row in a lookup table

2007-08-18 Thread Larry Garfield
://cafemessenger.com?ocid=TXT_TAGLM_AugWLtagline -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which

Re: [PHP] Strip numerical indices from array [SOLVED]

2007-08-13 Thread Larry Garfield
On Monday 13 August 2007, Dave M G wrote: Larry, Thank you for responding. ... you want to be using mysql_fetch_assoc() instead... Thank you, that helps me achieve what I need. Or, better yet, use mysqli_ ... if you're running PHP 5 (which you are, right? Yes, I am running PHP 5

Re: [PHP] PHP Books - A poll of sorts

2007-08-12 Thread Larry Garfield
to derive your own set of practices? Thanks for indulging me. Thanks Jay -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power

Re: [PHP] Strip numerical indices from array

2007-08-12 Thread Larry Garfield
, leaving only the associative key names? -- Dave M G -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which

Re: [PHP] Re: Object reference into variable?

2007-08-07 Thread Larry Garfield
. How can I tell PHP that $tempobject is a class instance of MyObject, and that I can use it's methods? Thanks, SanTa -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others

Re: [PHP] Echoing input w/o sanatizing - what is the danger

2007-08-07 Thread Larry Garfield
Guys are, paranoia is a virtue when talking about online security. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

Re: [PHP] Includes eating up my time

2007-07-31 Thread Larry Garfield
. - Some combination of the above. I'd do the op code cache last, as that's a sure-fire easy win while the others take effort. So do those first, and then whatever's left you can throw an op code cache at for an extra boost. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Larry Garfield
On Tuesday 31 July 2007, tedd wrote: At 7:28 PM -0500 7/30/07, Larry Garfield wrote: On Monday 30 July 2007, tedd wrote: What about descendants of the author? When anyone dies, their descendants have a rightful claim on their parent's assets -- it been that way since the dawn

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Larry Garfield
On Monday 30 July 2007, David Powers wrote: Larry Garfield wrote: copyright infringement is NOT taking something without paying for it. Copyright infringement is duplicating an expression of an idea that is fixed in a medium without the permission of the copyright holder. Money doesn't

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Larry Garfield
developers, and many others -- believe the current system of copyright law to be fundamentally flawed. And, I doubt that the organizations you site actually agree with you. I have personally spoken to both Larry Lessig (Creative Commons) and Richard Stallman (FSF) on the subject, and feel

Re: [PHP] Re: Pirate PHP books online?

2007-07-29 Thread Larry Garfield
On Sunday 29 July 2007, Dotan Cohen wrote: On 29/07/07, Larry Garfield [EMAIL PROTECTED] wrote: 1) Something can be illegal without it being theft. The idea that if it's not theft then it must be OK is the bullshit argument that I am pointing out as bullshit. That's a valid point

Re: [PHP] Re: Pirate PHP books online?

2007-07-28 Thread Larry Garfield
On Saturday 28 July 2007, Dotan Cohen wrote: On 28/07/07, tedd [EMAIL PROTECTED] wrote: On 28/07/07, Larry Garfield [EMAIL PROTECTED] wrote: If indirectly affecting the market so that prices change counts as stealing, then Coke and Pepsi build their business models around stealing

Re: [PHP] Rules of Engagement

2007-07-28 Thread Larry Garfield
and of my time. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Larry Garfield
a difference. Piracy does not hurt the big boys in the least bit. They simply jack up the price for honest folk. You're only stealing, yes, Larry, actual money :-), from hard-working individuals who pay MORE for their legit copy when you pirate. That is the end effect. That is why it really

Re: [PHP] Re: DOM

2007-07-26 Thread Larry Garfield
a specialized HTML. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively

Re: [PHP] DOM

2007-07-26 Thread Larry Garfield
HTML. http://www.xulplanet.com/ -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Larry Garfield
, and PM are all made miserable, too.) Not that I am speaking from personal experience of course, no, not at all... -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Larry Garfield
! -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps

Re: [PHP] RecursiveArrayIterator

2007-07-23 Thread Larry Garfield
collection is for? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Larry Garfield
go see that opening weekend... -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may

Re: [PHP] Creating a text file

2007-07-23 Thread Larry Garfield
that code to be used. It'll work, but it's well, it's ugly. I sure has heck don't expect that code to be used. That's been said about every Access database in the world, I wager. Then they get into production... -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ

Re: [PHP] Strategy when working with designer(s)?

2007-07-23 Thread Larry Garfield
involved in the project, even if no coding happens until far later. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Larry Garfield
On Monday 23 July 2007, tedd wrote: At 4:21 PM +0100 7/23/07, Richard Davey wrote: Hi Crayon, Monday, July 23, 2007, 4:09:57 PM, you wrote: On Monday 23 July 2007 22:26, Larry Garfield wrote: So when does Rasmus Lerdorf and the Deathly Hallows open in theaters? They've got

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Larry Garfield
On Friday 20 July 2007, Richard Lynch wrote: Perhaps your day job should stop paying you, because after you've spent that time, you'll never get it back? Is this make up things that Larry said day? It must be, because I know you're not that stupid, Richard. If my boss doesn't pay me

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Larry Garfield
now. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess

Re: [PHP] Symfony versus CakePHP?

2007-07-21 Thread Larry Garfield
between Zend Framwork and other frameworks like CakePHP? I'm trying to develop a sample blog for educational purposes in Zend Framwork, but some times I feel that I'm learning a new language or a new programming paradigm. On 7/21/07, Larry Garfield [EMAIL PROTECTED] wrote: Back in January I

<    1   2   3   4   5   6   7   8   9   >