Re: [PHP] Should I check imput for bad chars in this case?

2012-04-27 Thread ma...@behnke.biz
Simon Schick simonsimc...@googlemail.com hat am 27. April 2012 um 00:47 geschrieben: On Thu, Apr 26, 2012 at 3:59 PM, mirrys.net mirrys@gmail.com wrote: Thank you for your help Marco Simon. No doubt, your code is much cleaner and better. One more question, without any filter or

Re: [PHP] Should I check imput for bad chars in this case?

2012-04-26 Thread ma...@behnke.biz
mirrys.net mirrys@gmail.com hat am 26. April 2012 um 14:15 geschrieben: Hi all, this is more question than real problem (I hope :)). I include this script into my pages to log IPs of visitors (they are saved info txt file and send to e-mail later): You definitly should. There were

Re: [PHP] Should I check imput for bad chars in this case?

2012-04-26 Thread Simon Schick
On Thu, Apr 26, 2012 at 2:15 PM, mirrys.net mirrys@gmail.com wrote: Hi all, this is more question than real problem (I hope :)). I include this script into my pages to log IPs of visitors (they are saved info txt file and send to e-mail later): function getIPadress() {    if

Re: [PHP] Should I check imput for bad chars in this case?

2012-04-26 Thread mirrys.net
Thank you for your help Marco Simon. No doubt, your code is much cleaner and better. One more question, without any filter or something could be my original code somehow compromised (mean some security bug)? Or rather was a major problem in the possibility of a script crash? On 4/26/12,

Re: [PHP] Should I check imput for bad chars in this case?

2012-04-26 Thread Simon Schick
On Thu, Apr 26, 2012 at 3:59 PM, mirrys.net mirrys@gmail.com wrote: Thank you for your help Marco Simon. No doubt, your code is much cleaner and better. One more question, without any filter or something could be my original code somehow compromised (mean some security bug)? Or rather