Gary and Leam,
I also agree.
Over the past few years I have worked on 3 “homegrown” MVC frameworks.
2 of these were business applications (inventory, ERP, that sort of thing.) and
that’s the use case
I’m thinking of here.
I didn’t design them or code them and had no involvement in the creation
PhpStorm on development box/s and vim on the servers.
PhpStorm really helps with a large MVC codebase.
-Glenn
On May 29, 2012, at 6:02 PM, Federico Ulfo wrote:
> Hey guys,
> what tools do you use to develop in PHP? Are you using Jenkins with all the
> fancy plugins? And what abou
that?
HTH,
Glenn
On Jan 3, 2011, at 10:15 AM, Nicholas Hart wrote:
I am trying to configure mysql to use a different datadir than
default in order to move this to a larger volume. I have copied all
mysql data from /var/lib/mysql to my new volume and ran both chown -
R mysql:mysql * and
I'm not sure that I fully understand the subtleties of the data/
problem but...
array_walk_recursive might be part of a solution.
You could write a callback function to use with it to do whatever you
need.
http://www.php.net/manual/en/function.array-walk-recursive.php
hth,
glenn
O
Some of the time, some of the coders code the clients ideas and dreams.
Some of the time, some of the coders code their own ideas and dreams.
Here's to the dreamers and inventers, clients and coders alike. :)
Glenn
On Jan 20, 2010, at 3:08 PM, Anthony Wlodarski wrote:
I have a large amou
I remember seeing "Premature end of script headers" with
Perl scripts when I mistakenly ftp'd them to the server in binary
mode instead of ascii mode. Drove me crazy, and I knew better
than to do that, I just overlooked the mode when I uploaded.
Glenn
On Oct 21, 2009, at
This might do it.
I haven't used this, but I've seen other's use it.
http://us2.php.net/manual/en/function.serialize.php
HTH,
Glenn
On Oct 20, 2009, at 6:05 PM, Leam Hall wrote:
Down the road I'll get this going in a database, but at the moment
I'm stuck using
fusion and potential problems, especially
when I'm tired.
Glenn
___
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
_
continuation from last post... and another idea...
When you get the list of record ids, select enough of the text around
the (target phrase to be "linkafied") to give it some context,
and, at the point of publication of a new article, display those
blurbs in a list with a pre checked checkbo
If the article copy is stored in the db, and you've got sql to work
with, then at the
point of publication of a new article, it might be possible to narrow
the targets
with;
select id from articles where article_text like %valley forge%";
(or something like that).
Then you can do whatever yo
Ah. New article titles are based on phrases from pre-existing content.
On Aug 27, 2009, at 2:37 PM, Randal Rust wrote:
On Thu, Aug 27, 2009 at 11:40 AM, Glenn Powell
wrote:
Maybe altering the existing articles is a one time process?
Unfortunately, no. These sites are encyclopedias, so
That would mean that only new articles would need to be run through
the process at the time of publication?
and update the known article titles with the new one.
Of course, I probably don't fully understand the challenge...
Glenn
On Aug 27, 2009, at 10:04 AM, Randal Rust wrote:
this...
Hope it helps.
(then find a good tutorial/book and use your imagination...)
glenn
$myarray[1][0] = 'somekey';
$myarray[1][] = '1234';
$myarray[1][] = '5678';
$myarray[1][] = '9101112';
print "example a\n";
print_r($myarray);
p
ally "like" depending on S3 to deliver
components of the
actual web app, but it works.
For user created content in a load balanced situation it solves the
problem
of where to store the user created stuff.
Best Regards,
Glenn
On Aug 13, 2009, at 8:56 PM, Peter Sawczynec wrote:
Really just
Thanks for clarifying.
glenn
On Jul 30, 2009, at 5:07 PM, Allen Shaw wrote:
Glenn Powell wrote:
... if 100 considers 300 a friend, that does not mean that 300
considers 100 a friend.
It could be maddening for a user to see that they are a friend of
300, when in fact they have not done
the system
to create that relationship.
Looking for friends of 100 should probably mean looking for friends
that 100 listed as friends?
best,
glenn
On Jul 30, 2009, at 4:02 PM, Allen Shaw wrote:
Hi Gang,
To support "friend" relationships in a contacts management database,
I
My jaded 2 cents...
It's cheaper for your employer to use the most experienced Drupal
developer for Drupal work.
You can probably get Drupal things done very quickly compared to
others at your workplace... quick=profit (or getting the job in the
first place.)
I would guess that your car
I had a similar problem and I added some old fashioned debug code
using "echo" and "memory_get_usage" to see where the leaks were.
It really helped, and it's very educational. (and fun...)
HTH
glenn
On Jun 4, 2009, at 5:23 PM, Rahmin Pavlovic wrote:
On Jun
y_exists". When you find a key match, THEN
look up the full record in the db.
hth,
Glenn
On Oct 14, 2008, 1:57 AM, [EMAIL PROTECTED] wrote:
Hello NYPHP,
I have an array that has 13000 email addresses. For now, its in the
script but will be in a database table eventually. It is a list o
determine
what was happening.
Glenn
On Sep 9, 2008, at 10:31 PM, Michael B Allen wrote:
Can someone explain why the below switch matches the 0 element?
$ cat switch.php
1,
'bar' => 2,
'zap',
);
foreach ($tmp as $key => $val) {
switch ($key) {
Just curious.
Why not use an autoincrement ?
I'm probably missing something...???
Back to your question;
I think I remember reading something about last_insert_id() being
different between mysql versions.
Regards,
Glenn
On Feb 28, 2008, at 2:11 PM, PaulCheung wrote:
The applicati
21 matches
Mail list logo