nization, documentation, and
> consistency. Is the programmer published (articles, books, etc) which
> may not count against expertise?
>
> An expert encompasses so much more than skills. For instance, I could be
> an expert on football because I understand history of the
ust an indication that they don't not know what they're
doing.
On Friday 19 January 2007 9:43 am, bruce wrote:
> larry...
>
> sounds good... however, given that you often have a myriad of different
> ways to solve a problem, how does on determine which of the solutions
l_fetch_object($memrosterresults)) {
> $roster[$record->game][] = $record;
> }
> ksort($roster);
> foreach ($roster as $game => $records) {
>print "\n";
>print "{$game}\n";
>print "Name Rank Country Email\n";
>fo
C Silva [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 21, 2007 2:54 AM
> To: php-general@lists.php.net
> Subject: [PHP] most powerful php editor
>
> hi everyone!
>
> i'd like to ask something maybe commonly asked here. what is the most
> powerful php editor?
--
Larry G
other PHP plugin for Eclipse, and that one behavied like you
> describe, therefore my change to SourceForge PHP Eclipse Plugin.
>
> Best regards,
> Peter Lauri
>
> www.dwsasia.com - company web site
> www.lauri.se - personal web site
> www.carbonfree.org.uk - become Carbon
ds I am getting,
> for example, £7 rather than £. Is this an encoding issue?
>
> Many thanks in advance...
Yep, sounds like encoding to me. This article talks more about smart quotes
than the £ sign, but the recommendation applies for that as well.
http://www.garfieldtech.com/blog/stupid-qu
So,
optimize your style for readability. Readability is, of course, partially
subjective so your style will differ from my style, but the key point is
still to optimize the code for when you come back in 3-6 months to add a
feature or find an obscure bug and don't remember what the frel yo
r.
- Real-time debugger. The only one I've found that works for me so far is
Zend's. I cannot overstate how useful a real-time debugger is for tracking
down bugs in complex applications.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
en in the wild. Not only is it easier to read, but the task of
> > adding
> > or removing selected fields is trivial.
>
> I meant ONLY the SELECT part on a single line.
>
> Only a moron would cram the FROM and all that into the same line.
>
> :-)
>
> $query = "SELECT
On Saturday 27 January 2007 7:43 am, Jochem Maas wrote:
> Larry Garfield wrote:
> > I have long since given up on raw insert/update/delete statements as the
> > syntax is all kinds nasty. These days I just do this, which is even
> > easier and more powerful:
> >
>
which technically gives you values 0-9.
And yes, I agree that MySQL has fairly decent date manipulation routines. But
at work we do try for database independence when possible, so except on
specific projects we try to avoid it.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED]
ey are intrinsically atomic (in the sense
> that database transaction 'should' be).
>
> rgds :-)
Well, business reasons dictate that we keep our code portable when possible at
work. I'm not the business person. I just write the code. :-)
--
Larry Garfield
;t wrong
> neither, simply optional.
Actually, I believe they are wrong in some database engines but not others.
MySQL doesn't care. Some others do. Yes, it sucks. :-(
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made
#x27;s some reason for it deep in the bowels of SQL
engines as they existed in the early '80s, but for anyone trying to not
hand-write every frickin' SQL query and automate common tasks it makes life
considerably more annoying.
--
Larry Garfield AIM: LOLG42
[EMAIL PROT
there is some good GPL modular
> software around (such as Joomla, PHP-Nuke, PHPbb, etc, etc.) that you have
> been working with as a coder. Could any of you suggest a certain GPL
> application that has a great module setup that I could take a look at?
>
> Thanks a lot for your time!
On Monday 29 January 2007 8:37 pm, Robert Cummings wrote:
> On Mon, 2007-01-29 at 20:02 -0600, Larry Garfield wrote:
> > I was looking for a similar good-example about 2 years ago. What I found
> > was Drupal (http://drupal.org/), and it's hook system. I have since
> >
hat is not dependent on other variables.
realpath(__FILE__) will give you the absolute path on the server of the
current file, which is unique. Why you want that for what you're doing I
have no idea, but it's the only unique identifier I can think of that isn't a
variable or constan
($fileToInclude, 'r');
> $str = fread($fr, filesize($fileToInclude))
> fclose($fr);
> // make alterations to $str
> // reopen file and write the changes
> // done but in test function I have written changes have not been made
> }
> looked through the O'Reilly book Progr
Copying back to the list where it belongs...
On Sunday 11 February 2007 11:01 am, jekillen wrote:
> On Feb 10, 2007, at 8:58 PM, Larry Garfield wrote:
> > You need to rearchitect your system.
> >
> > When you include a file, its code executes. Once it has been
> > ex
I am new to php and was trying to view the code below. I do see in my browser
the question that is being asked, but for some reason the answer is not
displayed. I am copying this from a book and am sure I have typed everything
as it should be typed. Can you please tell mw what might be wrong?
t works fine this way, as soon as I change the form to
> method="get" it looses the parameter "kind" when I change e.g. the
> second parameter from "-Alle-" to "Gültig". Has anybody an idea why it
> works with POST but not with GET?
>
>
> ...
ems, but maybe one of you has
run across similar issues.
Many thanks.
Larry Bradley
Orleans (Ottawa), Ontario, CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ough with the one-form-per-page limitation.
That is my opinion from not actually building anything with it yet, at
least. :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclu
)) {
$records[] = $record;
}
array_shuffle($records);
for ($i=0; $i < 3; ++$i) {
$use[] = $records[$i];
}
Now you have an array, $use, that is 3 random entries from the last 10,
ordered by a time field. The unique ID is irrelevant to that, as it should
be.
--
Larry Garfield
ot SO BIG
> deal (for now of course).
>
> My db expertise covers a bit mysql and mysql does not have any array type
> field (enum just so simple).
>
> I just want to know is there any way to keep array data type natively in a
> sql field.
>
> Regards.
>
> Sancar
--
L
be doing some experimentation.
> Thanks in advance;
> Jeff K
--
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
ay each
> time, as compared to a switch statement? Just another thought...
>
> Ed
That's why you can just declare it static:
function convert_from_weekday ($weekday) {
static $wdays = array(
0 => "Sonntag",
1 => "Montag&
ation isn't
already presented to you on a silver platter.
--
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
Javascript code really does the same as the PHP stuff,
and thus must obey the same rules, but I'm not sure.
Comments?
Larry Bradley
Orleans (Ottawa), Ontario, CANADA
start with. :-) Find whoever you inherited the code
from and shoot him. (Really, I know how badly inherited code can suck.)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
t they use suPHP to parse php
> files and I have the option of using custom php.ini files. That I could
> create a .htaccess file or put individual php.ini files in the folder that
> contains the files im running. In other words do it myself.
>
>
> So I created this file:
&
tech.com/blog/unicode-8-vs-16
--
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
On Sunday 18 March 2007 2:17 pm, Robert Cummings wrote:
> On Sun, 2007-03-18 at 13:58 -0500, Larry Garfield wrote:
> > On Sunday 18 March 2007 5:57 am, Don Don wrote:
> > > Hi all,
> > > my program outputs some characters along with text from the database,
> > &
roughly confused at this point, and the manual is quite unclear on all of
the important details I care about. :-)
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusiv
So there's no PDO experts out there, eh? :-(
On Wednesday 28 March 2007 11:14 pm, Larry Garfield wrote:
> HI all. The PHP.net manual is somewhat unclear on this point, so I thought
> I'd ask here. Does PDO automatically buffer queries the way that the
> mysql_* extension does
On Sunday 01 April 2007 3:42 am, Tijnema ! wrote:
> > On Wednesday 28 March 2007 11:14 pm, Larry Garfield wrote:
> > > HI all. The PHP.net manual is somewhat unclear on this point, so I
> > > thought I'd ask here. Does PDO automatically buffer queries the way
>
On Sunday 01 April 2007 3:09 pm, Jürgen Wind wrote:
> Larry Garfield wrote:
> > ...segfaults under PHP 5.1.6 ...
>
> php 5.1.5/6 was the source for many segfaults (f.e. using phpmyadmin)
> better don't use it any more. See also:
> http://bugs.php.net/bug.php?id=39
s that
> your provide to a potential employer? What things do you feel I should
> avoid when putting this kinda of thing together?
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all oth
, they can make PHP code more intuitive
> for people who weren't the ones who created it. I don't think they
> make code execution any faster (or slower, for that matter). It's
> worth knowing about them, but they probably shouldn't change your day
> to day practices. As wit
t, regardless of the language.
If you want your syntax to be a bit simpler, I frequently use helper functions
along these lines:
function http_get_int($var, $default=0) {
return isset($_GET[$var]) ? (int) $_GET[$var] : $default;
}
if (http_get_int('var') ==5) {
// Do stuff
}
Clean to read,
rden.com/
>
> Only with hacks.
Using tables for layout *is* a hack. A common one, but still a hack.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it
On Tuesday 17 April 2007 8:14 pm, Robert Cummings wrote:
> On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote:
> > On Tuesday 17 April 2007 3:40 pm, Robert Cummings wrote:
> > > > BTW, any web developer worth his or her salt with a reasonable amount
> > > >
On Tuesday 17 April 2007 9:54 pm, Robert Cummings wrote:
> On Tue, 2007-04-17 at 21:21 -0500, Larry Garfield wrote:
> > On Tuesday 17 April 2007 8:14 pm, Robert Cummings wrote:
> > > On Tue, 2007-04-17 at 18:53 -0500, Larry Garfield wrote:
> > > > On Tuesday 17 April
Print user friendly message.
// Log detailed information or whatever you're going to do.
}
--
Larry Garfield
la...@garfieldtech.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nstants
http://www.php.net/get_declared_classes
http://www.php.net/get_declared_interfaces
http://www.php.net/get_included_files
--
Larry Garfield
la...@garfieldtech.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ay like :
>
> $home["street"] = test2;
> $home["housenr"] = 2;
>
>
> but the idea stays the same = the index is the name of the DB fields
> and the assigned value the element
>
>
>
> I have looked on hotscripts and phpclasses but I have no idea how
g all 60 classes even when you're
only going to use 2; you're still loading up roughly the same amount of code.
Parsing it as one mega class or one big parent with a few small child classes
is about a break-even as far as performance goes, but the mega class is much
poorer architecture.
--
Larry Garfield
la...@garfieldtech.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;m pretty sure that PHP will recognize that it's already parsed that file and
keep the opcode caches in memory, so it needn't hit disk again. I've not
checked into that part of the engine, though, so I may be wrong there.
--
Larry Garfield
la...@garfieldtech.com
--
PHP Gen
art on your specific use case.
The most important aspect of a good autoload mechanism, though, is that it's
fast and extensible. Use spl_autoload_register() instead of __autoload(), and
make sure that you keep the runtime of your autoload callbacks to an absolute
minimum. (A DB hit
g checks against the interfaces rather than the
classes themselves. If they don't, you should file a bug against that base
library as They're Doing It Wrong(tm).
--
Larry Garfield
la...@garfieldtech.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ction or factory object:
function create_page($root) {
$db = create_your_db();
$notifier = create_your_notifier();
return new Page($db, $notifier, $root);
}
$new_page = create_page($my_root);
And the db and notifier routines can be as simple or complex as needed for your
use case. The
around, and wrap the
compiler's head around.
What you're looking for is composition, which can do pretty much what you're
looking for. See my last reply to you on this list from Christmas day.
There's been some discussion of implementing "traits" in later versions of
Meant to send this to the list, sorry.
-- Forwarded Message --
Subject: Re: [PHP] If design patterns are not supposed to produce reusable
code then why use them?
Date: Thursday 31 December 2009
From: Larry Garfield
To: "Tony Marston"
On Wednesday 30 December 200
stupid. Blindly ignoring established "solved problems"
just for the sake of avoiding those pointless design patterns is just as
stupid.
Remember, code is irrelevant. You don't sell code. You sell ideas and
concepts, implemented in code. By not having to re-invent th
tp://www.packtpub.com/drupal-6-module-development/book
Disclaimer: The author used to work with me, and I'm a Drupal core developer
so I am admittedly biased. :-)
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and every insert as they only need to be rebuilt once.
3) If you're on InnoDB, using transactions can sometimes give you a
performance boost because the writes hit disk all at once when you commit.
There may be other side effects and trade offs here, though, so take with a
grain of salt.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
aved_key = $a[$i];
> }
> elseif ($i % 2 == 1) {
> $b[$saved_key] = $a[$i];
> }
> }
>
> Code is crude and untested, but you get the idea.
>
> Paul
This would be even shorter, I think:
foreach ($items as $i => $value) {
$temp[$i % 2][] = $value;
}
$done = array_combine($temp[0], $temp[1]);
(Also untested, just off the cuff...)
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ts memory usage be? I just have no idea how to do that.
Anyone have a suggestion for how to accomplish that?
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to have a custom text region or format or something
that is "take this and highlight it properly", but I don't know if such a
plugin exists.
I could be talked into using KPresenter / KOffice instead if that would be
easier, but as I am on Linux I have no access to KeyNote or PowerPoi
it properly", but I don't know
> > if such a plugin exists.
> >
> > I could be talked into using KPresenter / KOffice instead if that would
> > be easier, but as I am on Linux I have no access to KeyNote or
> > PowerPoint.
> >
> > Any suggestion
Perhaps if you asked a question you'd get an answer rather than coming off as
an angry immature crybaby in your last paragraph... No, I'm not going to
dignify your post with a real answer. Come back when you can ask a real
question and maybe you'll get a real answer.
--Lar
ng" design is very deliberate. It has design trade-offs like
anything else.
PHP is a web-centric language. It's not really intended for building tier-1
daemon processes, just like you'd be an idiot to try and code your entire web
app in C from the start.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uld be useful is for lots of very small writes on rapidly
changing data. I would never want to write, say, the World of Warcraft
servers without threading and a persistent runtime, but then I wouldn't want
to write them in PHP to begin with.
Insert that old saying about hammers and nails here.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tered, and was it worth it?
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sounds overly complicated, but whatever works. :-) In my experience so far I
find that a well-designed factory is sufficient, but it may not be in larger or
more involved OO frameworks than I've used to date.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tting to anything.
OK, I'm a little OCD, but it works. :-)
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hm. Thanks, but it looks like that's all in Python. I'm not a parcel tongue
so that wouldn't be much use to me in a PHP app. :-) Thanks though.
--Larry Garfield
On Tuesday 25 May 2010 06:43:30 pm Jason Pruim wrote:
> Hi Larry,
>
> Take a look at: http://trac.calen
s already very solid in PHP at the time, but it made me even
better.)
--Larry Garfield
On Saturday 05 June 2010 12:51:47 am Shreyas wrote:
> @ All - Points duly noted. Thanks for all the mighty advice.
>
> As the owner of the thread, I consider the thread closed for now unless
I have an app that runs just fine on an older Solaris apache server
(Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer
Linux server (Apache/2.2.3-11 PHP/5.2.8) against the same database on
the same mysql server, it fails with "Allowed memory size exhausted".
This occurs on a:
$resul
On Tue, Jul 13, 2010 at 11:11 AM, Ashley Sheridan
wrote:
>
> On Tue, 2010-07-13 at 11:06 -0600, Larry Martell wrote:
>
> I have an app that runs just fine on an older Solaris apache server
> (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer
> Linux server (A
scroll position so after the refresh the frames are
shown at the same location as before the refresh? I have googled and
googled for this, but everything I find is ASP or C# or Java. My stuff
is straight php/html. How can I do this with that?
TIA!
-larry
--
PHP General Mailing List (http
that group has pretty well died.
> Are there any efforts, projects or initiatives which are floating your
> boat right now and that your watching eagerly (or getting involved with)?
Just lots of stuff within the Drupal world, which is large enough to keep me
busy. I won't bore you with details. Come to DrupalCon Copenhagen next month
if you want such details. :-)
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 29 July 2010 02:07:58 am you wrote:
> Hi Larry,
>
> Thanks for taking the time to reply, a solid insightful one at that -
> kudos +1 for your opensource drupal efforts!
>
> Good of you to mention, and indeed to see, Palinter grasping opensource
> with two hands
On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster wrote:
> Folks:
>
> Being fairly geezerly, I know almost nothing about this, so be gentle.
>
> Assuming someone entered information in a form on a website. Normally,
> you would email the responses to someone. But what if you wanted to
> send this inf
On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert
wrote:
> Larry Martell schrieb:
>
> On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster
> wrote:
>
>
> Folks:
>
> Being fairly geezerly, I know almost nothing about this, so be gentle.
>
> Assuming someone entered i
On Thu, Oct 14, 2010 at 10:29 AM, Sebastian Detert
wrote:
> Larry Martell schrieb:
>
> On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert
> wrote:
>
>
> Larry Martell schrieb:
>
> On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster
> wrote:
>
>
> Folks:
&
onenum...@mobile.celloneusa.com
>> Omnipoint: 10digitphonenum...@omnipointpcs.com
>> Qwest: 10digitphonenum...@qwestmp.com
>>
>
> Larry, it seems like this method would only be useful if you knew the
> carrier of a specific number. Do you know of a way to determine that?
http://w
On Thu, Oct 21, 2010 at 1:37 PM, sueandant wrote:
> Hi
>
> I'm not familiatr with the term "top-post"; could you please explain?
http://idallen.com/topposting.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
arge community of people
who can support me in writing more is one of the key reasons that virtually
all of my web work these days uses Drupal. AFAIK there is no cross-CMS plugin
system in PHP, and given how architecturally different various systems are I
don't know that one would
or hard benchmarks, profiling, or writeups
of how OS (Linux specifically if it matters) file caching works in 2010, not
in 1998.
Modernizing what "everyone knows" is important for the general community, and
the quality of our code.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not a decision I took lightly.
>
> David
ORMs are fundamentally fighting the wrong battle. They have their use, but in
general they are architecturally not something you want to build your entire
system on.
See:
http://www.garfieldtech.com/blog/orm-vs-query-builders
http://blogs.tedneward
the process of spinning it off as a
> > stand-alone library because we think it's that cool, but it's not
> > completely divorced from Drupal yet. Stay tuned. :-)
>
> Larry - how many databases does it actually work with? Having rebuilt the
> DB layer using PDO d
trying to go
> 100% open source, but I really find dreamweaver easier to use so far.
I bounce between NetBeans and Eclipse, depending on which currently sucks
less. I have yet to find a PHP IDE that doesn't suck; it's just degrees of
suckage. :-)
--Larry Garfield
--
PHP General
gious
battle between Git and SVN, I do strongly recommend you look into it.
This is an excellent resource for why to use it and how to use it:
http://progit.org/book
If you're serious about development, get serious about version control.
--Larry Garfield
--
PHP General Mailing List (http:
On Tue, Jun 26, 2012 at 1:30 PM, TR Shaw wrote:
>
> On Jun 26, 2012, at 3:28 PM, Steven Staples wrote:
>
>>
>>> -Original Message-
>>> From: Govinda [mailto:govinda.webdnat...@gmail.com]
>>> Sent: June 26, 2012 3:25 PM
>>> To: PHP-General List
>>> Subject: Re: [PHP] What's happened to our
would have to do a polling worker that polls a database for new tasks.
You could write such a system -- Drupal comes with one as a default
implementation since then you don't need a separate queueing program,
for instance -- but it will always be greatly inferior to a real
daemonized qu
industries that don't like being disrupted is not a proper use of
governmental power.
I'm quite happy to see PHP.net joining in with other defense-of-freedom
voices.
--Larry Garfield
On 7/21/12 1:56 PM, With No Name wrote:
On Fri, July 20, 2012 10:04, Lester Caine wrote:
In Europe
#x27;s, Symfony2's, and probably Zend has one as well.
Also, the key question is how you'll be mapping your situation to the
plugin you need. If it's fairly hard-coded (i.e., "mime type of foo =>
class Bar"), then just use a simple dependency injection container like
Pi
d probably Zend has one as well.
I believe there's one in PHP by default now called SPLClassLoader or
something like that..
- Matijn
There was a proposal for one, but it was never added. You still need a
user-space class loader for PSR-0, but they're readily available.
--Larry
Only semi-joking line that's been making the rounds lately:
If you want to build a blog, use Wordpress.
If you want to build Wordpress, use Drupal.
If you want to build Drupal, use Symfony2.
There is much wisdom in those lines.
--Larry Garfield, an openly biased Drupal core developer
On
s :)
Drupal's security process is substantially similar, and also follows
security best practices:
http://drupal.org/security-team
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Then get a new host. A host that disables PDO these days is a host that
deserves to go bankrupt. ext/mysql has been dead for years now.
--Larry Garfield
On 09/08/2012 08:54 AM, Jim Giner wrote:
Nope. No PDO as yet either
jg
On Sep 7, 2012, at 11:22 PM, Adam Richardson wrote:
On Fri
do is PDO.
--Larry Garfield
On 09/09/2012 04:49 PM, Larry Garfield wrote:
Then get a new host. A host that disables PDO these days is a host
that deserves to go bankrupt. ext/mysql has been dead for years now.
--Larry Garfield
On 09/08/2012 08:54 AM, Jim Giner wrote:
Nope. No PDO as yet either
jg
l_*
functions). It's insecure and slow and lacks features.
Instead, use PDO, and bind your parameters. As a nice bonus, the result
from a PDO-based query is not a raw resource but an iteratable object,
which means you can foreach() it.
http://php.net/manual/en/book.pdo.php
$conn = ne
On 10/17/12 10:17 AM, Matijn Woudt wrote:
On Wed, Oct 17, 2012 at 1:25 AM, Larry Garfield wrote:
For the love of god, please stop using ext/mysql (aka the mysql_*
functions). It's insecure and slow and lacks features.
Instead, use PDO, and bind your parameters. As a nice bonus, the r
quot;oh,
now the memory isn't shared, so now what do I do?" Each PHP process
could be in its own CPU core, CPU, server, or server cluster, and the
code doesn't change in the slightest.
The "shared nothing" architecture is a very deliberate design decision,
and is in a large
be if it were still maintained.
I may have a use for it if it still exists.
--Larry Garfield
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, I've worked with Apache Solr quite a bit. It's a separate server,
however, and I'm looking for something with smaller requirements for a
concept I want to try. I'd consider SQLite, but I really need something
schema-free and PHP-native/easily-installable.
--Larry Gar
Ah ha. Did that ever get ported to Zend 2?
--Larry Garfield
On 12/12/12 12:07 AM, Louis Huppenbauer wrote:
There's Zend_Search_Lucene, part of the Zend framework. I think it should
be possible to use it without the whole framework though.
http://framework.zend.com/manual/1.
On Fri, Dec 14, 2012 at 11:20 AM, Paul M Foster wrote:
> On Fri, Dec 14, 2012 at 10:48:05AM -0500, Andy McKenzie wrote:
>
>> Hey folks, kind of a strange question here.
>>
>> Basically, I've been trying to move my style from "self taught" to "Oh
>> yeah, there IS a standard for this." One of the
201 - 300 of 822 matches
Mail list logo