116 reputation
1
bio website
location
age
visits member for 2 years, 10 months
seen Jun 20 '13 at 12:49

Mar
27
comment Strange network proxy issue
@Brian returns immediately
Mar
27
revised Strange network proxy issue
edited tags
Mar
27
asked Strange network proxy issue
Jan
29
awarded  Student
Jan
29
comment Kill PHP process when connection is closed
Thanks for your answer, unfortunately I cannot use any client side scripting like JS. I need to use only PHP. I also need to measure how long exactly the user had the window open, so waiting for a certain amount of time isn't a good option for me..
Jan
29
comment Kill PHP process when connection is closed
@Khaled Sure, PHP has the following functions: connection_aborted(), ignore_user_abort() and connection_status(). first and last one should indicate if the connection was aborted, supposedly works when a user clicks the 'stop' button, anyways does not work when the user closes the window. the ignore_user_abort() setting (when set to 'false') should exit a script when the connection is closed, but again here, does not work..
Jan
29
asked Kill PHP process when connection is closed
Dec
12
comment Server I/O climbs, bandwidth peaks, server locks, where to start?
@Ladadadada Blocks/sec
Dec
12
comment Server I/O climbs, bandwidth peaks, server locks, where to start?
@quanta Both, for example last time it happened, I had the SWAP IO on 15k and the IO Rate on 16.7k. Edit: did you mean which unit is '10k'? It says for example: IO Rate Max: 16741.30 (that's the peak).
Dec
12
asked Server I/O climbs, bandwidth peaks, server locks, where to start?
Dec
8
comment Allow apache user to edit files
So let's say I have a wordpress installation on public_html, and I want to give access to www-data for the wp-content folder, I should run chown -R www-data:websitename ~/public_html/wp-content/ and that will allow apache to edit the files within wp-content, correct? What about when I add files to wp-content, will www-data have permissions to edit these without me running the chown command again?
Dec
8
asked Allow apache user to edit files