1

in /logs/access there is always stored all access requests of website, i.e.

2017/02/03 17:51:22 HTTP 200 http://yoursite.com/url/  ............
2017/02/03 17:51:27 HTTP 200 http://yoursite.com/smth/ ............

and so on.

Does server also store $_POST data somewhere? at least, for the last day?

T.Todua
  • 53,146
  • 19
  • 236
  • 237
  • 2
    It sounds like you're lost important data due to a programming error. Next time plan ahead and figure out how to recover from such errors. See also [Best way to log POST data in Apache?](https://stackoverflow.com/questions/989967/best-way-to-log-post-data-in-apache). – CodeCaster Aug 14 '17 at 13:42
  • 1
    Not by default - you've not specified your system info but this question may be relevant - https://stackoverflow.com/questions/989967/best-way-to-log-post-data-in-apache – Tom Aug 14 '17 at 13:43
  • @CodeCaster yes, i've lost important data of transaction.. – T.Todua Aug 14 '17 at 13:50
  • 1
    @T.Todua Well, ask your hoster if he logs the data. He's the only one who can tell you that. – Björn Tantau Aug 14 '17 at 13:53
  • thanks, i'll try.. – T.Todua Aug 14 '17 at 13:59

1 Answers1

4

Usually not unless it is set up explicitly to do that. That is also one of the reasons why login forms should be sent via POST and not GET.

Björn Tantau
  • 1,564
  • 14
  • 13
  • 1) then how login forms should be sent? encrypted by Javascript /decrypted by PHP/ or..? 2) i still believe hostings save that data... – T.Todua Aug 14 '17 at 13:46
  • What is your concern? If you don't trust your hoster host the site on your own server. No matter what kind of encryption/decryption scheme you implemented, unless you transfer the data off the server before decryption your hoster can access it. – Björn Tantau Aug 14 '17 at 13:52
  • i didt say that i dont trust them, i said that they probably save that, and i will try to contact them. – T.Todua Aug 14 '17 at 13:55