Re: [nyphp-talk] What PHP tools are you using?

2012-05-29 Thread Christopher R. Merlo
On Tuesday, May 29, 2012, Ronald Bradford wrote: > > Never used an IDE for PHP, I don't see the purpose, happy for an > explanation why I should? > Aptana Studio (mentioned before) is the only tool I've tried that correctly colors and indents PHP, Javascript/jQuery, and CSS in the same file. You

Re: [nyphp-talk] Learning to program the right way

2012-01-24 Thread Christopher R. Merlo
On Tue, Jan 24, 2012 at 11:46 AM, Justin Dearing wrote: Personally, I think that at some point in college the following should be > taught to CompSci, MIS/IT, Engineering and Finance majors: > * How to code > * How to use source control (presented to IT in a way that covers devops, > storing confi

Re: [nyphp-talk] validating proper name capitalization

2011-09-23 Thread Christopher R. Merlo
Once upon a time, I had students writing a Name class do all sorts of funky validation and auto-correction, even checking for "Mc", "Mac", "De", and "de" specifically. It's an awful chore, and it seemed like every semester someone thought of a valid name that my hardcore regex missed. Now I use d

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 6:10 PM, Daniel Convissor < dani...@analysisandsolutions.com> wrote: > Heya: > > > (On a side note, why are logs like that always read-protected?) > > Because your admin doesn't know what they're doing? :) But that seems to be the default on Linux boxes and/or on Apache.

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 4:51 PM, Rolan Yang wrote: I've seen PHP die like that when a required library or dependency is > missing. > Dump your phpinfo output here or email it to me. > Sent privately. I did have to download the client library, but I'm able to connect to it. Dan asked about what

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 1:58 PM, Chris Snyder wrote: And you don't have php set to log errors, by any chance? > According to phpinfo( ), log errors is on. ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 1:51 PM, Chuck Reeves wrote: > Are you checking your calendar on the same machine that is running the PHP > code? No, but they (my laptop and the department's web server) have the same connection to outside, and the same external IP. > If you are on long island and the

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 1:40 PM, Rob Marscher wrote: Could it be that Google calendar is down right now? > http://mashable.com/2010/11/15/google-calendar-down-november-15/ > I suppose it could be. But my calendar comes up, and the authentication is happening successfully, as far as I can tell.

