Re: [nyphp-talk] Session timing out

2009-12-30 Thread Kristina Anderson
> On Wed, 30 Dec 2009, Kristina Anderson wrote: > > > Aj., Ms. Waldman wrote the below, not me. > > Yeah - of course I realized a few microseconds after I hit send... > > > > -- > Aj. > No worries, we just don't want to confuzzle anyone trying to follow the thread... :) Kristina _

Re: [nyphp-talk] Session timing out

2009-12-30 Thread Kristina Anderson
> On Wed, 30 Dec 2009, Kristina Anderson wrote: > > > Aj., Ms. Waldman wrote the below, not me. > > Yeah - of course I realized a few microseconds after I hit send... > > > > -- > Aj. > No worries, we just don't want to confuzzle anyone trying to follow the thread... :) Kristina _

Re: [nyphp-talk] Session timing out

2009-12-30 Thread Ajai Khattri
On Wed, 30 Dec 2009, Kristina Anderson wrote: > Aj., Ms. Waldman wrote the below, not me. Yeah - of course I realized a few microseconds after I hit send... -- Aj. ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mail

Re: [nyphp-talk] Session timing out

2009-12-30 Thread Kristina Anderson
Aj., Ms. Waldman wrote the below, not me. I posted the link to http://www.captain.at/howto-php-sessions.php in response. but your link is definitely worth a review too. I spend a lot of time at php.net needless to say. Kristina > On Wed, 30 Dec 2009, Kristina Anderson wrote: > > > > I inheri

Re: [nyphp-talk] Session timing out

2009-12-30 Thread Ajai Khattri
On Wed, 30 Dec 2009, Kristina Anderson wrote: > > I inherited a project where the login code had already been written. > > > > The client asked me to stop the login from timing out the client and login > > them out. > > > > When I looked at the code, I didn't see anything that was calculating ti

Re: [nyphp-talk] Session timing out

2009-12-30 Thread Kristina Anderson
> This is a multi-part message in MIME format. > > > I inherited a project where the login code had already been written. > > > > The client asked me to stop the login from timing out the client and login > them out. > > > > When I looked at the code, I didn't see anything that was calc

[nyphp-talk] Session timing out

2009-12-30 Thread Michele Waldman
I inherited a project where the login code had already been written. The client asked me to stop the login from timing out the client and login them out. When I looked at the code, I didn't see anything that was calculating time logged in. It seems the system is automatically clearing t

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Elijah Insua
> > The good part about errors like this is it's an opportunity to start a > pool to guess when the call from the client saying "Wow, it just started > working again, not sure why!" will come in. > I handle all of my production problems this way. ___ New

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Michele Waldman
Thanks, Leam. I've pretty much bowed out of this project. So, dude aka client sends his hosting provider an email. They say it's the programmer's issue. So, he reboots the http server and the issue is gone. He's got major problems with not enough ram, etc, but is doesn't want to deal with the

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Kristina Anderson
The good part about errors like this is it's an opportunity to start a pool to guess when the call from the client saying "Wow, it just started working again, not sure why!" will come in. Whoever wins buys pizza. Kristina > Ajai Khattri wrote: > > > (and "web site go boom boom" is not a precise

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Leam Hall
Ajai Khattri wrote: (and "web site go boom boom" is not a precise error message :-) Obviously you've not worked with the same folks as I; that's about par for the course... Leam ___ New York PHP Users Group Community Talk Mailing List http://lists

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Leam Hall
From the sysadmin side of my brain. Check the apache server logs. Use an anonomizer to get a different path. Send me the URL, if that's okay, and I can test it out with my local routing. Check server load. CHeck ping response times. He may be having local network burps or routing issues. Happe

Re: [nyphp-talk] Http requests failing

2009-12-30 Thread Ajai Khattri
On Wed, 30 Dec 2009, Michele Waldman wrote: > I wrote a bunch of php using functions like getimagesize and get_headers. > Worked fine. > > Also, sudden the client is calling me saying to code is not working. > > I look at it it's fine. He's on the West Coast and off course I'm on the > East Co

[nyphp-talk] Http requests failing

2009-12-30 Thread Michele Waldman
I wrote a bunch of php using functions like getimagesize and get_headers. Worked fine. Also, sudden the client is calling me saying to code is not working. I look at it it's fine. He's on the West Coast and off course I'm on the East Coast. It seems the http requests are randomly fail

Re: [nyphp-talk] Code Reviews

2009-12-30 Thread Tom Melendez
Hi Peter, On Tue, Dec 29, 2009 at 2:30 PM, Peter Becker wrote: > Looking to get some views (and best practices) on code reviews. I used to > work at IBM on their early version of Websphere (as UI designer, not coder) > where our group had code reviews on a regular basis. I'm now managing a > sm

Re: [nyphp-talk] Code Reviews

2009-12-30 Thread David Krings
On 12/29/2009 5:30 PM, Peter Becker wrote: Looking to get some views (and best practices) on code reviews. At my current work the devs do code reviews once a mod, project, or milestone is completed. The code review takes place before the peer review (show and tell to QA and TW) and other devs

Re: [nyphp-talk] oh how good this list is

2009-12-30 Thread Mitch Pirtle
On Tue, Dec 29, 2009 at 10:05 PM, Anirudh Zala wrote: > On Wednesday 30 December 2009 06:23:23 Gary Mort wrote: >> On Tue, Dec 29, 2009 at 10:45 AM, Mitch Pirtle > wrote: >> > Agreed wholeheartedly on that sentiment - oftentimes when I have a >> > question and need a little nudge, a quick search t

Re: [nyphp-talk] searching inside php source files

2009-12-30 Thread Gary Mort
I would suggest in the future, doing a compare of the old and new file contents and make a note when they are different. That way if something goes wrong, you know which files were changed. On Wed, Dec 30, 2009 at 4:05 AM, Konstantin K wrote: > Hey folks, > > I went with the following and it w

Re: [nyphp-talk] searching inside php source files

2009-12-30 Thread Konstantin K
Hey folks, I went with the following and it works nicely: $path_to_file = 'path/to/the/file'; $file_contents = file_get_contents($path_to_file); $file_contents = str_replace("what_to_replace","replace_with",$file_contents); file_put_contents($path_to_file,$file_contents); courtesy of: http://st