Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-11, 02:19
BOD Member
 
Join Date: Aug 2011
Posts: 76
Default file access problem

Hey!

I've set-up webstats for my site in PHP based on files (it's a long story why) - everything works fine, but sometimes I got the values in files simply erased and it doesn't seem to be any hacking activity...

Can anyone tell me what to do to avoid such problems in future?? I've already created simple backup procedure which checks the value and if the value has been erased it brings back the last value, but still the problems with vanishing data are repeating...

I've already tried ignore_user_abort function but it didn't helped...

Help or just a hint - please!!!!
Reply With Quote
  #2 (permalink)  
Old 10-03-11, 09:29
BOD Member
 
Join Date: Jul 2011
Posts: 68
Default

Probably the issue with logging script. Perhaps it is not storing a value or may be the value is null and that is overwriting the existing value.

You will have to set few debugging “stops” in your script and echo the values to the screen so you can see if they exist before they are are written to your data file.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.