Results 1 to 5 of 5
Thread: strpos() Empty delimiter in...
Threaded View
-
05-02-2011, 12:40 AM #1Aspiring Evangelist
- Join Date
- May 2007
- Posts
- 442
strpos() Empty delimiter in...
I tested this with a blank user agent and can't figure out why the code is logging errors. Any tips?
[01-May-2011 11:42:44] PHP Warning: strpos() [<a href='function.strpos'>function.strpos</a>]: Empty delimiter in /home/site/public_html/file.php on line 41
foreach ($arr as $bot) {
if (strpos($bot, $agent)) {
$bot_here = true;
}
}
Similar Threads
-
Delimiter.us !!!
By rikno in forum VPS HostingReplies: 22Last Post: 11-17-2010, 06:33 PM -
Delimiter gone or just down? (delimiter.us/xvps.us)
By HUGOBLUE in forum Providers and Network Outages and UpdatesReplies: 8Last Post: 11-14-2010, 06:43 AM -
strpos() expects parameter 1 to be string, array given in:
By inco in forum Programming DiscussionReplies: 8Last Post: 10-09-2010, 09:01 PM -
any one know about delimiter.us ??
By elbasha in forum VPS HostingReplies: 6Last Post: 06-09-2010, 11:34 PM -
modsecurity, empty referer, empty user agent
By P Lao in forum Hosting Security and TechnologyReplies: 2Last Post: 06-23-2006, 08:33 PM