note 90218 added to function.get-headers

From: Date: Fri, 10 Apr 2009 19:30:03 +0000
Subject: note 90218 added to function.get-headers
Groups: php.notes 
Request: Send a blank email to php-notes+get-153058@lists.php.net to get a copy of this message
Why use string searching functions at all? Typecast the responseCode to an int and simply see if it falls between a certain range. Using string functions to match a number is just wrong! ---- Server IP: 69.147.83.197 Probable Submitter: 72.204.219.26 ---- Manual Page -- http://www.php.net/manual/en/function.get-headers.php Edit -- https://master.php.net/note/edit/90218 Del: integrated -- https://master.php.net/note/delete/90218/integrated Del: useless -- https://master.php.net/note/delete/90218/useless Del: bad code -- https://master.php.net/note/delete/90218/bad+code Del: spam -- https://master.php.net/note/delete/90218/spam Del: non-english -- https://master.php.net/note/delete/90218/non-english Del: in docs -- https://master.php.net/note/delete/90218/in+docs Del: other reasons-- https://master.php.net/note/delete/90218 Reject -- https://master.php.net/note/reject/90218 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153058) next »