Re: [PHP] Backtip operator

2003-07-29 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > Hi to all, any one can tell me, what is the correct way to write secure > applications in php and how is the best way to remove or prevent the > backtip operator. You can use escapeshellarg to prevent this... http://php.net/escapeshellarg >

Re: [PHP] Backtip operator

2003-07-29 Thread Adam Voigt
Well for one thing, when possible don't use the EREGI or REGEXP functions cause they are slower then simple string functions. Second, your script will never get to the bottom two lines, because if those characters do exist, you've already exited, and if they don't, the those two lines don't apply

[PHP] Backtip operator

2003-07-29 Thread desa15
Hi to all, any one can tell me, what is the correct way to write secure applications in php and how is the best way to remove or prevent the backtip operator. I think what my code is very insecure. What is the correct way to do this ??? $Myusername = isset($HTTP_POST_VARS['username']) ? trim(html