Re: [PHP-INSTALL] multi threading

2008-07-09 Thread kranthi
tnkz for the reply... but i intended to know bout performance/speed aspects(srry if i misused the term "multi threading" ter) i m afraid that this post is going towards security issues... wat i wanted to know is which is better (in terms of speed and performance) - /login.php?action=profi

Re: [PHP-INSTALL] multi threading

2008-07-08 Thread mike
Actually I'd change that slightly: 1) Filter/sanitize input (php.net/filter works great for this) 2) Sanity check input (bounds/type checking and then check if it is legit against the datasource) a) I use intval() when I expect numeric input. It will scrub out anything that isn't an integer. Depen

RE: [PHP-INSTALL] multi threading

2008-07-08 Thread Max Thayer
From: kranthi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 7:46 AM To: php-install@lists.php.net Subject: [PHP-INSTALL] multi threading hi all, i m using a single php script to do several jobs using if statements(for example /login.php?action=profile instead of profile.php). but one

[PHP-INSTALL] multi threading

2008-07-08 Thread kranthi
hi all, i m using a single php script to do several jobs using if statements(for example /login.php?action=profile instead of profile.php). but one of my friend said that since php is unable to handle multi threads this is not advisable. how far is it true