Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Vincent Vandemeulebrouck
, that you run when you move your script from your development server to your production server. And anyway, this would not be significant, unless you recompile a custom PHP version where you remove the comment parsing. This would be intereting if your code was already optimized... Vincent

Re: [PHP] FAQ a good idea?

2002-11-22 Thread Vincent Vandemeulebrouck
An about register globals post bi-weekly would eliminate tons of questions I reckon. But maxim is also right. People should find their own info and a faq could dominate the group... The fact you must call session_start before sending anything to the browser is another FAQ that would help. An

[PHP] catching a robot or spider - asking too

2002-11-19 Thread Vincent Vandemeulebrouck
include to make the page correct (if I even have to). Anyway, the real question behind is : Is there a good way to handle the user agent info? Vincent Vandemeulebrouck http://www.leguerriersorde.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] check for \n

2002-11-18 Thread Vincent Vandemeulebrouck
more goodies there. Or, try the following: $sql = SELECT id,ST FROM ccl.ccl_main where ST like '%s\n%s' ; I am not 100% sure it will work with 'text' field, but it should. Vincent Vandemeulebrouck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net