Re: [nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
On Mon, Nov 15, 2010 at 1:30 PM, Chuck Reeves wrote: > Are you getting any php errors? Nothing. It just stops dead. ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Partic

[nyphp-talk] PHP & Google Calendar

2010-11-15 Thread Christopher R. Merlo
Hi everyone. I'm having a problem trying to use the Zend-provided PHP hooks into Google Calendar. After Googling, I found one person who seems to have had the same problem, but it's not clear what resolution, if any, that person achieved. Briefly, I'm using the ClientLogin method to connect to G

Re: [nyphp-talk] Searching an Entire MySQL Database

2010-11-04 Thread Christopher R. Merlo
On Thursday, November 4, 2010, Michael Southwell wrote: > On 11/4/2010 08:32, p...@blu-studio.com wrote: > > I am wondering if anyone has had to search an entire database and do a > search and replace on a string. That is to search in every table, in > every row, in every field. > > > export the e

Re: [nyphp-talk] Searching an Entire MySQL Database

2010-11-04 Thread Christopher R. Merlo
On Thursday, November 4, 2010, wrote: > I am wondering if anyone has had to search an entire database and do a search > and replace on a string. That is to search in every table, in every row, in > every field. I'm having a hard time imagining a practical application of this, or even how it co

Re: [nyphp-talk] Plagiarism Checker in PHP

2010-05-02 Thread Christopher R. Merlo
On Sunday, May 2, 2010, Justin Dearing wrote: > > My understanding is many CS professors do this for programming homework. They > are looking for exact matches. Apparently that catches a lot of people. Actually, checking for exact matches won't catch the students who change nothing but identifie

Re: [nyphp-talk] $_SESSION, Logout, and Shared Host

2009-11-04 Thread Christopher R. Merlo
On Wed, Nov 4, 2009 at 9:49 PM, Tim Lieberman wrote: True. You've just learned a valuable lesson: You should only ever call > session_start() in one place. It's funny; that just occurred to me as I was about to read your response. "Why on earth," I started saying to myself, "would I have calle

Re: [nyphp-talk] $_SESSION, Logout, and Shared Host

2009-11-04 Thread Christopher R. Merlo
On Wed, Nov 4, 2009 at 8:16 PM, Tim Lieberman wrote: > It sounds like both applications are running on the same domain. If that's > not the case, something else is going on. > They are running on the same domain. > You have a couple of options, none of which might make you happy. > > 1) In yo

[nyphp-talk] $_SESSION, Logout, and Shared Host

2009-11-04 Thread Christopher R. Merlo
Hi. I recently migrated my web app from my personal server to a (*way* more powerful) shared server, where one of my colleagues also hosts his app. Both were written in PHP. Due to neither one of us having run into this before, if you are logged in to both apps at the same time from the same brow

Re: [nyphp-talk] developer's machine specs -- recomendations?

2009-10-19 Thread Christopher R. Merlo
On Mon, Oct 19, 2009 at 9:40 AM, Brian O'Connor wrote: > [Buy a laptop.] This way, you get the luxury of portability ... In > addition, you don't have 2 separate computers where you have to worry about > file syncing (I know, I know, remote repositories - but that's not as easy > as it sounds

Re: [nyphp-talk] [0T] Verizon FIOS -- comments?

2009-05-15 Thread Christopher R. Merlo
On Fri, May 15, 2009 at 3:20 PM, Christopher R. Merlo wrote: Yeah, I should have mentioned that part. I don't use a thumbdrive, because > I can just ssh into my home machine from school (or Panera or wherever) and > access whatever files I need. BTW, something else I just though

Re: [nyphp-talk] [0T] Verizon FIOS -- comments?

2009-05-15 Thread Christopher R. Merlo
On Fri, May 15, 2009 at 3:15 PM, Rolan Yang wrote: > They block port 80, 443, 1080 and 25, but you can still run your ssh on 22 > and http on a different port. Yeah, I should have mentioned that part. I don't use a thumbdrive, because I can just ssh into my home machine from school (or Panera

Re: [nyphp-talk] [0T] Verizon FIOS -- comments?

2009-05-15 Thread Christopher R. Merlo
On Fri, May 15, 2009 at 3:07 PM, David Mintz wrote: > Anybody using Verizon's FIOS and have any comments? I am moving next week > (from Maplewood NJ to South Orange NJ) and considering ordering. I want to > make sure they don't do block you from connecting to your own machine via > http or ssh fr

Re: [nyphp-talk] generate random unique 8-digit number

2009-03-09 Thread Christopher R. Merlo
On Mon, Mar 9, 2009 at 9:56 PM, chad qian wrote: > Hi, > I need to generate random 8-digit numbers continuously.And no > duplication among all those numbers.In other word,every single 8-digit > number must be unique. > It is not mathematically feasible to continuously generate unique random num

Re: [nyphp-talk] Re: OT: webmaster test

2008-04-16 Thread Christopher R. Merlo
On Wed, Apr 16, 2008 at 11:43 PM, David Krings <[EMAIL PROTECTED]> wrote: Huh? I got two university degrees and did so voluntarily. So what you say is > clearly not the case. My point is that someone who for example takes a BSEE > program at Alfred State College is required to have 132 credits for

Re: [nyphp-talk] Re: OT: webmaster test

2008-04-16 Thread Christopher R. Merlo
On Wed, Apr 16, 2008 at 5:02 PM, David Krings <[EMAIL PROTECTED]> wrote: A university is supposed to train interested candidates in a field of choice > with the goal to make them subject matter experts in that field. That's actually not true, and your apparent belief in this untruth is probably

Re: [nyphp-talk] FTPing PHP scripts.

2008-02-06 Thread Christopher R. Merlo
Try mixing up the order in which the files are sent. If the disk is running out of space during the transfer, you'll get inodes for each file, but no data getting stored for the inodes to refer to -- hence, 0-byte files. If you change the order, and different files are zeroed out, then your serve

Re: [nyphp-talk] File create ownership

2007-11-04 Thread Christopher R. Merlo
On 11/3/07, Urb LeJeune <[EMAIL PROTECTED]> wrote: Is the ownership of a created file a configurable option? I've never seen this option. What I do when I need my user to own the uploaded files, is I have all the files uploaded directly into my database, and then later (via cron, whateve

Re: [nyphp-talk] Questions to ask at a job interview?

2007-06-28 Thread Christopher R. Merlo
On 6/28/07, David Krings <[EMAIL PROTECTED]> wrote: While that [cleaning legacy code -CRM] is indeed a good exercise it may backfire and make your development team look chaotic and disorganized. It may also give the impression as if it is OK to create ugly code. You or someone on your team appar

Re: [nyphp-talk] Questions to ask at a job interview?

2007-06-28 Thread Christopher R. Merlo
On 6/28/07, Ben Sgro (ProjectSkyline) <[EMAIL PROTECTED]> wrote: Good Morning, In a few days, I will be sitting down with a perspective employee, and I'd like to get some feedback on good programming questions or excercises I can have them work on. I think this mostly depends on what you wa

[nyphp-talk] OT - Java Constants and Switch statements

2007-05-10 Thread Christopher R. Merlo
Friends: Sorry for the OT post, but I'm grading a student's Java project and trying to be fair. If you know lots of things about Java's compiler, especially 1.4 and 1.5, and how it handles the switch statement, please contact me off-list. Thanks. -c __

Re: [nyphp-talk] Strange chars coming from forms

2007-02-12 Thread Christopher R. Merlo
On 2/12/07, Aaron Fischer <[EMAIL PROTECTED]> wrote: I notice some funny characters occasionally when some of my web forms are submitted. Examples include stuff like: Somebody submitted "word" and I get ?word? This example in particular makes me think that maybe someone is copying and pasti

Re: [nyphp-talk] New IT Courses at Nassau CC

2006-12-11 Thread Christopher R. Merlo
On 12/11/06, edward potter <[EMAIL PROTECTED]> wrote: Some good points, I think it would be cool to glue all these applications into what could be a real project. A web site based on the technologies that drives a Wiki that provides online disaster relief updates from volunteers in the field. T

Re: [nyphp-talk] [OT] live slide-show delivery via browser only

2006-10-31 Thread Christopher R. Merlo
On 10/31/06, Allen Shaw <[EMAIL PROTECTED]> wrote: Hi All,I'm looking for a free/OSS (preferably PHP-oriented) solution to thisproblem:  Deliver paged content (eg., typical still-frame slide show) toany number of viewers via the web browser only, while providing only the host/operator with the cont