POP3 Mail Fetch plugin not PHP4 compatible...

Alexandros Vellis <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Organization National and Kapodistrian University of Athens
Message-ID <[email protected]>
...due to use of function stripos().

Something like this fixes it:

Index: class.POP3.php
===================================================================
--- class.POP3.php      (revision 13909)
+++ class.POP3.php      (working copy)
@@ -645,3 +645,11 @@
     }
 
 }   // End class
+
+// For php4 compatibility
+if (!function_exists("stripos")) {
+    function stripos($haystack, $needle){
+        return strpos($haystack, stristr( $haystack, $needle ));
+    }
+}
+


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.