Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Nasir Zubair
as far as I can tell, requests are being made, but the it seems to encounter an XML error in the first few lines of the data that is sent back. Wasn't sure if I would get any useful data out of YSlow with that. Will try it first thing tomorrow. - Nasir On Tue, Dec 16, 2008 at 9:54 PM, Tom Melend

Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Tom Melendez
On Tue, Dec 16, 2008 at 6:07 PM, Nasir Zubair wrote: > Yeah, that's a bummer. YSlow is my first choice for any task like this. But > the site not working in FF is one of the reason I'm looking for another > solution. > What do you mean by "not working in FF"? Things just don't look right or func

Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Nasir Zubair
Yeah, that's a bummer. YSlow is my first choice for any task like this. But the site not working in FF is one of the reason I'm looking for another solution. - Nasir On Tue, Dec 16, 2008 at 8:54 PM, Rolan Yang wrote: > Nasir Zubair wrote: > >> Hi All, >> >> Can anyone suggest an offline program

Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Nasir Zubair
Will try cURL and see how it works. Just browsed through Selenium's site. Interesting concept. I will see how involved the setup is and would it even be worth the effort. Thanks for the suggestions. - Nasir On Tue, Dec 16, 2008 at 8:39 PM, Brent Baisley wrote: > You can try using some unix ut

Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Rolan Yang
Nasir Zubair wrote: Hi All, Can anyone suggest an offline program or utility to profile response time for an intranet website during various visits. I'm trying troubleshooting a peculiar problem with one of our intranet websites in IE6. The site is not fully functional in non-IE browsers (I

Re: [nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Brent Baisley
You can try using some unix utilities like wget to do timings. PHP has CURL commands you can use to automate some testings. There are also testing tools, like Selenium, you can use on any computer to do automated testing. Brent On Dec 16, 2008, at 7:21 PM, Nasir Zubair wrote: Hi All, Ca

[nyphp-talk] [Slightly OT] Profiling Site Response Time

2008-12-16 Thread Nasir Zubair
Hi All, Can anyone suggest an offline program or utility to profile response time for an intranet website during various visits. I'm trying troubleshooting a peculiar problem with one of our intranet websites in IE6. The site is not fully functional in non-IE browsers (IE6 being the company stand

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread John Campbell
On Tue, Dec 16, 2008 at 9:43 AM, Fernando Gabrieli wrote: > if you could change it so it runs every minute (instead of every 10 seconds) > you could use a cron... > You probably want the script to run 10 seconds after it last ran to prevent multiple instances in the case where the script takes mo

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread David Krings
Fernando Gabrieli wrote: if you could change it so it runs every minute (instead of every 10 seconds) you could use a cron... Or craft the script so that it loops five times while waiting ten seconds and then hook that script into cron. David ___ N

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread Rolan Yang
hafez ahmad wrote: Dears, I need to run PHP script every 10 seconds , I can do that with (while true) and sleep(10), but I need to the script always run on Linux machine as service. Any Ideas? While not as elegant as some of the other suggestions above, you could run "screen" to create a v

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread Anthony Wlodarski
On your distro of choice execute "man crontab". Also try "crontab -l" to familiarize yourself with how the cron layout looks. -Anthony From: Fernando Gabrieli Reply-To: NYPHP Talk Date: Tue, 16 Dec 2008 06:43:34 -0800 To: NYPHP Talk Subject: Re: [nyphp-talk]

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread Fernando Gabrieli
if you could change it so it runs every minute (instead of every 10 seconds) you could use a cron... On Tue, Dec 16, 2008 at 5:45 AM, hafez ahmad wrote: > Dears, > > I need to run PHP script every 10 seconds , I can do that with (while true) > and sleep(10), but I need to the script always run o

Re: [nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread Jon Gilkison
#!/usr/bin/php This will launch itself in the background and execute a script every x seconds. HTH, Jon. jon gilkison chief technology officer / massify.com On Dec 16, 2008, at 3:45 AM, hafez ahmad wrote: Dears, I need to run PHP script every 10 seconds , I can do that with (while

[nyphp-talk] Run PHP script as service (every 10 seconds)

2008-12-16 Thread hafez ahmad
Dears, I need to run PHP script every 10 seconds , I can do that with (while true) and sleep(10), but I need to the script always run on Linux machine as service. Any Ideas? Regards, hafez ___ New York PHP User Group Community Talk Mailing List http://